IT Knowledge Base

Technical Repository

Fix: Ubuntu 14 Resolve.conf not dynamically updating with nameservers

sudo dpkg-reconfigure resolvconf

Read More

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: Ubuntu – Force file system check on next boot

Log into your server and issue the following command: sudo touch /forcefsck On the next reboot the server will check the file system for errors during the boot process.

Read More

HowTo: Find the public IP address that a Linux server is behind

Install curl. apt-get install curl Run the following command: [email protected]:~# curl 65.x.x.x

Read More

HowTo: Debian/Ubuntu – nslookup Not Found

You need to install the dnsutils package. The Berkeley Internet Name Domain (BIND) implements an Internet domain name server. BIND is the most widely-used name server software on the Internet, and is supported by the Internet Software Consortium, This package delivers various client programs related to DNS that are derived from the BIND source tree. dig – query the DNS […]

Read More