Monthly Archives: November 2010

Cool unix trick

I learned about this one from F. Ryan Johnson’s page here- http://www.ece.cmu.edu/~ryanjohn/linux-hacks.html : Bash shell command:¬† !$ Say, before changing the directory, I check the contents: ll /random_directory/version21/configFiles/current and then I wan to change to that directory. Instead of cd /random_directory/version21/configFiles/current I can use: cd !$ This does¬† cd /random_directory/version21/configFiles/current. So bash replaces !$ with […]
Posted in Uncategorized | Tagged , , | Leave a comment