Skip to content

Instantly share code, notes, and snippets.

@syreal17
Created February 20, 2020 17:42
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syreal17/8b4bdf7bd0b35a7196b73c02c31c0ec2 to your computer and use it in GitHub Desktop.
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/`
@Srinivasgaraga
Copy link

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

Copy link

ghost commented Dec 29, 2022

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

@praksh134
Copy link

~ means now the shell is having the home directory

@Parcehack
Copy link

is a directory

@FreeFelix
Copy link

"~" When we use it in shell or terminal as a command, It takes us directly in home directory.

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