Que coisas úteis podem ser adicionadas ao .bashrc? [fechadas]

142

Existe alguma coisa que você não pode viver sem e vai tornar minha vida muito mais fácil? Aqui estão alguns que eu uso ('espaço em disco' e 'pastas' são particularmente úteis).

# some more ls aliases
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias woo='fortune'
alias lsd="ls -alF | grep /$"

# This is GOLD for finding out what is taking so much space on your drives!
alias diskspace="du -S | sort -n -r |more"

# Command line mplayer movie watching for the win.
alias mp="mplayer -fs"

# Show me the size (sorted) of only the folders in this directory
alias folders="find . -maxdepth 1 -type d -print | xargs du -sk | sort -rn"

# This will keep you sane when you're about to smash the keyboard again.
alias frak="fortune"

# This is where you put your hand rolled scripts (remember to chmod them)
PATH="$HOME/bin:$PATH"
    
por gyaresu 07.05.2009 / 12:03

0 respostas