So, that’s basically, like, how you move back, so if you are
cd and then a folder name, you are moving into the folder, and if you want to move one level up—So, I’m always confusing this—like, do you move it down or move up?
You could keep going like that, but for now, it’s only
.. because I want Martin to be in the
pb_terminal/ folder again. Can Martin do a little detour again? Please, please, please. Okay, if it’s not—I mean, you can always show where we are with
pwd, so you can take a detour there. So, my detour is about the
.. actually. A lot of these commands have additional options. So,
ls, for example, has—you can add an option
a or an option
l or both together.
And if you do this—this is one that I run relatively often—it gives you more information about the files that are inside of your folder than if you just run
ls. Like you said before, if I say
ls, I just get the names. If I say
ls then with the option
-al, then I get more information about them.
And some other information. And here you can see that it doesn’t only contain the
hello/ folder and the file, but also
.., and those are just links, basically. The
. is a link to the current folder, and
.. is a link to the previous folder. That’s why when you say
cd .., you’re actually going into this folder that is part of every folder.
01:59 It’s a link to the previous folder, if that makes sense. Okay, yeah, that makes sense. I think that’s good to know that, like, it’s not just those plain commands, but usually there are multiple ways.
Become a Member to join the conversation.