Solved

Linux Environment variables

Posted on 2011-02-21
1
294 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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