linux make dir code example Example 1: linux create folder mkdir [folder_name] Example 2: create directory linux mkdir /tmp/newdir