03-17-2011
Execution should not affect with the messages.
What are the Messages?
Last edited by clx; 03-17-2011 at 12:30 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Does anyone know how I can supress the "Killed" message that's produced when I kill a process? I've got a script that performs a "tail -f" on a database error log and pipes the output into an awk script which looks for certain error messages and forwards any that qualify to my pager. The problem... (2 Replies)
Discussion started by: kenwolff
2 Replies
2. Shell Programming and Scripting
I am doing some system tuning and figuring out how to write a script that will kill multiple processes or all processes with the same owner. Can someone help me out? Thanks (5 Replies)
Discussion started by: nmajin
5 Replies
3. UNIX for Dummies Questions & Answers
hi
I'm new here so my question maybe be retarded or out of place:
Is there a way to suppress the "No such file or directory" error message when using the "ls" command ?
thanks (5 Replies)
Discussion started by: basher400
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a BASH shell script that batch processes data. I often start this script before I leave to go home for the day, and leave it processing over night. It has come to my attention that it would be very useful for me to add the capability of making the script notify me about certain things... (2 Replies)
Discussion started by: msb65
2 Replies
5. UNIX for Advanced & Expert Users
I am testing some file routines against potential "nasty name" Unix files, such as those with a CR, LF, in the middle or NULL terminated, utf multi-byte character. So, under Bash, I want some way of:
mv "name" "name\0"
with the \0 a real NULL.
Against all my efforts, I have not been... (2 Replies)
Discussion started by: drewk
2 Replies
6. Red Hat
I need to suppress the error message for commands. I have given the command like below
lsb_release -dr 2>/dev/null
But it is not working.
Am testing with Red Hat Linux release 9. Guide me.
Thanks in advance (2 Replies)
Discussion started by: forumguest
2 Replies
7. Shell Programming and Scripting
I have a script which checks for *.txt files in a particular directory and if no files were found then it goes into sleep for 10 secs and looks back for files again and if any files were found then the script does some processing with the files found, which is my requirement too.
FILE_EXISTS=`ls... (5 Replies)
Discussion started by: vpv0002
5 Replies
8. Shell Programming and Scripting
I'd like to create an alias that displays my string but leaves my cursor at the end.
Not seeing any examples of this.
One indirect way might be to preload or stuff the history buffer, so I just hit up arrow. (2 Replies)
Discussion started by: tns1
2 Replies
9. UNIX for Advanced & Expert Users
I need to capture lengthy screen puts and direct to .txt.
Script command is started on Wed Aug 22 13:27:36 EDT 2012.
# qcp
sh: qcp: not found.
An issue I have is that script command doesn't take non-AIX commands.
I need to run application-specific commands and capture the output in... (2 Replies)
Discussion started by: Daniel Gate
2 Replies
10. HP-UX
This work
#!/usr/bin/sh
COMM=${1}
shift
UNIX95=1 ps -C ${COMM} -o pid='' | while read P
do
kill -15 ${P}
done
This don't work
#!/usr/bin/sh
COMM=${1}
shift
UNIX95=1 ps -C ${COMM} -o pid='' | while read P
do
kill -"$@" ${P}
done (7 Replies)
Discussion started by: Linusolaradm1
7 Replies