brace

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 …

This is a very strange shell trick that allows you to have a set of parameters to a Linux command that are separated by single quotes. [[email protected] ~]$ df -h’l’a’T’ Filesystem Type Size Used Avail Use% Mounted on rootfs rootfs 216G 75G 130G 37% / proc proc 0 0 0 – /proc sysfs sysfs 0 …

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 ] [ $ ]-&gt; ls -hula [a-z]*.html -rw-r–r– …