Search Results

Search: Posts Made By: dannyd_y
8,250
Posted By dannyd_y
putty script
i was having problem on unix command.here's my script


set server_exe="C:\filecopy\putty.exe"
%server_exe% sgxaspecs3@sporc01 -pw pit54321 -b c:\filecopy\file_sporc01putfiles2.txt
echo "file...
20,127
Posted By dannyd_y
Thanks, i'll try it out. My purpose is when i...
Thanks, i'll try it out. My purpose is when i login putty, i want it to be Alive at all time even i didnt use it for a while period, because putty will disconnected from server after 30mins when i;ve...
20,127
Posted By dannyd_y
where i suppose to typ>? you mean in the server...
where i suppose to typ>? you mean in the server huh?
i have found one command, ssh -2 -o 'TCPKeepAlive=yes' username@hostname

but can't work....:(
20,127
Posted By dannyd_y
Sorry i'm not sure what u mean?:confused:
Sorry i'm not sure what u mean?:confused:
20,127
Posted By dannyd_y
Putty KeepAlive command
Could anyone pls tell me what's the Putty KeepAlive command, use to prevent the putty disconnected from server.thanks
3,991
Posted By dannyd_y
Ok i've fixed year=`date '+%Y'` ...
Ok i've fixed

year=`date '+%Y'`
month=`date '+%m'`
day=`date '+%d'`
day=`expr $day - 1`

case $month in
1 | 3 | 5 | 7 | 8 | 10 | 12)
if [ $day = 7 ]
then
$day=6
fi
;;

4 | 6 | 9 | 11)...
3,991
Posted By dannyd_y
Snytax error on If Statement--help
year=`date '+%Y'`
month=`date '+%m'`
day=`date '+%d'`
day=`expr $day - 1`

case $month in
1 | 3 | 5 | 7 | 8 | 10 | 12);;

if($day =7 ); then
$day=6
fi

4 | 6 | 9 | 11);;
if [ $day = 0 ]...
2,840
Posted By dannyd_y
:D Thanks so much guys...i'll try it out.
:D Thanks so much guys...i'll try it out.
2,840
Posted By dannyd_y
Calender Unix programming date issues
Hi, i;m beginner of Unix, i trying to use crontab to zip my log file automatically, below is my coding, some of the statement i don't know whether is correct or not. Pls help:)

year=`date '+%Y'`...
Showing results 1 to 9 of 9

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