root@tealc:/# grep -i color /root/.mc/ini
[Colors]
base_color=directory=white,default:executable=brightgreen,
default:link=lightgray,default:device=lightmagenta,default:special=brightred,
default:normal=lightgray,default:selected=black,lightblue:marked=yellow,
default:markselect=yellow,cyan:core=cyan,default:editnormal=lightgray,default
base_color must be one line.
Ubuntu:
To enable smart completion, edit your /etc/bash.bashrc file. Uncomment the following lines, by removing the # in the beginning of the lines:
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi
Now you can use tab completion to power your way through commands.
http://ubuntu.wordpress.com/2006/01/28/turn-on-bash-smart-completion/
Gentoo:
Now add the following line to /etc/bash/bashrc, before setting any alias (see bug #98627):
| File: /etc/bash/bashrc |
[[ -f /etc/profile.d/bash-completion ]] && source /etc/profile.d/bash-completion |
Let the changes take effect:
# source /etc/bash/bashrc
Or exit the shell and login again.
Enable this in your /etc/pam.d/su
# Uncomment this if you want wheel members to be able to
# su without a password.
auth sufficient pam_wheel.so trust
PS: You must create the wheel group
# Uncomment to allow members of group sudo to not need a password
#%sudo ALL=NOPASSWD: ALL
Comment this line:
%admin ALL=(ALL) ALL
Many system administrators may be in the habit of re-booting their
systems to make partition changes visible to the kernel. With Linux,
this is not usually necessary. The partprobe command, from the parted
package, informs the kernel about changes to partitions.
Q. I am using vim under Ubuntu Linux and whenever I type following command:
syntax on
I’m getting an error which read as follows:
E319: Sorry, the command is not available in this version: syntax on
How do I fix this problem?
A. Vim is a text editor that is upwards compatible to Vi. It can be
used to edit all kinds of plain text. It is especially useful for
editing programs.
There are a lot of enhancements above Vi: multi level undo, multi
windows and buffers, syntax highlighting, command line editing,
filename completion, on-line help, visual selection, etc
Ubuntu Linux comes with tiny version of vim.
All you need to do is installed full vim version by typing following command:
$ sudo apt-get install vim
You can add syntax on command to ~/.vimrc file
http://www.cyberciti.biz/faq/howto-install-full-vim-under-ubuntu-linux/
1. Installing fonts for single login use
1a. using kfontview
1b. by hand
2. Installing fonts for system wide use
3. Installing Microsoft Windows Fonts (eg. Times New Roman)
1. Installing fonts for single login use
1a. using kfontview
The easiest way to install fonts is using kfontview. Try running “kfontview” from the command line.
If you do not have kfontview installed, as root run:
# apt-get install kcontrol
This will download a few dependencies, so if you are short on disk
space or simply do not want to install KDE, use the instructions in
step 1b
Run “kfontview” from the command line
From the kfontview window, open the font you have downloaded.
Click on the “Install” button
NOTICE: You will probably need to resize the window to see the “Install” button which is in the lower right hand corner.
Click on the “Personal” button
1b. by hand
If ~/.fonts does not exist, create it:
$ mkdir ~/.fonts
Copy the font, from the command line, run the following:
$ cp [fontfile] ~/.fonts
From the command line, run the following:
$ fc-cache -f -v ~/.fonts
or alternatively, log out, and log back in.
2. Installing for system wide use
Make the following directory as root:
# mkdir /usr/share/fonts/truetype/myfonts
Copy the font(s) into the newly created directory:
# cp [fonts] /usr/share/fonts/truetype/myfonts
(or use /usr/local/share/fonts)
Run the following:
# fc-cache -f -v
3. Installing Windows Fonts (eg. Times New Roman)
Make sure you have the “universe” repository added. If not, as root,
modify your /etc/apt/sources.list and uncomment the deb line which will
look something like this:
# deb http://us.archive.ubuntu.com/ubuntu dapper universe
Then update apt-get:
# apt-get update
Run the following as root:
# apt-get install msttcorefonts
/etc/modprobe.d/blacklist:
blacklist ipv6
http://ubuntu-tutorials.com/2007/11/18/how-to-disable-ipv6-on-ubuntu-710-gutsy-gibbon/