1. Home
  2. Computing & Technology
  3. Focus on Linux

From Machtelt Garrels, for About.com

var =value     VAR =value     var =value     set var =value    Variable assignment
    export var     export VAR =value     export var =val     setenv var val    Set environment variable
         ${nnnn}     ${nn}         More than 9 arguments can be referenced
   "$@ "    "$@ "    "$@ "         All arguments as separate words
    $#     $#     $#     $#argv    Number of arguments
    $?     $?     $?     $status    Exit status of the most recently executed command
    $!     $!     $!         PID of most recently backgrounded process
    $-     $-     $-         Current options
    . file     source file or . file     . file     source file    Read commands in file
         alias x='y'     alias x=y     alias x y    Name x stands for command y
    case     case     case     switch or case

Explore Focus on Linux

More from About.com

  1. Home
  2. Computing & Technology
  3. Focus on Linux

©2008 About.com, a part of The New York Times Company.

All rights reserved.