File system common commands: pwd command
In order to facilitate the understanding and use of Ma GE students, Ma GE linux operation and maintenance team specially made a "complete collection of Ma GE Linux commands", which is a collection of commonly used Linux commands used by Ma GE education students in their work, which are refined by Ma GE's founding team.
This issue is the "complete Collection of Ma GE Linux commands" No. 01, and the Linux commands introduced in this issue are commonly used commands in the file system: pwd commands.
Definition of the 1.pwd command
There is an unspoken rule on the linux system. Generally speaking, the name of a command is the abbreviation of its word, which is usually full path on windows, but unix and linux usually use acronym.
Pwd means printing working directory.
The role of the 2.pwd command
-what do you mean.
-displays the working directory, which, to put it bluntly, prints the current directory
Use of the 3.pwd command
For example, if we execute pwd on the current directory, you can see:
~] # pwd
He told us it was in / root.
Of course, let's change to another directory and use pwd, which can also display the current path. Pwd is a very simple command, and it doesn't even have any extra options to use, so we won't introduce him any more.