Linux

How to search text in Ubuntu Linux

How to search text in Ubuntu Linux 1- Install ack-grep by typing #sudo apt-get install ack-grep 2- Change to the directory where you want ...

|

How to record linux ssh terminal output and replay it for all users

How to record linux ssh terminal output and replay it for all users we can get it done using script command .you can save ...

|

How to Install VMware Tools on CentOS 7

How to Install VMware Tools on CentOS 7 # yum install -y open-vm-tools check file is exist # ls /usr/bin/vmtoolsd Now reboot the server ...

|

How to check directory size in Linux

How to check directory size in Linux DU command uses for disk uses you can use du command to check directory size. for example ...

|

How to update Centos 5 .X and cannot find a valid baseurl for repo

How to update Centos 5 .X and cannot find a valid baseurl for repo If you are using CentOS 5.x and want to install ...

|

iptables port forwarding

iptables port forwarding I am port forwarding  public ip x.x.x.x  to private ip 192.168.200.200  . iptables -A INPUT -i eth0 -p tcp –dport 5001 ...

|

how to configure Static IP on Centos 6

how to configure Static IP on Centos 6 ## Configure eth0 # # vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=”eth0″ NM_CONTROLLED=”yes” ONBOOT=yes HWADDR=A4:BA:DB:37:F1:04 TYPE=Ethernet BOOTPROTO=static NAME=”System eth0″ UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 ...

|

How to Show All NAT Tables Rules IPTABLES

How to Show All NAT Tables Rules IPTABLES iptables -t nat -L iptables -t nat -L -n -v | grep 'something' iptables -t nat ...

|

no “setup” command found in CentOS minimal install

no “setup” command found in CentOS minimal install In Minimum Install this will not get install If we got below Error, we need to ...

|