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