-
Linux command that creates a new subdirectory
Transfered from Linux Config:
Question:
Give the exact command that creates a new subdirectory called TEMP?
Answer:
Creating directories on a linux system is done by use of mkdir command.
NOTE: linux is case sensitive. Therefore, temp and TEMP are two distinct directories.
The command above will create a directory called TEMP within your current working directory.
will create a TEMP directory as a subdirectory of /tmp
Code:
mkdir -p /tmp/test/TEMP
will create a test as a subdirectory of /tmp/ and TEMP directory as a subdirectory of /tmp/test
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules