Bash
mailx or mail command in Linux is still providing service for guys like me, especially when we need to send email automatically by script. gmail is great. Now, how to ... 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 »
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 ... read more »
ns is a discrete-event network simulator targeted primarily for research and educational use. There are two version of ns, ns-2 and ns-3, which are quite different with each other in ... read more »
There is various network configuration information in Linux and lots tools can be used to find out those configuration information. Finding out these network information in Fedora Linux as the ... read more »
How to find out Linux and Windows uptime is introduced in this post.
Linux uptime
Linux uptime can be easily found out by the uptime command:
$ uptime
22:19:29 up 10 days, 22:26, 5 ... read more »
Advanced Bash-Scripting Guide – An in-depth exploration of the art of shell scripting
by Mendel Cooper
Link here: http://www.tldp.org/LDP/abs/html/index.html read more »
~/.bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
. ~/.alias
# export GTK_IM_MODULE=ibus
##################################
~/.alias
alias rm=’rm -i’
alias l=’ll -h’
##################################
~/.lftprc
set ftp:charset GBK
set file:charset UTF-8
#set net:connection-limit 30
set net:reconnect-interval-base ... read more »