Basic Unix Commands - directory command | os cs8461 | 4th sem of cse | operating system lab | QT

Опубликовано: 23 Октябрь 2024
на канале: Quick Through
493
12

operating system laboratory for cse engineering playlist
   • Operating System  

Basic Unix Commands - directory command | os cs8461 | 4th sem of cse | operating system lab | QT

Directory commands
Command Function
Pwd Path of the present working directory
mkdir dir A directory is created in the given name under the current directory
mkdir dir1 dir2 A number of sub-directories can be created under one stroke
cd subdir Change Directory. If the subdir starts with / then path starts from
root (absolute) otherwise from current working directory.
cd To switch to the home directory.
cd / To switch to the root directory.
cd .. To move back to the parent directory
rmdir subdir Removes an empty sub-directory.