Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] deleting a local list of filenames from remote server
- Date: Fri, 5 Dec 2008 14:42:21 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] deleting a local list of filenames from remote server
- References: <4935289F.4090309@jj.em-net.ne.jp> <200812020955.05333.daniel.ramaley@drake.edu> <20081205.105638.193691166.acmuller@jj.em-net.ne.jp> <49389E78.7070207@bebear.net>
- User-agent: Mutt/1.5.17 (2007-11-01)
On 2008-12-05 12:22 +0900 (Fri), Edward Middleton wrote: > If you understand what this does the problem will be obvious. > > ssh user@example.com remote_command < pcache-update > > says run remote_command on user@example.com and send the contents of the > file *pcache-update in your current local directory*.... Actually, to be more precise: some-command < foo > bar says: open the file foo for reading, and truncate and open the file bar for writing, and only once this has been done, start the command some-command with the the foo file handle as stdin and the bar file handle as stdout. The shell to which you are typing this command will do all unquoted redirections, expansion of * and ?, and so on before it runs the command you've given it. So when you use a command such as ssh, that executes things on a remote server, all of those things will use files and so on from the local environment. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com
- References:
- [tlug] deleting a local list of filenames from remote server
- From: Charles Muller
- Re: [tlug] deleting a local list of filenames from remote server
- From: Daniel A. Ramaley
- Re: [tlug] deleting a local list of filenames from remote server
- From: Charles Muller
- Re: [tlug] deleting a local list of filenames from remote server
- From: Edward Middleton
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] deleting a local list of filenames from remote server
- Next by Date: Re: [tlug] deleting a local list of filenames from remote server
- Previous by thread: Re: [tlug] deleting a local list of filenames from remote server
- Next by thread: Re: [tlug] deleting a local list of filenames from remote server
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links