I am looking for some more neat tricks you can use with a .bash_aliases file.
Here is my user .bash_aliases file. Post yours.
## tinwhistle box ~/.bash_aliases file for user
# User specific aliases and functions
# Streaming Radio Stations
alias kdox='mplayer http://wms2.mainstreamnetwork.com/kdox-am &'
alias wabc='mplayer http://69.28.128.148:80/stream/citadelcc_WABC-AM &'
# Clear the terminal
alias cls='clear'
# Start X server
alias x='startx'
# Change bash prompt. See the article
# http://www-106.ibm.com/developerwork.../l-tip-prompt/
export PS1='\d \@ \[\e[32;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w\[\e[32;1m\] $ \[\e[0m\]'
# Monitor logs
# alias syslog='sudo tail -100f /var/log/syslog'
# alias messages='sudo tail -100f /var/log/messages'
# Keep 1000 lines in .bash_history (default is 500)
export HISTSIZE=1000
export HISTFILESIZE=1000
#Stop bash from caching duplicate lines.
HISTCONTROL=ignoredups
# Disk free in human terms
alias df='df -h'
# List paths
alias path='echo -e ${PATH//:/\\n}'
# Upgrade/update system
# alias upgrade='sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove'
# Encode wav files to flac and delete the wav file
alias zipwavd='flac -V --best --delete-input-file *.wav'
# Encode wav files to flac and keep the wav file
alias zipwav='flac -V --best *.wav'
# Decode flac files to wav format
alias uzipwav='flac -d -V *.flac'
# Encode wav to ogg
# alias oggem=oggenc -n *.wav -o *.ogg
# Allow local users to use my X session
# xhost +local:
# I can't remember the new gnome command!
alias gtop='/usr/bin/gnome-system-monitor'
# Alter the ls command
alias ll='ls --color --time-style="+%b %d %Y %H:%M"'
alias ls='ls -ac'
alias lls='ls -lac'
alias la="ls --color -lAGbh --time-style='+%b %d %Y %H:%M'"
# Set background in Fluxbox
# alias bg='fbsetbg -a /home/phil/Pictures/kells/kelljesusarrest.gif'
# alias bg='fbsetbg -a /home/phil/Pictures/kells/KellsFol114rArrestOfChrist.jpg'
# alias bg='fbsetbg -a /home/phil/Pictures/kells/KellsFol007vMadonnaChild.jpg'
# alias bg='fbsetbg -a /home/phil/Pictures/kells/4evangelists.jpg'
# Become system administrator
alias god='sudo -i'
alias root='sudo -i'
# Because less is more and more is less
alias more='less'
# xterm
# alias xterm='xterm -bg black -fg green'
# Launch links or w3m with my linux links page
alias web='links2 -g /home/phil/bookmarks.html'
alias wweb='w3mmee /home/phil/bookmarks.html'
# For nano editor
alias nano='nano -w'
# Start gkrellm after stopping it in x
alias gkrellm='gkrellm -w &'
# Kill mplayer
alias kmp='killall -9 mplayer & killall -9 gnome-mplayer'




Adv Reply





Bookmarks