Basics
Create a new file
touch test
# Create 5 files using wildcards:
$ touch file{1..5}.txt
Create a new directory
mkdir mydir
Using mkdir with the -p parameter can create the parent directory if the parent directory does not exist. We create multi-level directories (this is useful when installing software and configuring installation paths):
$ mkdir -p father/son/grandson
