1.
Linux Commando: Remap useless Caps Lock key in X
Press the new Esc key(formerly Caps Lock), and then the key b. This should move the cursor back a word. The above will do the key remapping for your ...
2.
Linux Commando: Remap Caps Lock key for virtual console windows
The keycode for the Caps Lock key is 0x3a in hex, or 58 in decimal. Find out the symbolic name (key symbol) of the key that you want to map ...
3.
Linux Commando: Delete Windows/DOS carriage return characters from ...
Delete Windows/DOS carriage return characters from text files ... Below are various ways to remove the Carriage Control characters from each ...
4.
Linux Commando: Quick hex / decimal conversion using CLI
To convert a number from hexadecimal to decimal: $ echo $((0x15a)) 346 $ printf '%d\n' 0x15a 346 $ perl -e 'printf ("%d\n", 0x15a)' ...
5.
Linux Commando: Clear screen without losing the current command
The command clear clears the screen. An alternative way to clear the terminal screen is through a shortcut: Control-L. Control-L gives you a bonus: if you ...
6.
Linux Commando: Part 1: How to work with Access Control Lists from ...
-rw-r--r-- 1 peter peter 60097 2007-12-08 10:55 targets.txt. Use setfacl -m to set Access Control List for the file. $ setfacl -m group:sales-g:rw- targets. ...
7.
Linux Commando: Delete Windows/DOS carriage return characters from ...
Unix/Linux uses a single Line Feed (LF) character as line break. Windows/DOS uses 2 characters: Carriage Return/Line Feed (CR/LF). ...
8.
Linux Commando: How I repaired a corrupted grub menu.lst config file
The weird-looking file name suggested strongly that the GRUB config file, /boot/grub/menu.lst, got corrupted by the upgrade. ...
9.
Linux Commando: How I repaired a corrupted grub menu.lst config file
The weird-looking file name suggested strongly that the GRUB config file, /boot/grub/menu.lst, got corrupted by the upgrade. ...
10.
Linux Commando: How I repaired a corrupted grub menu.lst config file
The weird-looking file name suggested strongly that the GRUB config file, /boot/grub/menu.lst, got corrupted by the upgrade. ...