Home » Linux Tutorials » Tip

Tip

[May 16, 2013 | Views: 194]
read more »
[Mar 30, 2013 | Views: 262]
With Emacs, I feel happy. I love the rich functions of Emacs, such as compiling, quickly jumping to the lines with compilation error and debugging with gdb, and more. I ... read more »
[Feb 26, 2013 | Views: 16,910]
I frequently create new user accounts and change or set password for these accounts on a batch of Linux boxes. The create new user can be done by one command ... read more »
[Feb 22, 2013 | Views: 624]
My .vimrc .emacc files can be downloaded from here: http://github.com/zma/config_files My text editors are especially configured for source code such as C/C++/shell editing. I prefer to use spaces instead of tab. And ... read more »
[Feb 14, 2013 | Views: 618]
1. Close IPV6 support # echo "alias net-pf-10 off" >> /etc/modprobe.conf # echo "alias ipv6 off" >> /etc/modprobe.conf Type “about:config” into the address line and enter. Set “network.dns.disableIPv6″ to “true” 2. Some other tweaks Type “about:config” ... read more »
[Jan 14, 2013 | Views: 5,228]
The firmware version can be easily checked out in Linux by dmidecode, a tool to locate the computer’s Desktop Management Interface (DMI) table and dump the content to human-readable content. ... read more »
[Dec 26, 2012 | Views: 437]
‘ffmpeg’ can do the work of capturing Linux desktop video very well. ffmpeg is a very fast video and audio converter that can also grab from a live audio/video source. ... read more »
[Dec 12, 2012 | Views: 253]
Vim is my favourite text editor and I also prefer to use Vim to compose Email. I ever used Vim as Thunderbird’s External editor with the help of plugin. I ... read more »
[Dec 12, 2012 | Views: 328]
We may drop the file system caches on Linux to free up memory for applications. Kernels 2.6.16 and newer provide [url=http://linux-mm.org/Drop_Caches]a mechanism[/url] via the /proc/ to make the kernel drop ... read more »
[Dec 12, 2012 | Views: 561]
I experienced very slow WiFi network on Linux, while my iPhone seems surf the Internet quit fast. I pinged a site and the RTT is more than 1000ms! There must ... read more »
[Dec 12, 2012 | Views: 60]
Copying some text to a new file is a common operation on Linux. I usually do this by opening the file with ‘vim’, pasting the text in ‘vim’, and then ... read more »
[Nov 29, 2012 | Views: 3,321]
I don’t use xdm, gdm or kdm… I prefer my Linux booting to init 3. I like logging in to the command-prompt and starting X manually with startx. In my ... read more »
[Nov 27, 2012 | Views: 424]
Twitter’s API is easy to use: curl -u username:password -d status="Tweeting msg" http://twitter.com/statuses/update.xml or curl -u username -d status="Tweeting msg" http://twitter.com/statuses/update.xml Then type in password. I have written a script twitter: #!/bin/bash username=USERNAME password=PASSWORD curl -u $username:$password -d status="$*" ... read more »
[Nov 27, 2012 | Views: 130]
How to query installed files from a package and query which package one installed file is in will be introduced. Query installed files from a package $ rpm -ql package_name Query which package ... read more »
[Nov 27, 2012 | Views: 1,240]
Firefox can be much faster on Linux! Let’s speed up Firefox on Linux system. Part 1 and 2 only config firefox, so it can also be used on other platform ... read more »
[Nov 27, 2012 | Views: 980]
We may not want to update kernel on a stable server while updating the application in the system. If we use “yum update”, we may install the new kernel. In ... read more »
[Nov 27, 2012 | Views: 2,350]
mplayer/mencoder are powerful tools. This is a list of useful mplayer/mencoder commands. Extract the audio, convert it to PCM and write the resulting wave file to audio.wav: mplayer -vo null -hardframedrop -ao ... read more »
[Nov 27, 2012 | Views: 615]
We need more loop devices on Linux than the default number (most commonly 8) some time, such as we are building 12 or more virtual machines on top of xen ... read more »
[Nov 27, 2012 | Views: 178]
When I get my new Compaq Presario CQ35-240TX, of course, the first thing is to install Fedora ;) But unfortunately, after installation there is no sound! It seems there is something ... read more »
[Nov 27, 2012 | Views: 714]
MPlayer has a fully configurable, command-driven control layer which allows you to control MPlayer using keyboard. Below is a list of mostly used MPlayer keyboard control. They comes from the ... read more »