What is pwd Command in LInux
- The abbreviation of pwd command is present working directory. [or]
- The pwd is an acronym for print working directory.
- The pwd command is considered as one of the most frequently used commands on Linux and UNIX System.
- To view the present working directory.
- The pwd command (print working directory) is used to output the path of the current working directory.
Command options can usually be combined or listed separately.
Unix & Linux commands have the general format:
command [options] [item]
Syntax Of pwd Command
- The syntax for the pwd command is: pwd
Examples Of pwd Command
To print current working directory, enter in your Linux Terminal:
$ pwd
Sample outputs:
/home/LinuxHelpers
the computer prints out /home/LinuxHelpers, that means that the directory the user is currently in is /home/LinuxHelpers.
No comments:
Post a Comment