use screen as a terminal emulator to connect to serial consoles

screen /dev/tty<device> 9600
Use GNU/screen as a terminal emulator for anything serial console related. screen /dev/tty eg. screen /dev/ttyS0 9600 MacOSX: Cheat Sheet:
Sample Output
$ screen /dev/ttyUSB0 9600

*** Welcome to pfSense 2.0-BETA3-nanobsd (i386) on pfsense ***

  WAN (wan)                 -> xl1        -> x.x.x.x (DHCP)
  LAN (lan)                 -> xl0        -> 192.168.x.1 
  PUBLICWIFI (opt1)         -> xl0_vlan2  -> 192.168.x3.1 
  PRIVATEWIFI (opt2)        -> xl0_vlan1  -> 192.168.x2.1 

 pfSense console setup 
 0)  Logout (SSH only)
 1)  Assign Interfaces
 2)  Set interface(s) IP address
 3)  Reset webConfigurator password
 4)  Reset to factory defaults
 5)  Reboot system
 6)  Halt system
 7)  Ping host
 8)  Shell
 9)  PFtop
10)  Filter Logs
11)  Restart webConfigurator
12)  pfSense Developer Shell
13)  Upgrade from console
14)  Disable Secure Shell (sshd)

Enter an option:

1 Alternatives + Submit Alt

What Others Think

If this works, goodby minicom
oernii3 · 587 weeks ago
Works nice with Arduino too, to send/receive over serial. See
justleen · 586 weeks ago
Is hard send break via screen to Cisco in order to enter bootrom. For this is better to use Minicom Ctrl+a f combination. Full list of Break signals on different software from Cisco website:
kramer · 482 weeks and 2 days ago
Thank you for this information. | upholstery Coffs harbour
LJ29921 · 27 weeks 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: