Различия
Здесь показаны различия между двумя версиями данной страницы.
Следующая версия | Предыдущая версия | ||
dev:ubuntu:textmode [2012/11/29 08:59] jamis7005 создано |
dev:ubuntu:textmode [2012/11/29 12:59] (текущий) jamis7005 [MC shell connection] |
||
---|---|---|---|
Строка 2: | Строка 2: | ||
===== Howto change the keyboard layout in text mode on a linux-based operating system ===== | ===== Howto change the keyboard layout in text mode on a linux-based operating system ===== | ||
- | Posted by Jimmy Huybrechts on Tuesday 21 June 2011 [16:28] | + | You can find all the different keymaps in the following location:\\ |
- | Whenever you want to change the keyboard layout of the shell eg. terminal or ssh of a linux system you can do this in the following way: | + | Debian based distro's - |
+ | ''/usr/share/keymaps/i386/'' or ''/usr/share/kbd/keymaps/i386/'' | ||
- | === Debian based distro's === | + | Redhat based distro's - |
+ | ''/lib/kbd/keymaps/i386'' | ||
+ | To change the keymap you can do the following: | ||
+ | loadkeys us | ||
- | You can find all the different keymaps in the following location: /usr/share/keymaps/i386/ or /usr/share/kbd/keymaps/i386/ to change the keymap you can do the following: | ||
- | loadkeys us | ||
- | ( if you want the united states international keymap ) | + | ===== Shutdown and reboot ===== |
- | === Redhat based distro's === | + | shutdown -h now |
+ | shutdown -r now | ||
+ | |||
+ | |||
+ | ===== Copy files over ssh ===== | ||
+ | scp [[user@]from-host:]source-file [[user@]to-host:][destination-file] | ||
+ | |||
+ | [[http://www.garron.me/linux/scp-linux-mac-command-windows-copy-files-over-ssh.html|source]] | ||
+ | |||
+ | |||
+ | ===== MC shell connection ===== | ||
+ | cd #sh:yourusername@example.com:[port]/home/username/ | ||
+ | cd #sh:root@localhost:10022 | ||
+ | | ||
+ | [[http://unix.stackexchange.com/questions/29419/how-to-connect-through-sftp-to-a-non-standard-port-on-midnight-commander|source]] | ||
- | You can find all the different keymaps in the following location: /lib/kbd/keymaps/i386 to change the keymap you can do the following: | ||
- | loadkeys us | ||
- | ( if you want the united states international keymap ) | + | |
+ | ===== 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 |