Sponsored Content
Top Forums Shell Programming and Scripting Why global var is not global with export Post 302551275 by michaelrozar17 on Tuesday 30th of August 2011 01:54:21 AM
Old 08-30-2011
Where do you define the above variable and export..? Try placing the variable in .profile file under home directory for it to be visible in your current session or place it in /etc/profile to be visible for any sessions. This is with respect to SuSe Linux, im not sure on Fedora. But its just an heads-up.
 

10 More Discussions You Might Find Interesting

1. Solaris

How to know the global zonename from non-global zone?

It is easy to list all zones from global zones, but how to find out the global zone name from non-global zone? thx (11 Replies)
Discussion started by: honglus
11 Replies

2. Solaris

How can we copy a directory from Global to Non-global zone?

Hi All, How can we copy a directory from global zone to non-global zone using SCP command? (8 Replies)
Discussion started by: vijaysachin
8 Replies

3. Solaris

Is there two different kernel`s running in global and non global zone?

Hi All, I want to know for non global zone there will be different kernal running? (1 Reply)
Discussion started by: vijaysachin
1 Replies

4. Solaris

How to access ENV variables of non global zones in global zone???

Hi Guys, My requirement is I have file called /opt/orahome/.profile in non global zone. PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:. export PATH PS1="\${ORACLE_SID}:`hostname`:\$PWD$ " export PS1 EDITOR=vi export EDITOR ENV=/opt/orahome/.kshrc export ENV... (1 Reply)
Discussion started by: vijaysachin
1 Replies

5. Solaris

How to see global hostname by logging in non global zones?

Hi guru Could any one help me by letting me know, how to see global hostname by logging in non global zones Regards (2 Replies)
Discussion started by: girish.batra
2 Replies

6. Solaris

How to identify a global or non-global Solaris server?

Hi, I have Solaris zone configured with Solaris 9 and 10. In Solaris 10(non global), I use the command “zonename” to get whether it is global or non-global server. For Solaris 9, what command I can use to get whether it is global or non-global server. Regards, Kalai :confused: (25 Replies)
Discussion started by: kalpeer
25 Replies

7. UNIX for Dummies Questions & Answers

How to Export Glance "Global System Calls" data to a file

Hello... I'm trying to setup a cronjob to record system data using glance at certain times of the day. My question is, how would one export the "Global System Calls" information to a file? Below is the command I have been using and it works to export CPU information. glance -f ... (0 Replies)
Discussion started by: fumus
0 Replies

8. Solaris

Global and non-global zone resource sharing - tricky

hi all, Just a simple question but i cant get the answers in the book - In my globalzone , assuming i have 4 cpus (psrinfo -pv = 0-3), if i set dedicated-cpu (ncpus=2) for my local zone Is my globalzone left with 2 cpus or still 4 cpus ? Does localzone "resource reservation.e.g. cpu in... (6 Replies)
Discussion started by: javanoob
6 Replies

9. Shell Programming and Scripting

Array - Export/Import in global environment variables.

Hello. During startup /etc/bash.bashrc.local generates some array ..... source /.../.../system_common_general_array_env_var ..... The file system_common_general_array_env_var contains : LEAP_VERSION='42.3' ARRAY_MAIN_REPO_LEAP=('zypper_local' 'openSUSE-Leap-'"$LEAP_VERSION"'-Non-Oss' ... (2 Replies)
Discussion started by: jcdole
2 Replies

10. Solaris

Date and time change in global and non global zone

Hi, If I change date and time in global zone, then it will affect in non global zones. During this process what files will get affect in non global zones and which mechanism it's using to change. gloabl zone:Solaris 11.3 X86 TIA (1 Reply)
Discussion started by: Sumanthsv
1 Replies
SMOLTSENDPROFILE(1)					      General Commands Manual					       SMOLTSENDPROFILE(1)

NAME
smoltSendProfie - Submit Smolt hardware profile to server SYNOPSIS
smoltSendProfile [options] DESCRIPTION
smoltSendProfile program submits the hardware profile of the current machine to the Smoon server. Smolt is a cross-desktop hardware report- ing tool for GNU/Linux based systems. OPTIONS -p, --printOnly Display information only; do not send -a, --autoSend Don't prompt to send; just send -r, --retry Continue to send until success -c, --checkin Automated check-in, suitable for cron-jobs -S, --scanOnly Only scan this machine for known hardware errata; do not send profile --submitOnly Do not scan this machine for known hardware errata; only submit profile -b, --bodhi Submit this profile to Bodhi as well, for Fedora Developmnent -n, --newPublicUUID Request a new public UUID -s SMOON_URL, --server=SMOON_URL Specify the URL of the server -u USERAGENT, --useragent=USERAGENT, --user_agent=USERAGENT Specify HTTP user agent (default "smolt/0.97") -t TIMEOUT, --timeout=TIMEOUT Specify HTTP timeout in seconds (default 60.0 seconds) --uuidFile=UUIDFILE Specify which UUID to use; useful for debugging and testing --username=USERNAME Fedora Account System registration username --password=PASSWORD Fedora Account System registration password (will prompt if not specified) -d, --debug Enable debug information --version Show program's version number and exit -h, --help Show this help message and exit SEE ALSO
smoltDeleteProfile(1), smoltGui(1). AUTHOR
smoltSendProfile was written by Mike McGrath <mmcgrath@redhat.com> and others. This manual page was written by Chris Lamb <chris@chris-lamb.co.uk>, for the Debian project (but may be used by others). February 27 2008 SMOLTSENDPROFILE(1)
All times are GMT -4. The time now is 11:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy