LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2008, 05:52 AM   #1
langda
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
See all system variables


Please tell how can see name of all of the system variables
 
Old 07-29-2008, 05:55 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
What do you mean by "system variables"? Your user's environment variables, as in 'env'?
 
Old 07-29-2008, 05:57 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,565
Blog Entries: 56

Rep: Reputation: Disabled
Do you mean environment variables?
In a terminal, run either:
env or printenv
.

(Beaten to it by a faster typer again! )

Last edited by brianL; 07-29-2008 at 05:59 AM.
 
Old 07-29-2008, 05:59 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,956

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Homework ???.
 
Old 07-29-2008, 06:12 AM   #5
ramineni
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
to see all the variables use the command set |more
 
Old 07-30-2008, 12:31 AM   #6
langda
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pinniped View Post
What do you mean by "system variables"? Your user's environment variables, as in 'env'?
am sorry...i mean environment variables
 
Old 07-30-2008, 12:38 AM   #7
langda
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brianL View Post
Do you mean environment variables?
In a terminal, run either:
env or printenv
.

(Beaten to it by a faster typer again! )

Thanks brian
 
Old 07-30-2008, 12:42 AM   #8
langda
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Homework ???.

[b]next time i ll do my homework before posting sir..
 
Old 08-04-2008, 12:46 AM   #9
smus
Member
 
Registered: Nov 2005
Location: Turkey
Distribution: Suse
Posts: 104

Rep: Reputation: 16
at least you learnt something about your homework.

regards,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
system.conf variables HarryBoy Linux - Newbie 6 07-02-2008 10:50 AM
change system variables stasb Slackware 5 05-28-2007 06:51 AM
How to set System Enviroment Variables cathodion Linux - General 2 06-22-2004 06:05 PM
accessing system variables in c++ gearoid Programming 4 05-13-2004 06:55 AM
How to keep enviroment variables after reboot the system ..? Hechizebrio Linux - General 2 09-26-2003 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration