Each time you're going to perform some file or directory operation in Unix, it helps to be aware of where exactly in the filesystem tree you are.
To confirm your current directory, you can use a pwd command.
pwd – current directory in Unix
The syntax of pwd command is very simple – it requires no parameters, and returns you a full name of your current directory:
ubuntu$ pwd /home/greys
That's all there is to this command! If I use cd command to naviagate into a different directory, pwd will obviously confirm my move:
ubuntu$ cd /usr/bin ubuntu$ pwd /usr/bin