Command line

Command line

How to know what version of Ubuntu you're using

With Ubuntu's LTS (Long Time Support) and usual 6 months release cycle, sometimes you tend to confuse or forget what version of Ubuntu you are using.

How to know what version of Ubuntu you're using?

Easy! Fire up your your terminal and type this command:

lsb_release -a

HyperTerminal replacement in Ubuntu - Minicom

I was kinda surprise that HyperTerminal is not available anymore in Windows Vista. No problem, I rebooted my notebook to Ubuntu and fire-up minicom.

  1. By default, minicom is not installed in Ubuntu, so you need to install it first.
    sudo apt-get install minicom
  2. Find the name of your Serial Port
    dmesg | grep tty
    In the output look for something like "tty". The output in my case is like this:
    $ dmesg | grep tty
    [ 17.341823] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

Start or stop the printer spooler from a command line

To start or stop the printer spooler from a command line, follow these steps:

  1. Open a command prompt.
  2. Execute the following commands, depending on your intent: net start spooler to start the spooler, or net stop spooler to stop it.
Syndicate content