Date Archives June 2018

Shells

bashsh

Shell is a program taking commands from a keyboard and giving them to operating system.

Below are three popular shells on Linux.

bash

  • Bourne Again Shell. The most commonly used shell on Linux.

tcsh

  • Enhanced C shell(csh).

zsh

  • The newest of the shells. Compatible with the Bourne shell. Has powerful completion features.

 

Virtual Consoles

linux terminal

Virtual Consoles enable multi-user logins on a single machine. For example, you can login with your account and also as a root.

 

By default, most Linux versions provide virtual consoles with these keys.

Ctrl + Alt + F1 – F6: Virtual Consoles

Ctl + Alt + F7: A console where X server is running.

 

X

  • is an application that manages one or more graphical displays and input devices(mouse, keyboard, etc.)
  • works as a server.

You have probably heard about X11, X server, or X window.

All of these mean the same, and X11 just means eleventh version of X.

 

You can use a command ‘w’ which shows a list of currently logged-in users. 

w result

tty represents regular terminal.

pts represents pseudo terminal slave(e.g. ssh connection).