09-03-2010
Hi thanks
but my main question is.
my export varible has password and username
like
export PMUSERNAME=Administrator
export PMPASSWORD=Administrator
export DOMAIN_NAME=Domain_rcirs111
this can be showing all users....but i need "Administrator" "Domain_rcirs111
" should be in some another file and it can be pass to PMUSERNAME,PMPASSWORD and DOMAIN_NAME.
i have tried like the below
cred.txt
-------------
Administrator
Administrator
Domain_rcirs111
sample.sh
-------------
export PMUSERNAME=`head -1 creditional.txt|tail -1`
export PMPASSWORD=`head -1 creditional.txt|tail -1`
export DOMAIN_NAME=`head -1 creditional.txt|tail -1`
but this is not exporting properly...
---------- Post updated at 11:31 PM ---------- Previous update was at 08:47 AM ----------
please help me on the above
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)
Discussion started by: vtran4270
3 Replies
2. UNIX for Advanced & Expert Users
Installed a program, need to set the system up so that when the executable is entered, it finds the path to the executable. In Windows, set under system properties, advanced, environmental variables. How do I do this with Unix? Specifically using Solaris 9. I have tried:
env... (3 Replies)
Discussion started by: kohoutek
3 Replies
3. UNIX for Advanced & Expert Users
hi,
I have one environment variable like path in my system.But in my program i need to change that path .suppose it has a value "config" now i need to chage it as "config1" or something else.i need to use that variable for complete project.It means at first it will use the old path but after... (4 Replies)
Discussion started by: sada@123
4 Replies
4. Shell Programming and Scripting
hi all
i have joined new to the group.
i have set an variable in my bashrc file.
.bashrc
PROGHOME=/home/braf/braf/prog
export PROGHOME
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
Discussion started by: krithika
8 Replies
5. Linux
Hi,
I am quite new to Linux. And I have doubt how to set new environment variable with value to a C executable.
Let say I have a environment variable $Hack ;
I would like to load a value for this variable; so that when the C executable is executed, the $Hack would set the variable value.
... (4 Replies)
Discussion started by: ahjiefreak
4 Replies
6. Solaris
I am working with solaris 9 sunBlade150 Box.
I Installed a program, need to set the environment variable so that when the executable is entered,it finds the path to the executable.
The documentation for the software says: Set the appropriate environment variable:
Connect to server failed;... (8 Replies)
Discussion started by: smartgupta
8 Replies
7. UNIX for Dummies Questions & Answers
hi,
i am new to perl:
os : Linux
i wrote simple perl script to select from table i am getting this error and how to set ORACLE_HOME environment variable :
script:
#!usr/bin/perl
use DBI;
use Mail::Sendmail;
#use Date::Calc;
use MIME::QuotedPrint;
use HTML::Entities;
use POSIX... (2 Replies)
Discussion started by: prakash.gr
2 Replies
8. Shell Programming and Scripting
I've searched Google and now this forum. Best guess is my search fu is not good (and it probably isn't). The Google search did bring me here.
Background
I have a number of Korn Shell scripts who all use one of 3 values for an environment variable used in the backup system.
On occasion one or... (8 Replies)
Discussion started by: WolfBrother
8 Replies
9. Shell Programming and Scripting
Hi,
I an having some environment variables exported and the variable name is present in the file. But its not resolving with following commands. Can someone throw some light.
db $ grep -v "^#" TD_FWK_NUCLEUS.dbc | grep -v "^$" | xargs -i echo {}
wb_bin: ${TD_FWK_NUCLEUS_DBC_WB_BIN_TAG}
I... (3 Replies)
Discussion started by: Mohammed Rafi
3 Replies
10. Solaris
Hi all,
In Solaris 10, is there a way to search for the sessions that have a certain environment variable set? (8 Replies)
Discussion started by: ejianu
8 Replies
LEARN ABOUT MOJAVE
html_cssdefaults
doctools::html::cssdefaults(n) Documentation tools doctools::html::cssdefaults(n)
__________________________________________________________________________________________________________________________________________________
NAME
doctools::html::cssdefaults - Default CSS style for HTML export plugins
SYNOPSIS
package require Tcl 8.4
package require doctools::html::cssdefaults ?0.1?
::doctools::html::cssdefaults::contents
_________________________________________________________________
DESCRIPTION
This package provides a single command providing access to the text of the default CSS style to use for HTML markup generated by the vari-
ous HTML export plugins.
This is an internal package of doctools, for use by export plugins, i.e. the packages converting doctools related documented into other
formats, most notably HTML.
API
::doctools::html::cssdefaults::contents
This command returns the text of the default CSS style to use for HTML markup generated by the various HTML export plugins.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category doctools
of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
CSS, HTML, doctools, export, plugin, style
CATEGORY
Documentation tools
COPYRIGHT
Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
doctools2base 0.1 doctools::html::cssdefaults(n)