bash (bashrc)
Mundando a cor das letras no bashrc
Categoria: Console
Software: bash
[ Hits: 20.563 ]
Por: Alberto Marques Barbosa
Este arquivo mostra como mudar a cor das letras configurando o bashrc
#.bashrc
# editar o arquivo .bashrc para cada usuario
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
Normal="\[\{FONTE}33[0m\]"
Vermelho="\[\{FONTE}33[1;31m\]"
Verde="\[\{FONTE}33[1;32m\]"
Amarelo="\[\{FONTE}33[1;33m\]"
Azul="\[\{FONTE}33[1;34m\]"
Roxo="\[\{FONTE}33[1;35m\]"
Ciano="\[\{FONTE}33[1;36m\]"
Branco="\[\{FONTE}33[1;37m\]"
PS1="$Branco[$Vermelho\u$Branco@$Verde\h$Azul\W$Branco]$Ciano\\$ $Normal"
export PS1
Gentoo binário em 2026: UEFI, LUKS, Btrfs e Systemd
Trabalhando Nativamente com Logs no Linux
Jogando Daikatana (Steam) com Patch 1.3 via Luxtorpeda no Linux
LazyDocker – Interface de Usuário em Tempo Real para o Docker
Forçar resolução teimosa no Wayland
Como fazer um pendrive bootável utilizando a ferramenta Rufus
Servidor vs Computador Convencional
Como administrar uma rede Linux através da ferramenta Webmin
Alguém aqui mexe com arduino? (2)
Audio Failure on Acer Aspire AS4738 – Intel 5 Series HD Audio (Linux M... (1)









