Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 16042
Total Votes: 159 votes
Average Rating: 2.86 out of 5
Description:The mkdir (make directory) command is used to create directories.
[ Steve@localhost Steve ] $ mkdir prog-files
[ Steve@localhost Steve ] $ -
The sub-directory, prog-files, is created under the current directory. However, the new directory does not become the current directory. Complete path names can be specified with mkdir.
[ Steve@localhost Steve ] $ mkdir /tmp/prog-files
[ Steve@localhost Steve ] $ _
In the above example, the directory, prog-files, is created under the /tmp directory.