Navigate the filesystem like a pro in 3 minutes.
Where Am I?
First, let's find out where you are in the filesystem:
$ pwd
Explore your home directory and its dotfiles
ubuntu
/home/ubuntu
Your home directory. This is where you start.
This prints your current directory. You should see /home/ubuntu.
What's Here?
List the contents of your current directory:
$ ls
With ACFS, this is aliased to lsd which shows beautiful icons.
Try these variations:
Moving Around
Navigate the filesystem with the cd command:
z projects to jump to /data/projects after visiting it once!Creating Things
Create new directories and files:
Viewing Files
Read file contents in different ways:
Deleting Things
Searching
Find files and search their contents:
Verify You Learned It
Try this sequence to test your new skills:
1$ cd /data/projects2$ mkcd acfs-test3$ pwd4$ touch hello.txt5$ ls6$ cat hello.txt7$ cd ..8$ ls
All Commands Work?
You're ready for the next lesson!