Working in the Wrong Directory

Working in the Wrong Directory

If you use separate directories to organize your files, make sure that you are in the proper directory when you begin working. Otherwise, UNIX won’t find the files you want to work on.

To find out which directory you’re in, type pwd. Remember: This command stands for print working directory.

If you’re really lost, you can type whoami. This command tells you your username.

To move back to your home directory, type cd.

 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows