Unix Technical Forum

What does "rb" at the command prompt do ?

This is a discussion on What does "rb" at the command prompt do ? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Slackware version 11. I was wanted to set up an alias in my .profile and was going to use ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:34 PM
Paul J. Dudley
 
Posts: n/a
Default What does "rb" at the command prompt do ?

Slackware version 11.

I was wanted to set up an alias in my .profile and was going to use
"rb" to equal "shutdown -r now". I thought I'd try it at the prompt
first to see if'n rb meant anything already. Sure enough it came
back with "Receiving" followed by a "C" a few seconds later, then
another "C" a few seconds after, etc .. etc .. Ctrl C had no effect.
So I did kill -9 on it.

What is "rb" ...?

advTHANKSance

Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:34 PM
Thomas Overgaard
 
Posts: n/a
Default Re: What does "rb" at the command prompt do ?


Paul J. Dudley wrote :

> What is "rb" ...?


~$ whereis rb
rb: /usr/bin/rb

$ ls -l /usr/bin/rb
lrwxrwxrwx 1 root root 2 2006-11-21 21:05 /usr/bin/rb -> rz*

$ man rz
DESCRIPTION
This program uses error correcting protocols to receive files over a
dial-in serial port from a variety of programs running under PC-DOS,
CP/M, Unix, and other operating systems.
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:34 PM
Kees Theunissen
 
Posts: n/a
Default Re: What does "rb" at the command prompt do ?

Paul J. Dudley wrote:
> Slackware version 11.
>
> I was wanted to set up an alias in my .profile and was going to use
> "rb" to equal "shutdown -r now". I thought I'd try it at the prompt
> first to see if'n rb meant anything already. Sure enough it came
> back with "Receiving" followed by a "C" a few seconds later, then
> another "C" a few seconds after, etc .. etc .. Ctrl C had no effect.
> So I did kill -9 on it.
>
> What is "rb" ...?
>


Let's have a look.


~$ which rb
/usr/bin/rb
~$ file /usr/bin/rb
/usr/bin/rb: symbolic link to `rz'
~$ file /usr/bin/rz
/usr/bin/rz: symbolic link to `lrz'
~$ file /usr/bin/lrz
/usr/bin/lrz: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped

Are there any manpages?

$ man rb
No manual entry for rb

But "man rz" and "man lrz" succeed:


RZ(1) RZ(1)

NAME
rx, rb, rz - XMODEM, YMODEM, ZMODEM (Batch) file receive

SYNOPSIS
rz [- +8abeOpqRtTuUvy]
rb [- +abqRtuUvy]
rx [- abceqRtuUv] file
[-][v]rzCOMMAND

DESCRIPTION
This program uses error correcting protocols to receive files over a
dial-in serial port from a variety of programs running under PC-DOS,
CP/M, Unix, and other operating systems. It is invoked from a shell
prompt manually, or automatically as a result of an "sz file ..."
command given to the calling program.
[...]



Regards,

Kees.

--
Kees Theunissen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:34 PM
Alan Clifford
 
Posts: n/a
Default Re: What does "rb" at the command prompt do ?

On Wed, 4 Apr 2007, Paul J. Dudley wrote:

PJD>
PJD> What is "rb" ...?
PJD>


rb --help

--help is always worth trying if

man rb

doesn't come up with the goodies.

Actually, I ran "strings /usr/bin/rb" and saw there was some help
information.


--
Alan

( If replying by mail, please note that all "sardines" are canned.
However, unless this a very old message, a "tuna" will swim right
through. )

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:34 PM
Paul J. Dudley
 
Posts: n/a
Default Re: What does "rb" at the command prompt do ?

On Wed, 04 Apr 2007 16:54:53 +0000, Paul J. Dudley wrote:

> Slackware version 11.
>
> I was wanted to set up an alias in my .profile and was going to use
> "rb" to equal "shutdown -r now". I thought I'd try it at the prompt
> first to see if'n rb meant anything already. Sure enough it came
> back with "Receiving" followed by a "C" a few seconds later, then
> another "C" a few seconds after, etc .. etc .. Ctrl C had no effect.
> So I did kill -9 on it.
>
> What is "rb" ...?
>
> advTHANKSance
>
> Paul


Many thanks for all replies on my query on "rb". I had checked for
any man page and new not what next to try.

rb --help
which rb
file /usr/bin/rb
file /usr/bin/lrz
"man rz" and "man lrz"
whereis rb
:
etc
:
I never knew .... I am not yet as knowledged as some of
you out there. Some day.. ( ..? ).

