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:
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
$ 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 administration tools
Related Q&A from Kenneth Milberg
Unix-to-Linux migration expert Ken Milberg describes how virtualization, support, clustering and more fit into the migration of an IT infrastructure ...continue reading
A reader new to Linux wonders about which distribution is recommended for installing Nagios and what Nahant and Tikanga mean.continue reading
Documentation for Red Hat Enterprise Linux 5 covering checking system performance, tuning, kernel configuration and extending the file system exists ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.