Changing Directories

You use the cd (change directory) command to change directories:

■ i■ . On most Linux systems, your prompt will tell you what directory you are in (depend

; ^ i".-.,". .■¿•CV-.w-j ing on the setting you've used for the PS1 environment variable). However; if you ever explicitly need to know what directory you are in, you can use the pwd command to identify the working directory for the current process (present working directory, hence pwd).

Was this article helpful?

0 0

Post a comment