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 09-29-2005, 03:13 PM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
is there a command to view all variables?


is there a command to view all variables? i.e. your text editor, shell etc all in one go and also what variables you are using
 
Old 09-29-2005, 03:16 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
I assume env is what you're looking for:
Code:
$ env
TERM=xterm
SHELL=/bin/bash
WINDOWID=16777230
ETHEME=/usr/local/enlightenment/themes/ecdysisV2
USER=chris
EVERSION=0.16.7.1
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
PWD=/home/chris
ENL_WM_ROOT=0x75
EBIN=/usr/local/enlightenment/bin
ECACHEDIR=/home/chris/.enlightenment
PS1=\u@\h:\w\$ 
HOME=/home/chris
SHLVL=1
ECONFDIR=/home/chris/.enlightenment
EROOT=/usr/local/enlightenment
LOGNAME=chris
EPID=1821
DISPLAY=:0.0
_=/usr/bin/env
 
  


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
Getting o/p of command in variables kushalkoolwal Programming 8 09-25-2005 10:25 AM
Command to view all running services joevilton Linux From Scratch 2 08-14-2004 11:55 AM
View image from command line? Rotwang Linux - General 1 03-22-2004 02:51 AM
view partition command? Lumberjack Linux - Newbie 3 01-23-2004 11:50 AM
Hi, How to view user and root run command on linux? dEMax Linux - General 1 09-12-2003 04:22 AM

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

All times are GMT -5. The time now is 05:06 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