View Single Post

  #3 (permalink)  
Old 06-12-2008, 02:09 AM
sanjus sanjus is offline
Junior Member
User
 
Join Date: Jun 2008
My distro: Debian
Posts: 2
Rep Power: 0
sanjus is on a distinguished road
Default

before posting, i did browse the Linux Shell Scripting Tutorial posted on this forum - however, i did not find any reference to check files (or for that matter conditional checking) on remote servers.

The servers do have ssh access and i would like to do real-time checking just like we do on local server (if [-f <file-name>] ... ) rather than ftping the file back & forth.

something: if [-f ssh remote-server:/home/<user-name>/filename ] ... )

thanks.
Reply With Quote