Search This Blog

Saturday, June 05, 2010

Aliasing and Functions : This will make things simpler

Suppose you want to delete all *.* files recursively. you can alias

alias clean="rm -f `find . -name "*.*"`" (Take Care while using dangerous rm command at any time while navigating through unix)

if you need to go to a lengthy path every time for eg
cd src/best/value/support/com many times put an alias

alias in=" cd src/best/value/support/com "

No comments: