create new directory linux in location code example Example 1: linux create folder mkdir [folder_name] Example 2: create directory linux mkdir /tmp/newdir