Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Prompt
- PS1="\n\u@\h:\w\n# "
- alias df='df -h'
- alias du='du -h'
- ## Colorize the ls output ##
- alias ls='ls -h --color=auto --group-directories-first'
- ## Use a long listing format ##
- alias ll='ls -la'
- alias l='ll'
- ## Show hidden files ##
- alias l.='ls -dh .* --color=auto'
- alias lt='ll -t'
- ## get rid of command not found ##
- alias cd..='cd ..'
- ## a quick way to get out of current directory ##
- alias ..='cd ..'
- alias ...='cd ../../../'
- alias ....='cd ../../../../'
- alias .....='cd ../../../../'
- alias .4='cd ../../../../'
- alias .5='cd ../../../../..'
- ## Colorize the grep command output for ease of use (good for log files)##
- alias grep='grep --color=auto'
- alias egrep='egrep --color=auto'
- alias fgrep='fgrep --color=auto'
- # Start calculator with math support
- alias bc='bc -l'
- # Generate sha1 digest
- alias sha1='openssl sha1'
- # Create parent directories on demand
- alias mkdir='mkdir -pv'
- # Command short cuts to save time
- alias h='history'
- alias j='jobs -l'
- # Create a new set of commands
- alias path='echo -e ${PATH//:/\\n}'
- alias now='date +"%T'
- alias nowtime=now
- alias nowdate='date +"%d-%m-%Y"'
- # Set vim as default
- alias svi='sudo vi'
- # Stop after sending count ECHO_REQUEST packets #
- alias ping='ping -c 5'
- # Do not wait interval 1 second, go fast #
- alias fastping='ping -c 100 -s.2'
- # Show open ports
- alias ports='netstat -tulanp'
- # Resume wget by default
- alias wget='wget -c'
- # top is atop, just like vi is vim
- alias top='atop'
- # compression
- alias tar='\tar -zcvf'
- alias untar='\tar -zxvf'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement