Categories
Linux Tutorial Series

Linux Tutorial Series – 27 – The pwd command

Here is the video version, if you prefer it:

pwd prints the name of the current working directory. This is useful when changing directories with cd and you want to know where you are. For example:

mislav@mislavovo-racunalo:~/Documents$ cd django-rest-tutorial

mislav@mislavovo-racunalo:~/Documents/django-rest-tutorial$ pwd

/home/mislav/Documents/django-rest-tutorial

pwd stands for “print working/current directory”. (“pwd(1) – Linux man page,” n.d.)⁠

Hope this was useful!

References

pwd(1) – Linux man page. (n.d.). Retrieved January 5, 2020, from https://linux.die.net/man/1/pwd

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published. Required fields are marked *