Solved

Linux Environment variables

Posted on 2011-02-21
1
292 Views
Last Modified: 2012-05-11
i want to find out value of CFINPUTS environment variable in fedora. also in which file are all these environment variables defined. or is it possible that they are defined in different files. i would like to edit those files. what is location of those files?
0
Comment
Question by:aashee
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34943451
Hi,

use "printenv |grep CFINPUTS"

Use "printenv" alone to see all variables.

Generally, the environment variables are set in a system-wide initialization file like /etc/profile or in individual files like $HOME/.profile or the like.

Here is more for bash: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_01.html

wmp
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question