If you can see this check that

next section prev section up prev page next page

Creating Directories

To create a new directory as a sub-directory of your home directory, you issue the mkdir command. After you create a directory, you can move or copy files there, and also create sub-directories within it. For example, to create a sub-directory in your current working directory named projects, type:

% mkdir projects
% ls -F
myfile project/

The following diagram shows the resulting directory structure.

To create a new directory named 'stuff' under the projects directory, type

mkdir projects/stuff

Centos 7 intro: Paths | BasicShell | Search
Linux tutorials: intro1 intro2 wildcard permission pipe vi essential admin net SELinux1 SELinux2 fwall DNS diag Apache1 Apache2 log Mail
Caine 10.0: Essentials | Basic | Search | Acquisition | SysIntro | grep | MBR | GPT | FAT | NTFS | FRMeta | FRTools | Browser | Mock Exam |
CPD: Cygwin | Paths | Files and head/tail | Find and regex | Sort | Log Analysis
Kali: 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7a | 8a | 8b | 9 | 10 |
Kali 2020-4: 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7 | 8a | 8b | 9 | 10 |
Useful: Quiz | Forums | Privacy Policy | Terms and Conditions

Linuxzoo created by Gordon Russell.
@ Copyright 2004-2023 Edinburgh Napier University