how to create a new directory in linux terminal code example Example: create directory linux mkdir /tmp/newdir