Tip #871 Ignore an alias
A '\' mark before a command will ignore aliases. For example, you have aliasRead more »
- TAGS:
- alias
Tip #605 Un-alias a command
I used to have 'em' as an alias for Emacs. One day, I wanted to edit a file and typed 'rm' instead of 'em', losing the file I had no backup of. So I set a common alias to keep me focused.Read more »
- TAGS:
- alias
Tip #510 iso2cd
My little "iso2cd" alias. Not clean, but handy. The Burning device will be auto detected.example call:
iso2cd debian_lenny_final.iso
alias iso2cd="cdrecord -s dev=`cdrecord --devices 2>&1 | grep "\(rw\|dev=\)" | awk {'print $2'} | cut -f'2' -d'=' | head -n1` gracetime=1 driveropts=burnfree -dao -overburn -v" Read more »
Tip #502 Counts files in the current directory and subdirectory
Counts files in the current directory and subdirectoryRead more »
Tip #258 List non-system users
I use the following to list non-system users. It should be portable though won't work on systems without the getent command.Read more »
Tip #177 Copy and paste from the command line
Add the following alias and function to your profile to be able to copy and paste files at the command line:Read more »
Tip #162 rc-service alias
Create rc* alias for each init.d script. (can be include at /root/.bashrc)Read more »
- TAGS:
- alias
Tip #157 ssh proxy forwarding
ssh -l <login> -L <port>:<destination:port> <proxymachine> <local addy>example
ssh -l foo -L 5000:192.168.5.2:443 192.168.1.1 https://localhost:5000/
Then go to https://localhost:<port>/ to get to destination's website; through the proxy machine.
Read more »
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs