nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

Ubuntu Enable & Setup Automatic Unattended Security Updates

Posted: 19 Sep 2018 02:19 PM PDT

I have minimal Ubuntu Linux 18.04 LTS server setup in the cloud. I read that one can configure Ubuntu Linux to download and install security updates when released automatically. How can I set up automatic security updates on Ubuntu Linux 18.04 or 16.04 LTS system?

The post Ubuntu Enable & Setup Automatic Unattended Security Updates appeared first on nixCraft.

Linux find largest file in directory recursively using find/du

Posted: 19 Sep 2018 12:35 PM PDT

I have 500GB SSD installed on my Linux server. My web server is running out of the disk space. I need to find a biggest or largest file concerning file size on the disk. How do I find largest file in a directory recursively using the find command?

The post Linux find largest file in directory recursively using find/du appeared first on nixCraft.

CentOS / RHEL See Detailed History Of yum history Commands

Posted: 19 Sep 2018 11:59 AM PDT


I would like to see detailed information on the history of yum transactions such as updates, deleted packages, and other information. How do I see history of yum commands on a CentOS Linux/ RHEL 6.x or 7.x based server? How do I undo or redo or rollback packages using yum command?

The post CentOS / RHEL See Detailed History Of yum history Commands appeared first on nixCraft.

Bash get basename of filename or directory name

Posted: 19 Sep 2018 06:00 AM PDT

I need to extract file basename in bash running on Linux. How can I use bash to get basename of filename or directory name for given path?

The post Bash get basename of filename or directory name appeared first on nixCraft.