$ meaning in bash - Search
Open links in new tab
  1. 15 Special Characters You Need to Know for Bash

    • There are a set of characters the Bash shelltreats in two different ways. When you type them at the shell, they act as instructions or commands and tell the shell to perform a certain function. Think of the… See more

    ~ Home Directory

    The tilde (~) is shorthand for your home directory. It means you don't have to type the full path to your home directory in commands. Wherever you are in the filesystem, … See more

    How-To Geek
    Current Directory

    A period (.) represents the current directory. You see it in directory listings if you use the -a (all) option with ls. You can also use the period in commands to represent the path to your curr… See more

    How-To Geek
    Parent Directory

    The double period or "double dot" (..) represents the parent directory of your current one. You can use this to move up one level in the directory tree. You can also use this co… See more

    How-To Geek
    / Path Directory Separator

    You can use a forward-slash (/)---often just called a slash---to separate the directories in a pathname. One forward-slash represents the shortest possible directory path. Beca… See more

    How-To Geek
    # Comment Or Trim Strings

    Most often, you use the hash or number sign (#) to tell the shell what follows is a comment, and it should not act on it. You can use it in shell scripts and---less usefully---o… See more

    How-To Geek
    Feedback
    Kizdar net | Kizdar net | Кыздар Нет