Skip to content

Instantly share code, notes, and snippets.

@syreal17
Created February 20, 2020 17:42
Show Gist options
  • Select an option

  • Save syreal17/8b4bdf7bd0b35a7196b73c02c31c0ec2 to your computer and use it in GitHub Desktop.

Select an option

Save syreal17/8b4bdf7bd0b35a7196b73c02c31c0ec2 to your computer and use it in GitHub Desktop.
pico Primer for Competitors - Shell Chapter - Got Shell? Section
Q.3: What does `~` mean?
A.3: The shell is parked in Q0h313th's home directory which can be accessed by `~` on the computer called `pico-2019-shell1`
Note: the full path for `~` can be expanded to `/home/Q0h313th/`
@ANK-369
Copy link

ANK-369 commented Feb 4, 2026

so, after reading the answer and some of the comments, i think ~ is just another name for home (which is actually your username folder).
if you see only ~ it means you're currently inside your home directory.
if you see another name like ~/Downloads it means you're in that folder inside your home

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment