8 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. Shell Programming and Scripting
hi all,
i want to write a script using vi editor ...the problem is given below...
Set the abbreviation for “Infosys Technologies Limited” as ITL and list it.
Type ITL in the insert mode and check whether the ITL is getting substituted by “Infosys Technologies Limited”
... (3 Replies)
Discussion started by: sonu_pal
3 Replies
5. Shell Programming and Scripting
Hi,
Can somebody tell the usage of "$_"
cd $_ ?
and ls $_ ? (4 Replies)
Discussion started by: giri_luck
4 Replies
6. 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
7. UNIX for Dummies Questions & Answers
Can someone explain the use and meaning of "$*" expression. (2 Replies)
Discussion started by: sinpeak
2 Replies
8. UNIX for Dummies Questions & Answers
Just saw this OEM abbreviation during installation of Solaris 8.
I'm curious to know what the letters stand for and what OEM actually is. (3 Replies)
Discussion started by: Kanu77
3 Replies