Find the answer to your Linux question:
Results 1 to 3 of 3
it is Code: export name=$path , right?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2004
    Posts
    1

    how do i set enviroment paths?


    it is
    Code:
    export name=$path
    , right?

  2. #2
    Linux Enthusiast scientica's Avatar
    Join Date
    Sep 2003
    Location
    South- or "Mid-" Sweden
    Posts
    742
    I think it's:
    Code:
    variable=value
    export variable
    Regards Scienitca (registered user #335819 - http://counter.li.org )
    --
    A master is nothing more than a student who knows something of which he can teach to other students.

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    In traditional UNIX shells it is as scientica says; you can't set a value and export it in the same command. However, bash allows that, so as long as you use bash, it is:
    Code:
    export variable=value

Posting Permissions

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