Showing posts with label CLI. Show all posts
Showing posts with label CLI. Show all posts

Saturday, 9 March 2013

Linux CLI gems

Was alerted to this 'shell script' on github that contains several lines of linux commandline gems. That's how I store my code snippets too so that I can see them in contextual colors when you open in VIM or some other editor that is aware of the content (see example below)


# remove spaces from filenames in current directory
rename -n 's/[\s]/''/g' *



another good resource for picking up new CLI magic is at commandlinefu.com

Enjoy!

Datanami, Woe be me