Hey, while were at it, and since I don't use X, Y or Zmodem
( and haven't since my 50dx2 days ) would there be any harm
in putting 'rb' in my .profile to equal 'shutdown -r now' ..?

Thanks again

Paul

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:34 PM
loki harfagr
 
Posts: n/a
Default Re: What does "rb" at the command prompt do ?

On Wed, 04 Apr 2007 22:16:42 +0000, Paul J. Dudley wrote:

> On Wed, 04 Apr 2007 16:54:53 +0000, Paul J. Dudley wrote:
>
>> Slackware version 11.
>>
>> I was wanted to set up an alias in my .profile and was going to use
>> "rb" to equal "shutdown -r now". I thought I'd try it at the prompt
>> first to see if'n rb meant anything already. Sure enough it came back
>> with "Receiving" followed by a "C" a few seconds later, then another
>> "C" a few seconds after, etc .. etc .. Ctrl C had no effect. So I did
>> kill -9 on it.
>>
>> What is "rb" ...?
>>
>> advTHANKSance
>>
>> Paul

>
> Many thanks for all replies on my query on "rb". I had checked for
> any man page and new not what next to try.


That'll depend only on "where do you want to glow today"
(mmh, I guess I will regret this shaggy dog fake quite soon)

>
> rb --help
> which rb
> file /usr/bin/rb
> file /usr/bin/lrz
> "man rz" and "man lrz"
> whereis rb
> :
> etc
> :
> I never knew .... I am not yet as knowledged as some of you out there.
> Some day.. ( ..? ).


There's no such thing called 'day', all present's already passed, yet,
maybe someday.

>
> Hey, while were at it, and since I don't use X, Y or Zmodem
> ( and haven't since my 50dx2 days ) would there be any harm in putting
> 'rb' in my .profile to equal 'shutdown -r now' ..?


Well, quite probably using an alias, already used for smth (biG) you
won't ever collide with, is safe. I'd just wonder why you have this
absolute need to use "rb"? Wouldn't you have some other choices?
( like RB BB BBBBBB BOO SHOOO Brb _rb or assigning some event to
some KB-key while we're about some cuztumazashoon ;-)

Short answer: the "command" 'halt' already exists and you may like to
know that 'reboot' has quite a sound though virtual and quick existence?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:34 PM
Paul J. Dudley
 
Posts: n/a
Default Re: What does "rb" at the command prompt do ?

On Wed, 04 Apr 2007 22:57:20 +0000, loki harfagr wrote:

> On Wed, 04 Apr 2007 22:16:42 +0000, Paul J. Dudley wrote:
>
>> On Wed, 04 Apr 2007 16:54:53 +0000, Paul J. Dudley wrote:
>>
>>> Slackware version 11.
>>>
>>> I was wanted to set up an alias in my .profile and was going to use
>>> "rb" to equal "shutdown -r now". I thought I'd try it at the prompt
>>> first to see if'n rb meant anything already. Sure enough it came back
>>> with "Receiving" followed by a "C" a few seconds later, then another
>>> "C" a few seconds after, etc .. etc .. Ctrl C had no effect. So I did
>>> kill -9 on it.
>>>
>>> What is "rb" ...?
>>>
>>> advTHANKSance
>>>
>>> Paul

>>
>> Many thanks for all replies on my query on "rb". I had checked for
>> any man page and new not what next to try.

>
> That'll depend only on "where do you want to glow today"
> (mmh, I guess I will regret this shaggy dog fake quite soon)
>
>>
>> rb --help
>> which rb
>> file /usr/bin/rb
>> file /usr/bin/lrz
>> "man rz" and "man lrz"
>> whereis rb
>> :
>> etc
>> :
>> I never knew .... I am not yet as knowledged as some of you out there.
>> Some day.. ( ..? ).

>
> There's no such thing called 'day', all present's already passed, yet,
> maybe someday.
>
>>
>> Hey, while were at it, and since I don't use X, Y or Zmodem
>> ( and haven't since my 50dx2 days ) would there be any harm in putting
>> 'rb' in my .profile to equal 'shutdown -r now' ..?

>
> Well, quite probably using an alias, already used for smth (biG) you
> won't ever collide with, is safe. I'd just wonder why you have this
> absolute need to use "rb"? Wouldn't you have some other choices?
> ( like RB BB BBBBBB BOO SHOOO Brb _rb or assigning some event to
> some KB-key while we're about some cuztumazashoon ;-)
>
> Short answer: the "command" 'halt' already exists and you may like to
> know that 'reboot' has quite a sound though virtual and quick existence?


Bootstrap is too long. Not sure about my rb fetish. It's just some thing
(same as something) I'd easily remember I guess. Rhythm&Blues ..yahhh!

Paul

P.s. Thanks again y'alls..

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 09:34 PM
~kurt
 
Posts: n/a
Default Re: What does "rb" at the command prompt do ?

Paul J. Dudley <pauljdudley@earthlink.net> wrote:
>
> Many thanks for all replies on my query on "rb". I had checked for
> any man page and new not what next to try.


"apropos" and "whatis" are also helpful in these cases.

apropos is very helpful when you are just looking for a command to do
something, and you have no idea what the command is. Came in real
handy before google'ing stuff up was an option.

- Kurt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com