Create multiple directories with a single command in Linux

Using the bash shell you can create multiple directories with a single command.


Relative to the current directory:

mkdir ./{project,target}

Relative to a path and create any parent directories that do not exist:

mkdir -p ~/git/myrepository/{project,target}

Changing the default start-up size of the Gnome terminal

I am running Linux Mint on a laptop with a wide screen and high resolution. It has been annoying me that when I start a GNOME terminal it start with the default terminal size of 80×24, which just does not work with my high resolution. The scripts that I am running has rather long logging information, which line wraps and makes it hard to read. Every time I start a terminal the first thing I would do was change the size of the window with the mouse. Continue reading