A subdirectory is under the root of a drive.
A subdirectory.
CD to where you want the subdirectory, then enter MKDIR <directoryname>
the prefix is different
\ and >
MD subdir
The command is "mkdir".
/sbin
Try the TREE command at the DOS prompt
Root is the parent directoryandsubdirectory is the branch of them.
MD nameofdirectory. MD stands for Make Directory.
In order to zip a subdirectory in Linux you would use the zip command with the recursive flag to specify that it should add all files under that directory into the zip file. The command would then be zip -r .zip .
$ rm -rf *NOTE:I would strongly recommend that you verify your PWD is exactly where you want it to be before the executing the above command, otherwise, depression, dispair or sadness may follow.