11-06-2007
There is no issue with the script, in debug mode it will display like that but AWK will execute first.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We have multiple Unix servers and a particular command can only be executed in one of the box from a specific path. I have password-less ssh set up for all the boxes. I am unsure the command to use to execute that particular command from any other box. To be specific say program named _my_exe_ can... (4 Replies)
Discussion started by: uunniixx
4 Replies
2. Shell Programming and Scripting
a) cd /root/user/dir/sd/disk
./runInstaller -silent -responseFile
b) cd /root1/user1
cp /root/user/dir/sd/disk/ram.txt
now a) executes and starts running but b) interupts a) and is executed while a) is running on the other hand
so I want b) to start only after successfull completion of... (6 Replies)
Discussion started by: sriki32
6 Replies
3. UNIX for Dummies Questions & Answers
I'm taking Unix Scripting course and we've been given the following command
grep -l "`echo '\t'`" foo
What this command is basically doing is giving the lines in the ordinary file foo that contains the letter 't'.
From my understanding, command substation occurs first. So echo '\t' is... (2 Replies)
Discussion started by: kkhan00
2 Replies
4. Solaris
hi,
i have to get the info between start to stop of a command execution
suppose,
if we execute the command like pkgadd then while its executing it ask some questions , i have to get total information untill pkgadd command complete into a perticular file. (3 Replies)
Discussion started by: shankr3
3 Replies
5. Shell Programming and Scripting
Hi,
i am struggling with a chunk of code.
for ((i=1; i<=3; i++));do
one-$i ="/tmp/one.$RANDOM"
done
How to execute the above code.
In both sides(LHS and RHS), i am executing commands.
it is not allowing to execute.
can you please give the idea.
It should be very... (8 Replies)
Discussion started by: munna_dude
8 Replies
6. Shell Programming and Scripting
I want to open more than 2 files(f1,f2).
commands for opening those files are stored in one file (f3).
command to execute the file (f3). (3 Replies)
Discussion started by: Mahendravarma
3 Replies
7. Shell Programming and Scripting
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
8. Shell Programming and Scripting
below is the output xml string from some other command and i will be parsing it using awk
cat /tmp/alerts.xml
<Alert id="10102" name="APP-DS-ds_ha-140018-componentFailure-S" alertDefinitionId="13982" resourceId="11427" ctime="1359453507621" fixed="false" reason="If Event/Log Level(ANY) and... (2 Replies)
Discussion started by: vivek d r
2 Replies
9. Shell Programming and Scripting
Hi,
I need to execute some commands in a directory.
script called test.sh from /usr/bin/
and the commands which are there in the script needs to be executed from /etc/ and come back to another directory /lib/ and execute some commands which are there in the script.
Hope you understand... (1 Reply)
Discussion started by: munna_dude
1 Replies
10. UNIX for Dummies Questions & Answers
Hello Experts,
I am still learning linux and have come across a question, hope to get some answer.
I have two servers, and both have the same version of svn client installed and both have the same user_id.
my SVN client version:
svn, version 1.6.11 (r934486)
compiled Mar 2 2011,... (4 Replies)
Discussion started by: babyPen1985
4 Replies
ZGREP(1) General Commands Manual ZGREP(1)
NAME
zgrep - search possibly compressed files for a regular expression
SYNOPSIS
zgrep [ grep_options ] [ -e ] pattern filename...
DESCRIPTION
Zgrep invokes grep on compressed or gzipped files. These grep options will cause zgrep to terminate with an error code:
(-[drRzZ]|--di*|--exc*|--inc*|--rec*|--nu*). All other options specified are passed directly to grep. If no file is specified, then the
standard input is decompressed if necessary and fed to grep. Otherwise the given files are uncompressed if necessary and fed to grep.
If the GREP environment variable is set, zgrep uses it as the grep program to be invoked.
EXIT CODE
2 - An option that is not supported was specified.
AUTHOR
Charles Levert (charles@comm.polymtl.ca)
SEE ALSO
grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)
ZGREP(1)