Results 1 to 3 of 3

Thread: $ sign in $PATH

  1. #1
    Join Date
    Dec 2009
    Location
    Slovenia
    Beans
    108
    Distro
    Ubuntu 10.10 Maverick Meerkat

    $ sign in $PATH

    Hello, can anyone explain to me what does
    Code:
    $
    mean if i use it like this:
    Code:
    $PATH

    Ty
    student 4. grade, Fi/Te, PeF-Ljubljana

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: $ sign in $PATH

    It signifies a variable. You can assign one or more values to a variable

    Code:
    nothingspecial@magik:~$ var=1
    nothingspecial@magik:~$ echo $var
    1
    nothingspecial@magik:~$ var=*
    nothingspecial@magik:~$ echo $var
    Documents Music Videos


    $PATH is an environment variable. To see yours type

    Code:
    env

  3. #3
    Join Date
    Dec 2009
    Location
    Slovenia
    Beans
    108
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: $ sign in $PATH

    Ty
    student 4. grade, Fi/Te, PeF-Ljubljana

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •