aspose file tools*
The moose likes Linux / UNIX and the fly likes Curious about sb command.Need exact details. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Curious about sb command.Need exact details." Watch "Curious about sb command.Need exact details." New topic
Author

Curious about sb command.Need exact details.

Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Hi all,

I'm a proud Fedora 9 User.
while typing I found a command named sb.
But dont have much info about it as man sb..has no manual pages.
What i think, this is may be something like scp command for file transfer.
if anyone know what are the exact details and how to use this command then please let me know.
Am just curious about the usage of this command.
posting the outputs for reference.




Thanks.

Ricky
[ October 04, 2008: Message edited by: Ricky Boxon ]

Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

sb is the batch version of sz; try "man sz". It's for sending files over serial links. There's also an rb, the batch version of rz, which receives files over such a link. "man rz" will tell you about that part.


[Jess in Action][AskingGoodQuestions]
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Hey Ernest Friedman-Hill Thanks man.

when trying man sz i found something like

Sz uses the ZMODEM, YMODEM or XMODEM error correcting protocol to send
one or more files over a dial-in serial port to a variety of programs
running under PC-DOS, CP/M, Unix, VMS, and other operating systems.

Can you provide me one example where i can use it.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

A long, long time ago, back when I was your age, maybe, there were actually computers that were not connected to a network! Hard to believe, actually, but true! Turns out there wasn't even necessarily a network for them to connect to, half the time. So if you wanted to move data between computers, you used a serial line, either via a pair of modems and a telephone line, or a direct connection with a big fat RS232 serial cable. A lot of computers don't even have these "serial ports" anymore, but in the old days, PCs had as many as four of them, as they were used for a lot of things. XMODEM, YMODEM, and ZMODEM are standard protocols for file transfer over a serial connection, and there were actually others, as well. A program named "Kermit" was an extremely popular way of not only sending files over serial, but keystrokes too; I spent many an hour typing to a mainframe through a serial cable that snaked through the acoustic cieling tile of my lab at MIT.

Anyway, when would you use these programs? Nowadays, only very rarely, like if you need to download code to an old-fashioned embedded system board with a serial port. But even many small embedded system board have USB or Ethernet connections these days!

You damn kids, get the hell off my lawn!
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Thanks a lot Ernest
Really Great Info.






Cheers!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Curious about sb command.Need exact details.