The first line
would be used to find out if /etc/sysconfig/network exists or not
The output of ls is redirected to the bit bucket, and @>&1 redirects stderr (2) into stdout (1). This means that the ls command cannot produce anyout to the tty.
The "#@" -- if this is at the beginning of a line it's a comment, comments start with #.
If it's embedded somewhere in the middle of something like a regular expression, I have no idea.
Hello e'bdy,
We have WebSphere MQ running on AIX 5.1
Every weekend MQ receives a kill -30 signal from some process or user and offloads a big error file. There is no way in MQ through which that process can be tracked.
Is there something which i can do on UNIX level to trap the process?
Best... (3 Replies)
Hi folks
I'm trying to write a signal handler (in c on HPUX) that will catch the child process launched by execl when it's finished so that I can check a compliance file.
The signal handler appears to catch the child process terminating however when the signal handler completes the parent... (3 Replies)
Hello all,
I am starting to learn signal handling in Linux and have been trying out some simple codes to deal with SIGALRM. The code shown below sets a timer to count down. When the timer is finished a SIGALRM is produced. The handler for the signal just increments a variable called count. This... (7 Replies)
Hi all
I have Master script, Main script ,and 4 Child script.
Master.sh
#!/bin/bash
/export/home/user/Main.shMain.sh
#!/bin/bash
/export/home/user/Child1.sh &
/export/home/user/Child2.sh &
/export/home/user/Child3.sh &
/export/home/user/Child4.sh &I run only Master.sh script... (1 Reply)
I'am expecting a signal, but no signal is received when the stack-size reaches 10 bytes.
Here in this code i'am setting rlim_cur=10bytes.
To be more precise, when it reaches 10 bytes the process must receive a SIGSEGV signal? But i find no signal being received.
Am i missing something in this... (0 Replies)
Hello all,
I have a problem when installing Solaris 10 on Enterprise 450.
I booted from dvd, then the installation was started. The error appeared after determining the installation method, F2-Standard, F?-Flash......
The error was Exiting signal 6.
Please, need help. Thank you (4 Replies)
Hello I want to know how can i use signal function in c for keyboard interrupt handling. what i exactly want is : my program is processing and if i press any key while processing , the program should call the interrupt and displays/prints that key and now goes back to processing.
I added the... (5 Replies)
Task 1:
#!/bin/ksh
if
then
echo "Usage : $0 Signalnumber PID"
exit
fi
case "$1" in
1) echo "Sending SIGHUP signal"
kill -SIGHUP $2
;;
2) echo "Sending SIGINT signal"
kill -SIGINT $2
;;
3) echo "Sending SIGQUIT signal"
kill -SIGQUIT $2 (3 Replies)
Discussion started by: Ramesh M
3 Replies
LEARN ABOUT DEBIAN
grc
GRC(1) General Commands Manual GRC(1)NAME
grc - frontend for generic colouriser grcat(1)SYNOPSIS
grc [options] command [args]
DESCRIPTION
grc will execute command command with optional parameters [args] piping its stdout or stderr into grcat, with apropriate configuration
file.
Configuration file for grc is determined by /etc/grc.conf file.
Format of /etc/grc.conf: each entry consists of 2 lines, between entries there can be any number of empty lines or lines beginning with #
(comments)
First line is regular expression, second line the name of configuration file for grcat.
Configuration file after the first regular expression matching command [args] will be passed to grcat as its configuration file
OPTIONS --help Show summary of options.
--version
Display version.
-e --stderr
Redirect error output. Unless -s is selected as well, this cancels redirection of standard output via grcat
-s --stdout
Redirect standard output. Used to redirect standard output together with --stderr option.
--colour=x
x is one of on off auto
--colour=on will colourise (default)
--colour=off will just execute command without colourising.
--colour=auto will test if standard output is a tty, and colourise only when it is.
SEE ALSO grcat(1)AUTHOR
Written by Radovan Garabik <garabik @ kassiopeia.juls.savba.sk>
GRC(1)