03-20-2006
nohup keeps a command running even after user logs off, & runs the script in background and > direct the standar output to mkt_sas_load_cic.out
Bye.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What the folowing statements means and whats the use of it ?
expr $db_name + 2 >/dev/null 2>&1
Thanks. (7 Replies)
Discussion started by: dhananjaysk
7 Replies
2. Shell Programming and Scripting
Hi
Can anybody tell me what is the meaning of the following code?
i=4 j=1 k=0
Specialy meaning of this line
echo $?
Specialy meaning of this line
echo $?
Specialy meaning of this line
echo $?
Thanks in advance
Sas (3 Replies)
Discussion started by: SasDutta
3 Replies
3. Shell Programming and Scripting
ls -ld | grep $1 /etc/passwd | cut -d: -f6
i need see the content... (4 Replies)
Discussion started by: nadman123
4 Replies
4. Shell Programming and Scripting
Hi all,
could you please tell me whats this stands
##*_
0##*/
i knew this alone if some more is there please tell me that also. (3 Replies)
Discussion started by: Arunprasad
3 Replies
5. Shell Programming and Scripting
while getopts :g:l:h: KEY $*
do
case $KEY
in
g) NAME=$OPTARG ;;
l) LAB=$OPTARG ;;
h) HD=$OPTARG ;;
*) echo "Illegal option: $OPTARG"
echo "$usage"
exitStatus=1
exitGrace
esac
done (2 Replies)
Discussion started by: santosh1234
2 Replies
6. Shell Programming and Scripting
Code:
#!/usr/bin/perl -w
use strict;
use warnings;
#Clears Screen
$CLEAR=`clear`;
print $CLEAR;
i get the below error:
Global symbol "$CLEAR" requires explicit package name at ./mutmg.pl line 6.
Global symbol "$CLEAR" requires explicit package name at ./mutmg.pl line 7. (1 Reply)
Discussion started by: sophos
1 Replies
7. Shell Programming and Scripting
Hi ,
iam new with sed command
D:\bfx_db>sed -ne '/^SP2-*:/S/^\<.*\.*\>$/\2\p' reg.sql >>D:\out.log
The filename, directory name, or volume label syntax is incorrect.
Here my source file is reg.sql , i need the output in out.log
Can anybody Help on this???? (4 Replies)
Discussion started by: mhdmehraj
4 Replies
8. Shell Programming and Scripting
if `egrep -c "safe_mode" /usr/local/lib/php.ini` - gt 0 && " `egrep -c "safe_mode" /usr/local/lib/php.ini` = "On" "
then
echo " Good "
exit
else
echo " Not Good ";
fi
and (4 Replies)
Discussion started by: x-zer0
4 Replies
9. Shell Programming and Scripting
Hi,
I would like to ask about the meaning or purpose of set -e in the script bash, Does it mean if a wrong command in the script it will close or exit the script without continuation thats what happen if i set it in the terminal.
Thanks in advance (3 Replies)
Discussion started by: jao_madn
3 Replies
10. Shell Programming and Scripting
Hi All
Can any one please help me to understand the below Perl Code
package Win32::File;
#
# File.pm
# Written by Douglas_Lankshear@ActiveWare.com
#
# subsequent hacks:
# Gurusamy Sarathy
#
$VERSION = '0.06';
require Exporter;
require DynaLoader;
@ISA= qw( Exporter... (1 Reply)
Discussion started by: adisky123
1 Replies
nohup(1) General Commands Manual nohup(1)
NAME
nohup - run a command immune to hangups
SYNOPSIS
command [arguments]
DESCRIPTION
executes command with hangups and quits ignored. If output is not redirected by the user, both standard output and standard error are sent
to If is not writable in the current directory, output is redirected to otherwise, fails. If a file is created, the file's permission bits
will be set to
If output from is redirected to a terminal, or is not redirected at all, the output is sent to
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
If is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty vari-
able. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of
If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See
environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
EXAMPLES
It is frequently desirable to apply to pipelines or lists of commands. This can be done only by placing pipelines and command lists in a
single file, called a shell script. To run the script using
features apply to the entire contents of file. If the shell script file is to be executed often, the need to type can be eliminated by
setting execute permission on file. The script can also be run in the background with interrupts ignored (see sh(1)):
file typically contains normal keyboard command sequences that one would want to continue running in case the terminal disconnects, such
as:
WARNINGS
Be careful to place punctuation properly. For example, in the command form:
applies only to command1. To correct the problem, use the command form:
Be careful of where standard error is redirected. The following command may put error messages on tape, making it unreadable:
whereas
puts the error messages into file
EXIT STATUS
The following exit values are returned:
The command specified by
command was found but could not be invoked
An error occurred in the nohup utility or the specified
command could not be found
Otherwise, the exit status of nohup will be that of the command specified.
SEE ALSO
chmod(1), nice(1), sh(1), signal(5).
STANDARDS CONFORMANCE
nohup(1)