1 |
Creating Directory/Folder |
mkdir <folder-name> |
2 |
Removing Directory |
rmdir <directory/folder name> |
3 |
To know present directory |
pwd |
4 |
Moving directory / Cut |
mv <old-dir> <new-dir> |
5 |
Copy directory / Copy |
Cp -R <dir> <new-dir-location> |
6 |
To goto home directory |
cd |
7 |
To goto particular directory |
cd </directory/subdir-directory-location> |
8 |
To go backward directory |
cd .. |
9 |
Create directory within another dir |
mkdir -p <dir1/dir2/dir3> (inside dir3 dir will be created) |
10 |
Remove Directory inside directories |
Rmdir -R <directory name> |
11 |
To see hidden directories |
dir -a |
12 |
To see which user created dir |
dir -l –author |