Articles
- rm exclude

With help from Google and Linux forum, found a cool command that will delete everything else but not the folder or file name in the specified field behold the command of destiny! rm -r `ls | grep -v ‘snapshots’` Make sure that around the piped ls command you have tilda and a single quote around [...]

No comments

- Generate 1000 random words using UNIX

I need 1000 random words in non-alphabetical order, don’t ask why… I just do.  So after looking though the ‘bin‘ folder for a program that might generate these words and found nothing, I decided to head to the internet.  This is where I found out about the ‘words‘ file which is located in ‘/usr/dict/words‘ this [...]

No comments