0

UNIX / Linux: 10 Netstat Command Examples

Thanks to the geek stuff Netstat command displays various network related information such as network connections, routing tables, interface statistics, masquerade connections, multicast memberships etc., In this article, let us review 10 practical unix netstat command examples. 1. List All Ports (both listening and non listening ports) List all ports using netstat -a # netstat -a | more Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:30037 *:* LISTEN udp 0 0 *:bootpc *:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [… Continue Reading

0

RPM Command: 15 Examples to Install, Uninstall, Upgrade, Query RPM Packages

Thanks to think geek RPM stands for Red Hat Package Manager. With root privilege, you can use the rpm command with appropriate options to manage the RPM software packages. In this article, let us review 15 practical examples of rpm command. Let us take an rpm of Mysql Client and run through all our examples. 1. Installing a RPM package Using rpm -ivh RPM filename has packagename, version, release and architecture name. For example, In the MySQL-client-3.23.57-1.i386.rpm file: MySQL-client – Package Name 3.23.57 – Version 1 – Release i386 – Architecture When you install a RPM, it checks whether your… Continue Reading

0

How to Backup Linux? 15 rsync Command Examples

Thanks to the geek stuff rsync is used to perform the backup operation in UNIX / Linux. rsync utility is used to synchronize the files and directories from one location to another in an effective way. Backup location could be on local server or on remote server. Important features of rsync Speed: First time, rsync replicates the whole content between the source and destination directories. Next time, rsync transfers only the changed blocks or bytes to the destination location, which makes the transfer really fast. Security: rsync allows encryption of data using ssh protocol during transfer. Less Bandwidth: rsync uses… Continue Reading

1

How to clear hung nfs mounts in linux

Whenever there are network changes or hiccups on systems with NFS mounts the NFS mounts itself will get hung so when you are doing df it will never complete and your session will get hung also. A easy solution to resolve the hung mounts is to look at /etc/mtab and look for nfs entries and identify which ones are having the problem and remove those entries from /etc/mtab.  Take note of the ones thats removed and do a umount -l <mountpoint> and after you got all of the hung nfs mounts you should be able to do df again. We… Continue Reading

0

Inspiron 530 Linux Experience

So recently I purchaed a Dell Inspiron 530 with Core 2 Quad CPU.  According to Dell this computer can only take up to 4GB of memory but it always has the intel G33 chipset and according to intel it should be able to do up to 8GB of memory. From looking at the motherboard it looks like its a OEMed Foxconn G33M motherboard but of course Dell put their own bios and did not solder in 2 of the sata connectors.  If you go into the BIOS you can see 6 SATA connectors but on the physical board itself it… Continue Reading