I have an install command for a particular package contained within a folder

It's a package for encryption and security

Could someone explain for me exactly what 'pwd' might mean?

./install_***.sh `pwd`

I am guessing shorthand for password?

Please advise...

1 Answer 1


pwd is a simple command that outputs your Present Working Directory (apparently the command stands for Print Working Directory), or whatever folder you've cded into. This is used in backticks, which instructs bash to execute pwd and then pass it as an argument to ./install_***.sh. All it's doing is simply telling the installation script where you are on your hard drive. If you were in the folder, for example, /home/billy/Documents when you executed the script, this would be the exact same as executing

./install_***.sh /home/billy/Documents

It's not a placeholder put in by the documentation or anything, it's an actual command.


As mentions in comments by @ThomasWard, backticks are, at least sort of, deprecated, and you should use "$(pwd)" instead

  • 2
    Completely accurate, but whatever package or guide you're using is using older (and discouraged) approaches to getting output. ./install_***.sh "$(pwd)" is probably a safer bet, but otherwise your answer is accurate :)
    – Thomas Ward
    Jan 23, 2021 at 0:41
  • The acronym stands for "Print Working Directory". Source: man pwd
    – Levente
    Jan 23, 2021 at 2:58
  • @ThomasWard Could you please explain why this is discouraged? Why would '$' be a safer bet?
    – BingoDingo
    Jan 23, 2021 at 4:54
  • @ThomasWard Backticks are POSIX compliant and can be double-quoted.
    – Quasímodo
    Jan 23, 2021 at 11:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .