By
Published: 29 May 2007
What is the difference between "$ PATH" and "pwd"?
PATH is an environment variable that is usually put in your .profile, which indicates the directories that the shell will search to find the command that you typed in. Here is what you would typically see:
$ echo $PATH
/bin:/usr/bin:/usr/local/bin:/home/testuser:.
The pwd (print-working-directory) command will display the output of your current working directory. It is a build-in command on many shells.
Dig Deeper on Linux servers
Learn which makes more sense for your enterprise: building your own cloud-based diagnostic tooling or purchasing an existing product. Expert Ken ...
Continue Reading
Learn about Helm Charts and how Kubernetes supports a microservices architecture. Expert Ken Milberg discusses what you need to know before delving ...
Continue Reading
As blockchain matures, an ecosystem of tools continues to sprout up around it. Learn how these offerings, including the Hyperledger Fabric Client SDK...
Continue Reading