Re: check if computer is responsive
From: John-Paul Stewart (jpstewart_at_binaryfoundry.ca)
Date: 06/12/04
- Next message: Roumen Semov: "ATA-RAID RAID-0 woes"
- Previous message: Swampee: "Re: Walmart PC's with Linux SUCK."
- Maybe in reply to: Gunnar: "check if computer is responsive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 12 Jun 2004 15:56:58 -0400
Gunnar wrote:
>
> However I found where I went wrong, and I feel kind of silly:
> I copied the script into notepad on Windows, saved it to disk and ftp'd into
> my Linux box.
> then edited it with vi to get the IP address in there. The problem (I guess)
> was that vi treated the file as a DOS text file. There must be characters in
> the file which I don't see in vi (Linefeed, Linebreak?) .
To save you some trouble in the future, when transferring text files
between DOS and Unix via ftp, use 'type ascii' in the ftp client (before
you 'get' or 'put' the file), and the conversion between DOS and Unix
line endings will be done for you. Make sure to revert to 'type binary'
before transferring non-text files (unless you want to corrupt your
binaries)!
- Next message: Roumen Semov: "ATA-RAID RAID-0 woes"
- Previous message: Swampee: "Re: Walmart PC's with Linux SUCK."
- Maybe in reply to: Gunnar: "check if computer is responsive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|