To create the alias use the following syntax: alias name=value alias name=’command’ alias name=’command var1 var2′ alias name=’/path/to/script’ alias name=’/path/to/script.sh var1′ To Remove an alias unalias aliasname
See MoreTag: web hosting cheap
CPU limit: How it works?
Installation: root# cd /usr/src root# wget ‘http://downloads.sourceforge.net/cpulimit/cpulimit-1.1.tar.gz’ root# tar -zxvf cpulimit-1.1.tar.gz root# cd cpulimit-1.1 root# make root# cp cpulimit /usr/local/sbin/ root# rm -rf cpulimit* CPULimit: Using cpulimit we can set limit for process in linux. Limits are expressed in percentage and not in cpu time. It will help us to mange the resources on shared […]
See MoreAssign Second IP in Linux
1. cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1 2. In /etc/sysconfig/network-scripts/ifcfg-eth0:1 change DEVICE=eth0 to DEVICE=eth0:1 3. In /etc/sysconfig/network-scripts/ifcfg-eth0:1 modify IPADDR= to match the additional TCP/IP address you wish to use. 4. Start the secondary interface: ifup eth0:1
See More