Search Results

Search: Posts Made By: sandeep909
12,950
Posted By sandeep909
try this uuencode file2.txt file2.txt |mailx...
try this
uuencode file2.txt file2.txt |mailx -s "subject" muraliinfy04@gmail.com

---------- Post updated at 05:59 PM ---------- Previous update was at 05:57 PM ----------

or else if you...
5,845
Posted By sandeep909
try '${USERH}' and '${CMD1}'
try '${USERH}'

and

'${CMD1}'
31,497
Posted By sandeep909
Are you keeping the quote in a loop?
Are you keeping the quote in a loop?
31,497
Posted By sandeep909
hi, Try this.. find /home/test -name $dir...
hi,

Try this..
find /home/test -name $dir -exec rm -rf {} \;
8,286
Posted By sandeep909
Use TZ variable to change the date
Use TZ variable to change the date
6,149
Posted By sandeep909
hi, what i mean by temp variable is nothing...
hi,

what i mean by temp variable is nothing but YDAY in your script.. and your default time zone will not be override as your are using now.

and in script ftp block might not work.. Replace...
6,149
Posted By sandeep909
hi, you can use the TZ variable to match...
hi,

you can use the TZ variable to match your server timings.. but if you want exactly the same time and date yesterday, you have to use TZ=MYT+16..

if i am not wrong MYT is malaysian time......
6,149
Posted By sandeep909
TZ means time zone.... and MYT is your local...
TZ means time zone.... and MYT is your local time.. 16 is difference from GMT to get yesterday date...
and your are taking it into variable so it would not override default time zone.

you can run...
6,149
Posted By sandeep909
hi, so now you can use as below code... ...
hi,

so now you can use as below code...

YDAY=`TZ=MYT+16 date '+%y%m%d%'`
6,149
Posted By sandeep909
hi lifeseries, how current date displays...
hi lifeseries,

how current date displays when you type date command.

you can use TZ..
6,149
Posted By sandeep909
hi, try using below code. ...
hi,

try using below code.


Ydate=`date '+%y:%m:%d' | awk -F":" '{printf"20%2d%2d%2d\n",$1,$2,($3-1)}' | sed 's/ /0/g'`
4,665
Posted By sandeep909
how to execute shell script in another server that contain sql.
yeah in host server is having oracle 10 and remote server is having oracle 8.
4,665
Posted By sandeep909
how to execute shell script in another server that contain sql.
hi all,

how to execute shell script in another server that contain sql script. i tried using "ssh -l" option.. but i am unable to load the environment variable of the remote host.
please...
Showing results 1 to 13 of 13

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