connects to a serial console

cu -s 9600 -l /dev/ttyS0
cu (call UNIX) establishes a full-duplex connection to another machine (*BSD) using a serial console. It becames more useful than screen if you have to send a BREAK signal. using cu just type "~#". man cu
Sample Output
$ cu -l /dev/ttyUSB1 -s 9600
# reboot
syncing disks... done

Resetting ... 

Sun Blade 100 (UltraSPARC-IIe), No Keyboard
OpenBoot 4.0, 768 MB memory installed, Serial #51173105.
Ethernet address 0:3:ba:c:d6:f1, Host ID: 830cd6f1.

Rebooting with command: boot                                          
Boot device: /pci@1f,0/ide@d/disk@0,0:a  File and args: 
OpenBSD IEEE 1275 Bootblock 1.3
..>> OpenBSD BOOT 1.4
Trying bsd...
Booting /pci@1f,0/ide@d/disk@0,0:a/bsd

By: cp
2010-07-08 06:33:55

1 Alternatives + Submit Alt

What Others Think

This is so 80's!
simonbarkow · 624 weeks and 4 days ago
This is so 80s!
simonbarkow · 624 weeks and 4 days ago
no it is not; this is the way i communicate to my net4801 box.
cp · 624 weeks and 4 days ago
... and "countless" sparcs
cp · 624 weeks and 4 days ago
welcome to the new millenium
simonbarkow · 624 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: