Skip to content

Instantly share code, notes, and snippets.

@syreal17
Created Feb 20, 2020
Embed
What would you like to do?
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/`
@MalcolmAnderson
Copy link

Yes, the following 2 command produce the same result, bringing you to your home directory
cd
cd ~

@Srinivasgaraga
Copy link

~ it is called tildi it used as a shortcut form root/home directories

@arademm
Copy link

arademm commented Dec 29, 2022

~ is called a tilde.
It's equivalent to the home directory: /home/Q0h313th/

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