Join us and get access to thousands of tutorials and a community of expert Pythonistas.
This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.
Locating Your Working Directory - Linux Terminal
00:00 Now that you have the terminal open, how do you know where in the terminal you are? Right. There is a file system that you kind of need to be fairly aware of when working with the terminal, and by default, it kind of has this prompt right here.
00:16
So with this is, it’s kind of spelling out my name, gahjelle @ and ducky is the name of my computer. And then there’s a small ~ (tilde) right there, and that just actually points out where we are on the file system.
00:31 So, so terminals kind of work with this notion of a working directory, and when you run a command, it kind of applies to that directory. So at the moment, it’s just my home directory.
00:43
Okay. We could also just run a quick command to see this. pwd, which means print working directory. And here it spells out a little bit more explicitly that this is my home directory, so you can see my username again right there.
00:58
Okay, perfect. So the ~ sign shows you that’s your home directory, or your user directory to be more precise, right? Yep. Okay.
Become a Member to join the conversation.