– 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 […]
Category: Linux
Permissions in Linux
The Linux filesystem gives us three types of permissions. Here is a simplified review: Owner permissions − The owner’s permissions specifies what actions the owner of the file can perform on the file. Group permissions − The group’s permissions specifies what actions a user, who is a member of the group that a file belongs […]
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 […]
Important ESXi Networking Commands
To get the available virtual switches information on ESXi host :- # esxcfg-vswitch -l [root] esxcfg-vswitch -lSwitch Name Num Ports Used Ports Configured Ports MTU UplinksvSwitch0 6656 4 128 9000 vmnic3 PortGroup Name VLAN ID Used Ports UplinksVM Network 0 0 vmnic3Management Network 4095 1 vmnic3 DVS Name Num Ports Used Ports Configured Ports MTU […]
vCenter Appliance Networking Commands
Tool to check and modify the vCenter Appliance Network related configurations: # /opt/vmware/share/vami/vami_config_net Network eth0 configuration file : # /etc/systemd/network/10-eth0.network Command to list all open ports on PSC and vCenter Appliance: – # iptables -L port_filter -n –line-numbers From the above Iptables o/p, identify specific port is being used for which service : # iptables […]