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