New Student Deal only $49/month for All Access ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰


Hidden Files and How to Go Deeper with Learning

Fundamentals ยท Lesson 6 ยท 9 minutes

- Alright you're doing great so far.
If you're following along I hope you're feeling well.
And in this video I'm gonna show you
a few more commands and more importantly
just a little bit of some tips and tricks
so that you can get around well and know where
to go beyond this course if you wanna
go deeper into the command line.
Okay so you have your command deal here.
And right now I just want you to watch.
I'm just gonna use the command line a little bit.
This maybe a little bit of a refresher.
But I'm gonna speak loud just watch.
Okay I'm in the command.
Where am I?
PWD okay I'm gonna make a castig folder.
What's in that folder?
LS I can see all the folders.
I wanna go to my desktop.
CD space DES Tab
I'm in the desktop.
I'm moving around things.
Now pause, just now.
After awhile you may be typing a lot of commands
and this may get really messy.
Trust me once you start doing stuff with Rails
or Python this will fill up rather quick.
Now if any point you wanna start again.
You can just type Clear
and its gonna clear everything there.
So that's just one way to kinda clear everything.
Another way which I think I showed you already
is you could just close it
and just start again, make a new one.
So that's kind of a tip there.
Clearing everything as you go along.
The next one is if you do clear everything
and you start again.
And you're like Oh man what's that command I typed?
Well of course you can always come back here
and look at the lecture notes.
But short of that an easier way is,
check this out press Up, that little up arrow.
Every command that you've ever typed
is being recorded by your computer.
Not like in a Mr. Robot kind of way,
but more of just a log on your computer
so it can help you out.
This is just something that you can use
to help you remember things that you've typed.
You have those there, you can go up.
If you go through them you can go down back through them.
And now every command is there.
That you can check out.
So that should be really helpful.
And I do that, and I do Clear, and we're back.
So you know you have those available to you as well.
When you are going through folders I showed you LS right?
And that lists everything out.
Now what you might not know is that there
are folders on your computer that you cannot see.
What the hell?
They're called invisible folders,
or hidden folders actually.
Hidden folders.
And they usually start with a dot.
Let me show you how you can see these.
If we do LS like this and then I pass an A to it.
That's what this is called.
If you make a space and then do a dash like this
it's called passing an argument right.
So if I pass an A to it, like that,
I get to see all of these folders
on the right that are available.
Open dot means all.
I get to see all of those here.
But I'm also seeing these invisible folders
which means there are folders or files
here that I cannot see.
And that's really interesting because as you
are setting up your computer the command line
is gonna give you access to certain files
and privileges of your computer that
you may not have as a normal user.
Ha, that is powerful.
That is really cool.
That is how hacking begins right?
Because you know have privileged access
to like the inside of your computer.
That you can't quite get to with your mouse and hands.
And this is where stuff will start to get powerful.
So this is just like a window into that world.
Where you can see we have LS
and I'm just passing in this argument here.