Useful Linux shell tricks. Using Brace expansions to create folders.

The Linux command-line offers many useful methods of creating many folders on your computer at once.  This command will create a few folders on your system named one,two,three,four and create the folders five,six,seven,eight within each folder created. ~$ mkdir -p {one,two,three,four}/five/six/seven/eight~$ mkdir -p {one,two,three,four}/five/six/seven/eight This command will create four folders named one,two,three,four and put the … Read more

Some more excellent BASH shell tricks for Ubuntu and Linux Mint.

How to filter the output of ls to only find certain files in a folder. This example will only return files that are made up of letters and end in the *.html extension. [ [email protected] ] [ Jobs 0.PWD: ~/Documents.bash 4.2.36. ] [ 9 ] [ 11:54:15 ] [ $ ]-> ls -hula [a-z]*.html -rw-r–r– … Read more