![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| logging into | vinayrao | Shell Programming and Scripting | 1 | 03-14-2008 07:57 AM |
| UFS logging | csaunders | SUN Solaris | 6 | 10-11-2005 03:40 PM |
| SSH Logging? | esser | OS X (Apple) | 0 | 03-10-2005 12:56 PM |
| need more logging | dozy | UNIX for Dummies Questions & Answers | 3 | 11-18-2004 06:04 AM |
| logging when someone changes to su | kymberm | UNIX for Dummies Questions & Answers | 1 | 09-17-2002 06:25 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Asking about logging in
Hi, just wriiten a sh script and as my script will try to log into another server to delete some files but when i run , it keeps on saying that my files do not exist. It seems to refer to my local directory instead. Below is my script :
FTP_HOST=ip_number FTP_USER="user password" REMOTE_PATH="/tmp" ## remove remote files (echo user ${FTP_USER} cd ${REMOTE_PATH} rm ${REMOTE_PATH}/*.html rm ${REMOTE_PATH}/*.pdf echo bye ) | ( ftp -n -v ${FTP_HOST}) is this the correct method ?? Thanks |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|