10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using the following script to search for and print minimum values for each individual Fields (3-14) for each unique id (Field 1). But when the field contains a "-99.99" ( I am ignoring "-99.99") and when the minimum value is the first line of a new id (Field 1), the output does not print Field... (13 Replies)
Discussion started by: ncwxpanther
13 Replies
2. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
3. Shell Programming and Scripting
Hi All,
I'm wrting one script which checks health of the server.But couldn't understand why script is not printing any value for this also its not allowing to print other command just after this.
ps -aef |egrep -i "fcm|comm" (1 Reply)
Discussion started by: netdbaind
1 Replies
4. Red Hat
Hi all,
unable to print from linux box. Earlier it used to work fine.
The print job is sitting in the queue and not going to printer.
Removed queue job and tried again but no luck.
Tried "cupsenable" but ended up with no success.
I tried to print two text files as "root" with "lp " command... (0 Replies)
Discussion started by: lramsb4u
0 Replies
5. Programming
Hi All,
I have connected to the board using telnet, when i tried to display huge record which has more then 1000, this telnet session where overlapping the printed data to the previous line.
Can some one help me how to solve this?
For example"
in a for loop i am printing
"1 Name1"... (3 Replies)
Discussion started by: mohi
3 Replies
6. UNIX for Dummies Questions & Answers
uname -a
SunOS mypc 5.10 Generic_141414-07 sun4v sparc SUNW,SPARC-Enterprise-T2000
uname -a
SunOS mypc 5.10 Generic_144488-07 sun4v sparc SUNW,SPARC-Enterprise-T5220
find . -name "*.cer" -exec keytool -v -list -printcert -file {} \; | grep -i "Aug 03"
Valid from: Mon Jan 29 00:00:00 GMT... (16 Replies)
Discussion started by: shifahim
16 Replies
7. Shell Programming and Scripting
Hi
can print command in awk take the variable and write its value in the file?
Excerpt from my shell script. for some reason, $proc is being written in the file instead of its value. can someone tell me what is the issue?
for proc in EH LOGEV
do
echo $proc
./plist -P $proc |... (2 Replies)
Discussion started by: lookinginfo
2 Replies
8. Shell Programming and Scripting
Is there a way in the Korn Shell to print like below:
print "the red fox jumped \
<6 spaces> over the brown house.\n" > test.out
And have the output look like the folowing:
the red fox jumped over the brown house.
Our shell scripting standards state that no line can be over 78... (2 Replies)
Discussion started by: djehresmann
2 Replies
9. Shell Programming and Scripting
Can someone tell me what I'm doing wrong with my perl script? I am new to Perl. This isn't even the final script, I'm just testing to see if it will print the directories with the files in it. For some reason my output is only printing the 1st, 6th, and last entries of the @sub_dir array. Each... (3 Replies)
Discussion started by: man
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a user that has tried to print a job several times and has now filled up the que. How do i delete all the jobs in the que and what is the command?:confused: (1 Reply)
Discussion started by: nov_user
1 Replies