About 360,000 results
Any time
Open links in new tab
Bokep
- Viewed 174k times90edited Feb 4, 2022 at 17:50
It's a Bash feature called "tilde expansion". It's a function of the shell, not the OS. You'll get different behavior with csh, for example.
To answer your question about where the information comes from: your home directory comes from the variable $H...
~ $HOME~fred (freds home dir)~+ $PWD (your current working directory)~- $OLDPWD (your previous directory)~1 `dirs +1`~2 `dirs +2`~-1 `dirs -1`dirs and ~1, ~-1, etc., are used in conjunction with pushd and popd.
Edited to add:
As Sean Bright pointed out in a comment, the baselin...
Content Under CC-BY-SA license Meaning of tilde in Linux bash (not home directory)
Meaning of Tilde in Linux Bash | Baeldung on Linux
- Question & Answer
Tilde Expansion (Bash Reference Manual)
bash - What does ~ mean in a Linux shell? - Super User
How to Use Tilde Expansion in Bash [4 Practical …
Dec 12, 2023 · Tilde expansion is a feature in Bash that allows users to use the tilde character (~) as equivalent to a certain path. This is particularly useful for quickly navigating to user’s home directory or directories relative to the home …
The tilde expansion - Linux Bash Shell Scripting Tutorial Wiki
Shell Expansions (Bash Reference Manual)
The Magic ~: Bash Tilde Expansion with 5 Examples - The Geek …
Shell Parameter Expansion (Bash Reference Manual)
bash - How does the tilde expansion work within a shell variable ...
bash - When should I use the ~ (tilde) during command line …
15 Special Characters You Need to Know for Bash - How-To Geek
The Bash Special Characters You Should Know About
regex - Meaning of "=~" operator in shell script - Stack Overflow
Linux Commands – Basic Bash Command Line Tips You Should …
shell - The Not Equal Tilde in bash - Stack Overflow
Check if Array is Empty in Bash - Linux Handbook
linux - Why is a tilde in a path not expanded in a shell script ...