How to check whether a full reboot is required

Determine whether a full CentOS 7 reboot is required and which services need to be restarted.

How to increase the system-wide number of available file handles

Increase the system-wide number of available file handles (open files).

How to clear bash history on logout

Automatically clear GNU Bourne-Again SHell history when you exit a login shell.

Categories
SysOps

How to inspect parent processes

Inspect parent processes to determine whether shell script or specific process has been executed locally, remotely, or by any other application.

How to determine whether standard input file descriptor is referring to a terminal

Determine whether the standard input file descriptor refers to a terminal which can be useful to ensure that the shell script is executed using an interactive terminal.

How to reboot system during recovery

Reboot Linux operating system during recovery when shell is executed instead of standard init process.

How to limit bandwidth on specific network interface

Limit bandwidth on specific network interface using wondershaper.

Categories
Uncategorized

How to change system hostname

Query and change the system hostname.

How to upgrade Ubuntu 18 LTS to the latest release

Upgrade Ubuntu 18 LTS to the latest Ubuntu 20 LTS (Long Term Support) release.

Categories
Uncategorized

How to change the number of reserved filesystem blocks

Change the number of reserved filesystem blocks.