What Is the Difference Between Tilde and Forward Slash in Linux?
Contents Tilde(~) Is Used to Denote a User’s Home Directory Whereas Slash(/) Is Used for Seperators for Filesystem Objects in Both Absolute Paths and Relative...
Contents
Tilde(~) is used to denote a user’s home directory whereas slash(/) is used for seperators for filesystem objects in both absolute paths and relative paths. Also it is used for to represent the root directory.
What does tilde slash mean in Linux?
The tilde (~) is a Linux “shortcut” to denote a user’s home directory. Thus tilde slash (~/) is the beginning of a path to a file or directory below the user’s home directory.
What is the difference between $$ and $! In Linux?
$$ gives the process id of the currently executing process whereas $! Shows the process id of the process that recently went into the background.