how to make directory in linux command line code example Example 1: create directory linux mkdir /tmp/newdir Example 2: make directory in linux mkdir [option] dir_name