shell
Linux has many tools for mounting, creating and burning iso image files. In this posts, we introduce how to use the iso files on Linux.
1. Mount an iso file
Mouting a ... read more »
Linux booting is usually controlled by Grub or the new Grub2. Setting the default booting entry is a frequent operations. Here, we introduce how to set the default entry in ... read more »
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 »
Update: crontab provides some extensions to support this directly–’Ranges can include “steps”, so “1-9/2″ is the same as “1,3,5,7,9″‘. Check the crontab man page for more details. This post provides ... read more »
Compiling a latex documents may take several steps when bibtex is used with latex. However, this latex compilation process is the same for most documents. We can make it a ... read more »
A script for backing up file-backed Xen DomU is introduced in this post. This script can be changed to similar platform.
In our cluster, virtual machines are stored under /lhome/xen/. Virtual ... read more »
VMware Player and VirtualBox are two cool and free full virtualization solutions and both can run on top of a Linux host. In this post, we introduces how to install, ... read more »
This post is a tutorial for new users to set up git and clone and use the first repository. This post introduces how to start using git for new users. ... read more »
A method to send email notification to a list email addresses by the remote git server after every push from the client will be introduced.
After the client pushing to the ... read more »
NFS is widely deployed and used even after more than twenty year. NFS is easy to set up and easy to use. This introduces how to set up the NFS ... read more »
Different Linux distros have different method to set the hostname. On Fedora Linux, it is quite simple.
Open the /etc/sysconfig/network file
vim /etc/sysconfig/network
Find the line starting with
HOSTNAME=
Assign the hostname for this computer ... read more »
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 »
This post compiles a list of tutorials on the Internet for Linux beginners. Linux beginners usually get headache from the “seemed” complexity of the Linux operation system. But once they ... read more »
On Linux, to find the number of files (inodes) in a directory:
$ find ./ | wc -l
to find the number of files (not directories) in a directory:
$ find ./ -type ... read more »
This post introduces how to erase / blank / format a DVM+RW media on Linux in the command line.
First, you need to find out the device of the DVD/CD+RW drive ... read more »
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 »
iptables is a mechanism in Linux kernel for port forwarding, NAT, firewalls etc. In Linux distros, such as Fedora, the iptables is configured to be as a “strict” firewall that ... read more »
I ever discussed Starting KDE from Command Line by startx for KDE and GNOME. Recently, I installed MATE desktop on Fedora 17 and am very happy with it—dear, Gnome 2 ... read more »
Compress/uncompress files are frequent operations. The normal tools for compressing/uncompressing in Linux is gzip, bzip2, 7z, rar and zip. This post introduces how to compress and uncompress file in Linux ... read more »
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 »