IT Knowledge Base

Technical Repository

HowTo: Linux – How to find out which file system is causing the DF command to hang

If you type “df -k” in a terminal window, and the command hangs (does not return), to find which filesystem is causing the hang: 1. Type mount -p to print the list of mounted file systems: # mount -p 2. Now type your df command again: # df -k Compare the output of the two commands, […]

Read More


HowTo: Find Linux Version

Kernel Version $ uname -a Linux localhost 3.11.0-3-generic #8-Ubuntu SMP Fri Aug 23 16:49:15 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Release Version $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Saucy Salamander (development branch) Release: 13.10 Codename: saucy $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION=”Ubuntu Saucy Salamander (development branch)” $ […]

Read More


HowTo: View boot messages behind the splash screen on Linux

Press Alt + D D stands for “Details”. Edit Grub to remove the splash screen. 1. Interrupt the GRUB by hitting the Esc key 2. Press e to edit 3. Remove the rhgb quiet at the kernel line 4. Press Enter and hit b to continue booting

Read More


HowTo: CentOS – Minimal. Configure Network Adapter

Check IP address ip addr Note: ifconfig has been depreciated in Linux versions. Most systems will be using the IP command from now on. ip http://srobb.net/ip.html Additional Commands can be found here. nano /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static ONBOOT=yes PEERDNS=yes IPADDR=15.15.15.15 NETMASK=255.255.255.0 GATEWAY=15.15.15.1 nano /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 Restart the networking service for configurations to take […]

Read More


HowTo: CentOS 7 Minimal – Install Development Tools

Unlike Ubuntu where you can use apt-get install build-essentials, on CentOS you will need to run the following command to install those packages. yum install gcc gcc-c++ kernel-devel

Read More