10-24-2008
the problem is that after xcution of certain prog ..... the display on the terminal for other
commands such as ls is not proper ...so i want to look at relevant env variables to see if i have made change by mistake ....env and set does not help
10 More Discussions You Might Find Interesting
1. Red Hat
Hello Linux gurus!
Ive got a RedHat EnterP. 4 kickstart server that is also running RedHat EnterP 4.
It is working as i should and no problem at all.
However, now i want to run a little script with output and input.
Ive read up a bit and what i realized is that a input in %pre phase is not a... (3 Replies)
Discussion started by: maskot
3 Replies
2. Shell Programming and Scripting
This site has been very helpful thus far.. I thank you all in advance for sharing the knowledge. Let me get to it.
I am trying to write a very small script to take away from the boredom of doing the same thing over and over.
Everynow and again I have to get the hex value of a file using a... (2 Replies)
Discussion started by: BkontheShell718
2 Replies
3. Shell Programming and Scripting
Hi guys. Is it possible (I'm sure it is) to use the output of a simple 'ls' command as input of another command 'tail'.
It is not really the output of the 'ls'. I have to useeach line of the output.
This is the first command...
ls *myFile*021308*
Which it outputs many filenames. For each... (3 Replies)
Discussion started by: rodrimuino
3 Replies
4. Shell Programming and Scripting
Hi,
I am having an Input file .which is having a list of names.
comapring with our database , needs to write the out put in file called output.txt , format should be name--> country--->phone number
could you please help me..
thanks in advance (7 Replies)
Discussion started by: hegdeshashi
7 Replies
5. Shell Programming and Scripting
Hi,
I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format.
Example:
File.txt
AP|{SSHA}VEEg42CNCghUnGhCVg==
APVG3|{SSHA}XK|"password"
AP3|{SSHA}XK|"This is test"
....
etc
---------
test.sh has... (1 Reply)
Discussion started by: hudson03051nh
1 Replies
6. Shell Programming and Scripting
Hi All,
Is it wrong to do something like this:
ssh -T $PROXY_USER@$PROXY_SERVER < script.txt > ssh_output.log
I ran and it works fine and does what I need. I wanted to pass a set of commands to the ssh session and store an output in the log file.
Thanks (4 Replies)
Discussion started by: rdogadin
4 Replies
7. Shell Programming and Scripting
Hi,
If I have loads of logs like below and I am interested to print the requests(lines) which have taken more than 1000 ms. In this case how could I print the two highlighted lines ?
abc.log
reqquest id232342 , adfghfasdfsaf, TIME=30
reqquest id11111 , asdfdfghdffsaf, TIME=54
reqquest... (0 Replies)
Discussion started by: nariwithu
0 Replies
8. Shell Programming and Scripting
Hi,
If I have loads of logs like below and I am interested to print the requests(lines) which have taken more than 1000 ms. In this case how could I print the two highlighted lines ?
abc.log
reqquest id232342 , adfghfasdfsaf, TIME=30
reqquest id11111 , asdfdfghdffsaf, TIME=54
reqquest... (4 Replies)
Discussion started by: nariwithu
4 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I've got a directory of about 6000 txt files that look like this:
a b c d
e f g h
k l m n
I need to execute a command on them to combine them and, in the end, have one big file with all the needed columns taken form all the 6000 files. I've got the "combining" program, but my problem... (26 Replies)
Discussion started by: zajtat
26 Replies
10. Red Hat
Hi issue with red hat and san.
I had a LUN shared to me from an oracle storage
I am able to see it and the size.
~]# multipath -ll
mpathe (3600144f0e984617b00005b466bd70014) dm-3 SUN,ZFS Storage 7430
size=10T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1... (0 Replies)
Discussion started by: goya
0 Replies
LEARN ABOUT OPENDARWIN
env
ENV(1) BSD General Commands Manual ENV(1)
NAME
env -- set and print environment
SYNOPSIS
env [-i] [name=value ...] [utility [argument ...]]
DESCRIPTION
env executes utility after modifying the environment as specified on the command line. The option name=value specifies an environmental
variable, name, with a value of value. The option '-i' causes env to completely ignore the environment it inherits.
If no utility is specified, env prints out the names and values of the variables in the environment, with one name=value pair per line.
DIAGNOSTICS
If the utility is invoked, the exit status of env shall be the exit status of utility; otherwise, the env utility exits with one of the fol-
lowing values:
0 The env utility completed successfully
1-125 An error occurred in the env utility.
126 The utility specified by utility was found, but could not be invoked.
127 The utility specified by utility could not be found.
COMPATIBILITY
The historic - option has been deprecated but is still supported in this implementation.
SEE ALSO
execvp(3), environ(7)
STANDARDS
The env utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'').
BUGS
env doesn't handle commands with equal (``='') signs in their names, for obvious reasons.
BSD
August 27, 1993 BSD