Содержание

Working in text mode

Howto change the keyboard layout in text mode on a linux-based operating system

You can find all the different keymaps in the following location:
Debian based distro's - /usr/share/keymaps/i386/ or /usr/share/kbd/keymaps/i386/

Redhat based distro's - /lib/kbd/keymaps/i386

To change the keymap you can do the following:

loadkeys us

Shutdown and reboot

shutdown -h now
shutdown -r now

Copy files over ssh

scp [[user@]from-host:]source-file [[user@]to-host:][destination-file]

source

MC shell connection

cd #sh:yourusername@example.com:[port]/home/username/
cd #sh:root@localhost:10022

source

Linux kernel version

uname -r
cat /proc/version
rpm -q kernel
dmesg | grep Linux
ls /boot

Installing linux sources

sudo apt-get install linux-source