Tag: command

Resetting the Root Password of RHEL-7 / systemd

Environment Red Hat Enterprise Linux 7. Issue How to reset the root password of a RHEL-7 / systemd ? RHEL-7 ask for a root password even after booting in Single user mode. Not able to change the root password in single user mode Resolution 1) Boot your system and wait until the GRUB2 menu appears. […]

ESXi Firewall Commands – ESXi Shell

You can configure the ESXi firewall at the command line. Firewall Configuration Using the ESXi Shell The vSphere Web Client graphical user interface provides the preferred means of performing many configuration tasks. However, you can use the ESXi Shell to configure ESXi at the command line. Firewall Commands Command Description esxcli network firewall get Returns […]

NMAP – scan for unused or down IP’s

nmap -v sn -n 192.168.3.0/23 -oG – | awk ‘/Status: Down/{print $2}’ -sn (No port scan) . This option tells Nmap not to do a port scan after host discovery, and only print out the available hosts that responded to the scan. This is often known as a “ping scan”, but you can also request […]

Redhat tuned-adm

Installing and configuring Tuned To start using tuned we will first need to install the packages for it: [root@server ~]# yum install tuned After the packages are installed we can query the status of the tuning daemons using the tuned-adm activecommand: [root@server ~]# tuned-adm active Current active profile: off Service tuned: disabled, stopped Service ktune: disabled, stopped As […]

chattr command – rarely used gem

Cool Command Perform as root set this bit to esnure file cannot be accessed to anyone ;even root # chattr +i foo_file undo the above # chattr -i foo_file show attributes # lsattr foo_file i——–  foo_file The following bit allows only appending to a file – not changing existing content # chattr +a foo_file to unset execute below […]

SEARCH

Categories

Get Free Shipping on Everything All Season Long
Best Buy Co, Inc.
Best Buy Co, Inc.