Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What is the difference between a shell variable that is exported and the one that is Post 78590 by JosephGerard on Thursday 21st of July 2005 03:00:17 AM
Old 07-21-2005
Question What is the difference between a shell variable that is exported and the one that is

What is the difference between a shell variable that is exported and the one that is not exported?
 

10 More Discussions You Might Find Interesting

1. AIX

Difference between writing Unix Shell script and AIX Shell Scripts

Hi, Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies

2. Shell Programming and Scripting

difference between $variable and ${variable}

Hi there Simple question im sure but what is the difference between $variable and ${variable} ie I have seen scripts like this for user in gary peter paul ; do chown -R ${user}:other /data/trans done and some that do this for user in gary peter paul ; do chown -R... (3 Replies)
Discussion started by: hcclnoodles
3 Replies

3. Shell Programming and Scripting

Korn Shell Variable values difference

I am using two shell scripts a.ksh and b.ksh a.ksh 1. Sets the value +++++++++++++++++ export USER1=abcd1 export PASSWORD=xyz +++++++++++++++++ b.ksh 2. Second scripts calls sctipt a.ksh and uses the values set in a.ksh and pass to an executable demo... (2 Replies)
Discussion started by: kunalseth
2 Replies

4. Shell Programming and Scripting

Difference between use vars and our variable in PERL

What is the difference between defining the global variable through our and using use vars ? Is the variable created using our goes beyond even package scope? Thanks in Advance !!! (3 Replies)
Discussion started by: jatanig
3 Replies

5. Shell Programming and Scripting

Seeing variable which are exported with export

Greeting to all of you! I've small issue related to the variable which we are setting and exporting through scripts, in one of the script there are some variable used but I am not abel to get the detail as where they are set. I tried finding the detail with the help of env but no luck. ... (2 Replies)
Discussion started by: kumarmani
2 Replies

6. Shell Programming and Scripting

using the exported variable after su

Dear All,How can use a variable which I have exported when I am logged into one user to be used once I su to another user.something like 1.Login to Unix box as user12. export var1="TEST"3. su - user24. User the var1 value ( it should return TEST)I have checked just export does not work. any other... (1 Reply)
Discussion started by: rahulkav
1 Replies

7. Solaris

TZ variable not exported when running from cron

Hi, I have the following executable in cron: 10 * * * 1-5 /apps/bin/dmg_cronlaunch -ENVI ENVIRONMENT -EXE exec -FILE ratespb_sdos_prdf_`TZ=US/Eastern;date +\%Y\%m\%d\%H\%M\%S`.sdos > /tmp/dmg_exec.log.`/usr/bin/date +\%Y_\%m_\%d_\%H:\%M:\%S` 2>&1 Comprised of the following: ... (13 Replies)
Discussion started by: Cvg
13 Replies

8. Shell Programming and Scripting

Store a column from an excel sheet (exported to txt) into a variable

I typically pull a bunch of data via SQL that lists a bunch of users and the server on which they want to access, as well as other attributes, in one row of an excel sheet and the number of rows is directly proportionate to the number of users. I'm trying to write a loop to read each line of the... (2 Replies)
Discussion started by: MaindotC
2 Replies

9. Shell Programming and Scripting

Use of exported variable

i have to use the exported variable from one script into another script ex : A.ksh # !/bin/ksh chk1=56 export chk1 B.ksh # !/bin/ksh echo $chk1 i have executed the... (6 Replies)
Discussion started by: urfrnddpk
6 Replies

10. Solaris

Solaris: ldd doesn't find libraries in exported environment variable LD_LIBRARY_PATH

I have given the relevant details below. Why are the libraries in /export/home/builds/pc9x_root/960/build/powrmart/pmbuild/bin/SunOS.64.r are invisible to ldd? %setenv ... (3 Replies)
Discussion started by: old_as_a_fossil
3 Replies
PVSCAN(8)						      System Manager's Manual							 PVSCAN(8)

NAME
pvscan - scan all disks for physical volumes SYNOPSIS
pvscan [-d|--debug] [-h|--help] [-v|--verbose] [--version] [--ignorelockingfailure] [-e|--exported] [-n|--novolumegroup] [-s|--short] [-u|--uuid] pvscan [-d|--debug] [-h|--help] --cache [--major major --minor minor | DevicePath ] ... DESCRIPTION
pvscan scans all supported LVM block devices in the system for physical volumes. OPTIONS
See lvm(8) for common options. -e, --exported Only show physical volumes belonging to exported volume groups. -n, --novolumegroup Only show physical volumes not belonging to any volume group. -s, --short Short listing format. -u, --uuid Show UUIDs (Uniform Unique Identifiers) in addition to device special names. --cache [ --major major --minor minor | DevicePath ] ... Scan one or more devices and instruct the lvmetad daemon to update its cached state accordingly. Called internally by udev rules. All devices listed explicitly are processed regardless of any device filters set in lvm.conf. SEE ALSO
lvm(8), pvcreate(8), pvdisplay(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVSCAN(8)
All times are GMT -4. The time now is 03:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy