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