Linked by Tony Steidler-Dennison on Thu 10th Jul 2008 16:37 UTC
Linux The Linux desktop has come a long, long way, but there are still times when I have to use the command line. (I am a hardcore user, after all.) But even though I'm used to typing, spending hours upon hours with my fingers at the keyboard, I still grow tired of typing the same commands over and over. To reduce that tedium, I always add aliases to my .bashrc file.
Thread beginning with comment 322355
To read all comments associated with this story, please click here.
some more
by jonas on Thu 10th Jul 2008 16:48 UTC
jonas
Member since:
2005-07-08

some that i've found useful and that were popular at my previous workplace:

Make common administration tasks go through sudo without having to type sudo:

alias dpkg="sudo dpkg"
alias apt-get="sudo apt-get"
alias modprobe="sudo modprobe"

Serve files from CWD via a webserver:

alias serve="python2.5 -m SimpleHTTPServer"

Color stuff; grep w/ less that doesn't mess it up

alias ls="ls --color=auto -F"
alias grep="grep --color=auto"
alias less="less -R"

open up files in existing vim session

alias rvim="gvim --remote"