01-05-2010
use ksh...
imp catch...
cd /tmp
cd /etc
ls <dir> ---> some directory
cd $_ -- ?
what will be "pwd" and how ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
#!/bin/sh
$ORACLE_HOME/bin/sqlplus -S $orauserid/$orapasswd@$oradb << _TMP
alter session set nls_date_format = 'YYYYMMDD HH24:MI';
set linesize 100
set pagesize 400
ok the above is part of a script..i just wanna know what does sqlplus -S means?? as in why we need to insert the -S behind? (2 Replies)
Discussion started by: forevercalz
2 Replies
2. AIX
. ${0%${0##*/}}Script_Name
if i issue this command, it is executing the script. can any one tell what is the meaning of ${0%${0##*/}} (7 Replies)
Discussion started by: nyelavarthy
7 Replies
3. UNIX for Dummies Questions & Answers
Can someone explain the use and meaning of "$*" expression. (2 Replies)
Discussion started by: sinpeak
2 Replies
4. Linux
Masters,
I am trying to learn the serial mouse driver for linux kernel. On the kernel source tree I find out these macros and I am unable to find out the meaning of these macros. Please anyone help me to understand these.
These macros are defined in linux/serio.h... (2 Replies)
Discussion started by: iamjayanth
2 Replies
5. UNIX for Dummies Questions & Answers
can some one please tell the meaning of the second statement i.e
n=${m#*=}
i couldnt get the meaning of the #*=
1.) m="mohit=/c/main/issue"
echo $m
result
-----------
mohit=/c/main/issue
2.) n=${m#*=}
echo $n
RESULT
-------
/c/main/issue (1 Reply)
Discussion started by: narang.mohit
1 Replies
6. Shell Programming and Scripting
can someone please tell what !* means in shell syntax.
Regards, (3 Replies)
Discussion started by: busyboy
3 Replies
7. Shell Programming and Scripting
Hi ,
Can anyone please let me know whta the follwoing piece of code for
ScriptName=${0##*/}
if pgrep -f "$ScriptName" | grep -v "^$$\$" ; then
echo `date`": Sctipt $ScritName is already runnig"
exit
fi
Thnx a lot in advance
Please use code tags when posting data and code... (8 Replies)
Discussion started by: Pratik4891
8 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I wanna know the meaning of the last word "<<! "
sudo su - user <<!
please help on this !!!! (1 Reply)
Discussion started by: sudharson
1 Replies
9. Shell Programming and Scripting
Please let me know the meaning for the below statements in shell scripting.
1) exit -99
--------------------------------
2) set prgdir = `pwd`
set runFlag = runFlag:FALSE
-------------------------------------
3) if (-f $prgdir/maillst.eml) then
set distEmail = `cat $prgdir/maillst.eml`... (1 Reply)
Discussion started by: lg123
1 Replies
10. Shell Programming and Scripting
Hello everyone,
I'm looking for the meaning of this expression, as I don't understand it quite clearly : $1^
What do you think it could be?
I thought either:
- match lines starting with argument 1 but it should be ^$1
- turn line around : word becomes drow
Thanks in advance for your... (4 Replies)
Discussion started by: bibelo
4 Replies
IMPLOG(8) System Manager's Manual IMPLOG(8)
NAME
implog - IMP log interpreter
SYNOPSIS
/usr/sbin/implog [ -D ] [ -f ] [ -c ] [ -r ] [ -l [ link ] ] [ -h host# ] [ -i imp# ] [ -t message-type ]
DESCRIPTION
Implog is program which interprets the message log produced by implogd(8C).
If no arguments are specified, implog interprets and prints every message present in the message file. Options may be specified to force
printing only a subset of the logged messages.
-D Do not show data messages.
-f Follow the logging process in action. This flags causes implog to print the current contents of the log file, then check for new
logged messages every 5 seconds.
-c In addition to printing any data messages logged, show the contents of the data in hexadecimal bytes.
-r Print the raw imp leader, showing all fields, in addition to the formatted interpretation according to type.
-l [ link# ]
Show only those messages received on the specified ``link''. If no value is given for the link, the link number of the IP protocol
is assumed.
-h host#
Show only those messages received from the specified host. (Usually specified in conjunction with an imp.)
-i imp#
Show only those messages received from the specified imp.
-t message-type
Show only those messages received of the specified message type.
SEE ALSO
imp(4P), implogd(8C)
BUGS
Can not specify multiple hosts, imps, etc. Can not follow reception of messages without looking at those currently in the file.
4.2 Berkeley Distribution November 16, 1996 IMPLOG(8)