Search Results

Search: Posts Made By: bn_unx
2,026
Posted By bn_unx
what i need to understand is the line below ...
what i need to understand is the line below

echo "$logfile" > $wkdir/log.$$


wat does $$ mean here..
2,026
Posted By bn_unx
explain the commands below
logfile=$(find $jobroot/logs -mtime -1 | grep runoraback ) echo 'here is the logfile:'
echo "$logfile"
echo "$logfile" > $wkdir/log.$$
2,016
Posted By bn_unx
simple if command
#! /bin/sh

envname=$1

if [ "${envname}" =""]; then
echo usage : `basename $0` envname
exit -1
fi

can someone explain what exactly this does
28,371
Posted By bn_unx
scp command
I want to know

how can i use scp command in the reverse fashion

meaning i have two machines server1 and server2

I have files in server1 that i need to copy to server2

But i do not have...
2
foo
7,017
Posted By bn_unx
foo
if [ `echo ${cld}foo|grep $dow` ]; then
echo Its Cold for $sid at $c_dst
$jobroot/scripts/abc.sh $sid COLD $c_dst
elif [ `echo ${hot}foo|grep $dow` ]; then
echo Its Hot for $sid...
22,110
Posted By bn_unx
yes its working fine now...thanks for ure...
yes its working fine now...thanks for ure reply..my script was missing a `

thanks anyways !!
22,110
Posted By bn_unx
Yes i did and i could not find a %w option
Yes i did and i could not find a %w option
22,110
Posted By bn_unx
dow=`date '+%w'`
what does this mean

dow=`date '+%w'`

not sure what the %w is here
7,888
Posted By bn_unx
Do the following 1) vi the file type...
Do the following

1) vi the file

type this :%s/^M//g

To get ^M you hold down the CTRL key, press V then while still holding CTRL, press M.
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy