preload
Jul 06

Some Websites (Except English and Unicode Sites ) need separate font software for viewing information.If the website has font download option then download the “.ttf” font and just follow the steps
(You need root privileges for doing this)

1.Copy the (.ttf or .TTF fonts to fonts folder)

# cp /home/user/senthami.ttf /usr/local/share/fonts/

2.Update the fonts database

# fc-cache -f -v ~/.fonts

or

#fc-cache -f -v /usr/local/share/fonts/

[fc-cache scans the font directories on the system and builds font information cache files for applications using fontconfig for their font handling]
-f => force to update the font database
-v => verbose – viewing information while updating
(Source Linux Man Page)

3.Restart your Web Browser

Mar 10

Sometime you may want to change the user login name into different one,
In that case you can use two options

(Login or switch to root mode – su)

Method 1: ( Using usermod command )
usermod -l newname oldname

Example
#usermod -l anthoniraj antony

Here the user antony has been changed to anthoniraj

Method 2 : ( Using chfn command )
chfn -f newname oldname

Example
#chfn -f thiraviam thiravi

Here the user thiravi has been changed to thiraviam

Note : The old user name should exists in /etc/passwd file .
These above two commands will only change the user name, not user home directory.

Feb 07
1. Shutdown
o init 0
o shutdown -h now
+ -a: Use file /etc/shutdown.allow
+ -c: Cancel scheduled shutdown.
o halt -p
+ -p: Turn power off after shutdown.
o poweroff

2.Reboot
o init 6
o shutdown -r now
o reboot

3.Enter single user mode:
o init 1