About 306,000,000 results
Open links in new tab
  1. Bash Special Variables ($0, $?, $#, $@, $$, $*, $-) - TecAdmin

    May 2, 2025 · In bash, $0 is a special parameter that holds the name of the script or shell that is currently being executed. It is also known as the “name” or “zeroth argument” of the script. For …

  2. Linux operators: Using |, >, >>, &, &&, !, =, () and many more

    Jul 11, 2024 · Some of the most convenient ‘tricks’ on Linux depend on the use of a handful of special characters. This post looks at a number of command operators on Linux and shows how they work.

  3. 15 Special Characters You Need to Know for Bash

    Oct 3, 2025 · We'll show you which characters are "special" or "meta-" characters, as well as how you can use them functionally and literally. The tilde (~) is shorthand for your home directory. It means …

  4. What Are the Special Dollar Sign Shell Variables? - Baeldung

    Jul 6, 2024 · What Are the Special Dollar Sign Shell Variables? 1. Overview. The dollar sign ($) plays a crucial role in shell scripting. This ranges from argument handling to process management, and even …

  5. Linux Commands Cheat Sheet - GeeksforGeeks

    Jul 23, 2025 · To support developers and beginners alike, we have created a comprehensive Linux/Unix command line cheat sheet.

  6. What is $* and $# in Linux? - Super User

    on the command line, individually quoted ("$1" "$2" ...). So basically, $# is a number of arguments given when your script was executed. $* is a string containing all arguments. For example, $1 is the first …

  7. What are the special dollar sign shell variables? - Stack Overflow

    Sep 14, 2012 · In Bash, there appear to be several variables which hold special, consistently-meaning values. For instance, ./myprogram &; echo $! will return the PID of the process which backgrounded …

  8. Special Variables in Bash Shell [With Script Examples] - Linux Handbook

    Apr 4, 2023 · So if you want the number of arguments passed to the bash script while executing, you will have to include the $# variable to your script. For your reference, here, I made a simple hello world …

  9. Linux - Control-operators - w3resource

    Nov 7, 2025 · In this session we have covered various control operators like semicolon (;), ampersand (&), dollar question mark ($?), double ampersand (&&), double vertical bar (||), combining (&&) and …

  10. Special Parameters (Bash Reference Manual)

    Special parameters are denoted by one of the following characters. ($*) Expands to the positional parameters, starting from one. When the expansion is not within double quotes, each positional …