Learning HubACFS Academy
Progress
0%
0 of 2020 remaining
  • 1
    Welcome & Overview5 min
  • 2
    Linux Navigation8 min
    NOW
  • 3
    SSH & Persistence6 min
  • 4
    tmux Basics7 min
  • 5
    Git Essentials10 min
  • 6
    GitHub CLI8 min
  • 7
    Agent Commands10 min
  • 8
    NTM Command Center8 min
  • 9
    NTM Prompt Palette6 min
  • 10
    The Flywheel Loop10 min
  • 11
    Keeping Updated4 min
  • 12
    UBS: Code Quality Guardrails8 min
  • 13
    Agent Mail Coordination10 min
  • 14
    CASS: Learning from History8 min
  • 15
    The Memory System8 min
  • 16
    Beads: Issue Tracking8 min
  • 17
    Safety Tools: SLB & CAAM6 min
  • 18
    The Art of Agent Direction12 min
  • 19
    Case Study: cass-memory15 min
  • 20
    Case Study: SLB12 min
Back to Home
Back
2/20
Lesson 2
8 min

Linux Navigation

Navigate the filesystem with confidence

New to ACFS?

Complete the setup wizard first to get the most from these lessons.

Go to Choose Your OS
Goal

Navigate the filesystem like a pro in 3 minutes.

Where Am I?

First, let's find out where you are in the filesystem:

bash
$ pwd

This prints your current directory. You should see /home/ubuntu.

What's Here?

List the contents of your current directory:

bash
$ ls

With ACFS, this is aliased to lsd which shows beautiful icons.

Try these variations:

Long format with details
Show hidden files
Tree view of directories

Moving Around

Navigate the filesystem with the cd command:

Go to the projects directory
Go home (shortcut)
Go up one level
Go to previous directory
Pro Tip
With zoxide installed, you can use z projects to jump to /data/projects after visiting it once!

Creating Things

Create new directories and files:

Create a directory
Create AND cd into it (ACFS function)
Create an empty file

Viewing Files

Read file contents in different ways:

Print entire file (aliased to bat)
Scroll through file (q to quit)
First 20 lines
Last 20 lines

Deleting Things

Warning
There's no trash can in Linux. Deleted = gone.
Delete a file
Delete a directory (DANGEROUS!)

Searching

Find files and search their contents:

Search file contents (ripgrep)
Find files by name

Verify You Learned It

Try this sequence to test your new skills:

bash
1$ cd /data/projects
2$ mkcd acfs-test
3$ pwd
4$ touch hello.txt
5$ ls
6$ cat hello.txt
7$ cd ..
8$ ls

All Commands Work?

You're ready for the next lesson!

Ready to level up?

Mark complete to track your learning progress.

Previous
Welcome & Overview
Next
SSH & Persistence