[kanchilug] 1D1C - pwd

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx
  • Date: Fri, 6 Jan 2023 06:00:00 +0530

pwd - print name of current/working directory

To get working directory path
$ pwd

To print the physical working directory and avoid listing symbolic links
it prints the actual path.
$ pwd -P

To print the working directory path, including any symlinks
it prints the symbolic path.
$ pwd -L

To print $PWD Variable Contents
$ echo $PWD



regards,
T.Dhanasekar

Other related posts:

  • » [kanchilug] 1D1C - pwd - Dhanasekar