10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. 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
10. 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
NOHUP(1) User Commands NOHUP(1)
NAME
nohup - run a command immune to hangups, with output to a non-tty
SYNOPSIS
nohup COMMAND [ARG]...
nohup OPTION
DESCRIPTION
Run COMMAND, ignoring hangup signals.
--help display this help and exit
--version
output version information and exit
If standard input is a terminal, redirect it from an unreadable file. If standard output is a terminal, append output to 'nohup.out' if
possible, '$HOME/nohup.out' otherwise. If standard error is a terminal, redirect it to standard output. To save output to FILE, use
'nohup COMMAND > FILE'.
NOTE: your shell may have its own version of nohup, which usually supersedes the version described here. Please refer to your shell's doc-
umentation for details about the options it supports.
AUTHOR
Written by Jim Meyering.
REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report nohup translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
Full documentation at: <http://www.gnu.org/software/coreutils/nohup>
or available locally via: info '(coreutils) nohup invocation'
GNU coreutils 8.28 January 2018 NOHUP(1)