– ifconfig : This utility is used to check the IP address assigned to each of the ethernet/interface : # ifconfig eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255 inet6 fe80::42:a2ff:fecb:2ba0 prefixlen 64 scopeid 0x20<link> ether 02:42:a2:cb:2b:a0 txqueuelen 0 (Ethernet) RX […]
Tag: linux
File system hierarchy in Linux
In Unix/Linux everything is organized in the form of files, whether it’s devices, directories, files, etc. A file is a smallest unit in which the information is stored. Directories and their usage – / The file system root. /root The home directory of the root user. The root user’s home directory is located outside […]
Linux OS Run Levels
When any Linux system boots, init is the first process to kick in which is responsible for running other processes/start scripts. These processes then take care of initialization of the hardware, networking etc. Init process looks for the default run level in the /etc/inittab file and start scripts corresponding to the default run level. 0 – […]