Glossary for Linux Commands

Changing the font-size in the console under Ubuntu server.


Modify the font-size on Linux server can be useful. Although it is not a standard issue in spite of this when we are using virtualization, and we do not have ssh, then it can be substantial.

sudo dpkg-reconfigure console-setup

About the screen program


* The Screen is a full-screen software program. * When you are dealing with multiple programs from a command line interface, then you can separate programs from the terminal shell with the use of Screen. * It also allows you to share your sessions with other users and detach/attach terminal sessions.

Important commands

  • Install: sudo apt-get install screen
  • Listing: screen -ls
  • Enter the screen: screen
  • Detach screen: ctrl+a+d
  • Re-attach screen: screen -r [pid]
  • Running named screen as deamon: screen -dmS [whatever-name]
  • Destroy screen: screen [pid] kill

Check process on a specific port

lsof -i:[port number]
eg:
lsof -i:2999
linux, commands, kow-how
comments powered by Disqus