Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Curious about sb command.Need exact details.

 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 256
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Ernest
Really Great Info.






Cheers!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic