Bash (bashrc)
Arquivo de configuração do Bash
Categoria: Miscelânea
Software: Bash
[ Hits: 6.559 ]
Por: Perfil removido
Apenas meu bashrc com 3 alterações, além das que vieram no CL8.
# /etc/bashrc # System-wide functions and aliases # Environment configuration on /etc/profile #PS1="[\u@\h \W]\\$ " PS1="\[# /etc/bashrc
# System-wide functions and aliases
# Environment configuration on /etc/profile
#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"
alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[5;40;32m\]\u\[# /etc/bashrc
# System-wide functions and aliases
# Environment configuration on /etc/profile
#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"
alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[0;40;33m\]@\[# /etc/bashrc
# System-wide functions and aliases
# Environment configuration on /etc/profile
#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"
alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[1;40;34m\]\h\[# /etc/bashrc
# System-wide functions and aliases
# Environment configuration on /etc/profile
#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"
alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[0m\]\w\[# /etc/bashrc
# System-wide functions and aliases
# Environment configuration on /etc/profile
#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"
alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[1;40;33m\]\\$\n" alias which="type -path" alias l="ls -laF --color=auto" alias ls="ls -la --color=auto" alias m="minicom -s -con -L" alias minicom="minicom -s -con -L" alias tm="tail -f /var/log/messages" alias tmm="tail -f /var/log/maillog" alias tms="tail -f /var/log/secure" alias cds="cd /etc/rc.d/init.d && ls" alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls" alias ufd="cd /mnt && umount floppy && ls" alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy" alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom" alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1"
Enviar mensagem ao usuário trabalhando com as opções do php.ini
Meu Fork do Plugin de Integração do CVS para o KDevelop
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Criando uma VPC na AWS via CLI
Multifuncional HP imprime mas não digitaliza
Dica básica para escrever um Artigo.
Como Exibir Imagens Aleatórias no Neofetch para Personalizar seu Terminal
Função que recebe 20 números inteiros e retorna o 6° maior elemento do... (3)
Partição e erro fatal do disco (9)
Pfsense com Squidguard transparente bloqueando Skype (0)