VectorLinux
September 02, 2014, 03:31:54 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Writing an alias  (Read 1154 times)
reb
Vectorite
***
Posts: 136


The BOSS


« on: January 20, 2008, 02:40:04 pm »

Hi all,

Is there a command to show the system path when in terminal mode?  If not then, I would like to write an alias so I could type a couple characters at the command line prompt and show the 'path', without having to go into the 'profile' or '.bashrc' file.  And if I want to add to my path, would it be best to add it to the 'profile' or the '.bashrc' file? 

reb
Logged

Ye Ole Montana Saddle Tramp
Nothing is right or wrong, good or bad, only thinking makes it so.  Think about it.
Running a Vector Linux VL3300 with 1 SATA 80GB HDD and 1GB DDR 400 ram, DVD+-RW , and VL 5.9 Delux
exeterdad
Packager
Vectorian
****
Posts: 2046



« Reply #1 on: January 20, 2008, 03:15:48 pm »

Hi Reb,
To show what's in your path you simply:
Quote
echo $PATH
and it will show up in the terminal  Smiley
Logged
reb
Vectorite
***
Posts: 136


The BOSS


« Reply #2 on: January 20, 2008, 04:03:00 pm »

Thanks Lee,

That makes it a lot simpler.  Wink

reb
Logged

Ye Ole Montana Saddle Tramp
Nothing is right or wrong, good or bad, only thinking makes it so.  Think about it.
Running a Vector Linux VL3300 with 1 SATA 80GB HDD and 1GB DDR 400 ram, DVD+-RW , and VL 5.9 Delux
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!