Bash (bashrc)
Arquivo de configuração do Bash
Categoria: Miscelânea
Software: Bash
[ Hits: 6.547 ]
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"
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
Como renomear arquivos de letras maiúsculas para minúsculas
Imprimindo no formato livreto no Linux
Vim - incrementando números em substituição
Efeito "livro" em arquivos PDF
Como resolver o erro no CUPS: Unable to get list of printer drivers
Firewall iptables - Rotear Interface Cliente (3)
Trocando modo IDE por AHCI (3)
como fazer overclock de gpu e memoria na radeon hd 7400m com catalyst (8)
Desempenho abaixo do esperado - travadas e congelamento do sistema ope... (7)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta