Showing posts with label unix. Show all posts
Showing posts with label unix. Show all posts

Wednesday, 4 January 2012

A nice one liner to replicate the directories owner and groups

find . -type d|awk '{print "ls -ld "$1}'|ksh|awk '{print "chown "$3"."$4" "$9}'

Tuesday, 23 February 2010

My 10 UNIX Command Line Mistakes

A very good (and tragicomic) article. Sometimes we play down the importance of an enter in the cli.

One of my greatest errors was a typo in a Solaris... crontab -r it's not the same as crontab -e (despite the position of the keys!)

Link here