Owner is Anshu Raj
Friday, November 15, 2024
Thursday, November 14, 2024
Wednesday, November 13, 2024
Tuesday, November 12, 2024
Friday, November 8, 2024
Wednesday, October 16, 2024
Linux Root Directory -additional command (pwd,ls,cd)
The first directory in the file system is called the root directory.
The root directory contains files and subdirectories, Which contains more files and subdirectories and so on.
cd / : it is used to go to the root directory in a linux.
Root directory is represented as forward slash ‘/’.
cd /root : it is used to go to the root user’s home directory.
cd or cd ~ : if you want to exit from the root user account .
Then follow these commands either cd or cd ~ .
Some important command:
pwd: It is used to check your current working directory.
cd: It is used to change the directory.
ls: This command gives you the list of content of directory.
Friday, July 19, 2024
Subscribe to:
Comments (Atom)
-
The first directory in the file system is called the root directory. The root directory contains files and su...
-
What should we write ? Don't write everything in this generation, only write important things and understand everything beca...




