≡ Menu

PWD variable

Linux / Unix Shell Script: Get The Current Directory

I am working on a shell script. I need to find out the current working directory. How do I get the current working directory under Bash or Ksh shell running on Linux or Unix like operating systems?
[click to continue…]

Sysadmin because even developers need heroes!!!