Categories
SysOps

How to display packages that are no longer required

Display packages that were installed automatically to satisfy various dependencies and are no longer required.

Categories
SysOps

How extend existing ext4 filesystem using systemd service

Use systemd service to automatically extend existing ext4 filesystem on boot or on-demand to optimize virtual machine configuration.

Categories
SysOps

How to display bind mounts

The simplest possible solution to display bind mounts.

How to determine when the operating system was booted

I have already described how to accurately determine when the system was booted, but there is a simpler solution as you can use /proc filesystem directly.

How to create swap file

Create swap file to optimize virtual machine configuration or just immediately increase available swap space.

How to extract specific file from tar archive

Extract a specific file from a tar archive.

Categories
SysOps

How to increase the number of connection attempts when using ansible

Increase the number of connection attempts when using ansible utility.

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.