create a folder using linux command code example Example 1: create directory linux mkdir /tmp/newdir Example 2: make directory in linux mkdir [option] dir_name