Managing Disk Space in Linux

Find Linux machine local drives, show their total, free and used % in GBs format: [root@myhost ~]# df -k -h Filesystem Size Used Avail Use% Mounted on /dev/cciss/c9d9p2 63G 59G 672M 99% / tmpfs 3.9G 0 3.9G 0% /dev/shm [root@myhost~]#   Find the largest file (s) that are consuming high disk space on your local drive in Linux:   [root@myhost ~]# find / -type f -ls | sort -k 7 -r -n | head -5 4026531862    0 -r——–   1 root     root     9663676416 Jul 11 11:02 /proc/kcore 5701641 2099204 -rw-r–r–   1 oracle   dba      2147483647 Jul 10 15:48 /tmp/launch.log 13206074 2059992 -rw-r–r–   […]

Read more

Configuring DNS – Linux Home Networking

Contents [hide] 1 Introduction 2 Introduction to DNS 2.1 DNS Domains 2.2 BIND 2.3 DNS Clients 2.4 Authoritative DNS Servers 2.5 How DNS Servers Find Out Your Site Information 2.6 When To Use A DNS Caching Name Server 2.7 When To Use A Static DNS Server 2.8 When To Use A Dynamic DNS Server 2.9 How To Get Your Own Domain 2.10 Basic DNS Testing of DNS Resolution 2.10.1 The Host Command 2.10.2 The nslookup Command 2.11 Downloading and Installing the BIND Packages 2.12 Managing the BIND Server 2.13 The /etc/resolv.conf File 2.13.1 Table 18.1 Keywords In /etc/resolv.conf 3 Important […]

Read more

NetworkConfiguration – Debian Wiki

Contents 1. Setting up an Ethernet Interface 1. Using DHCP to automatically configure the interface 2. Configuring the interface manually 3. Setting the speed and duplex 4. Bringing up an interface without an IP address 2. Defining the (DNS) Nameservers 1. The resolv.conf configuration file 2. The resolvconf program 3. DNS configuration for network-manager 4. DHCP Client Configuration 3. Howto use vlan (dot1q, 802.1q, trunk) (Etch, Lenny) 1. Manual config 2. Caveats when using bridging and vlan 3. Network init script config 4. Howto create fault tolerant bonding with vlan (Etch) 1. Network config 2. bonding with active backup 3. […]

Read more