Tag Archives: linux tutorials

Ubuntu Enable & Setup Automatic Unattended Security Updates

Ubuntu Enable & Setup Automatic Unattended Security Updates

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.

Halal Vitamins

Powered by WPeMatico

How to compile and install Linux Kernel 4.18.8 from source code

How to compile and install Linux Kernel 4.18.8 from source code

Compiling a custom kernel has its advantages and disadvantages. However, new Linux user/admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things and then type a couple of commands. This step by step howto covers compiling Linux kernel version 4.18.xx under an Ubuntu or Debian Linux. The following instructions successfully tested on an RHEL 7/CentOS 7 (and clones), Debian Linux, Ubuntu Linux and Fedora Linux 28. However, instructions remain the same for any other Linux distribution.

The post How to compile and install Linux Kernel 4.18.8 from source code appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

Linux find largest file in directory recursively using find/du

Linux find largest file in directory recursively using find/du

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.

Halal Vitamins

Powered by WPeMatico

CentOS / RHEL See Detailed History Of yum history Commands

CentOS / RHEL See Detailed History Of yum history Commands

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.
Halal Vitamins

Powered by WPeMatico

Unix / Linux Print Environment Variables Command

Unix / Linux Print Environment Variables Command

I am a new shell user. How do I print or list environment variables on Linux and Unix-like operating system using shell prompt? In Linux and Unix, how can I print values of all my environment variables?

The post Unix / Linux Print Environment Variables Command appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

Linux / Unix id Command Examples

Linux / Unix id Command Examples

I am a new Linux and Unix system user. How do I find out the user and groups names and numeric IDs of the current user or any users on my server? How can I display and effective IDs on the system using command line options? In Linux, how do I find a user’s UID or GID?

The post Linux / Unix id Command Examples appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

curl hide progress bar output on Linux/Unix shell scripts

curl hide progress bar output on Linux/Unix shell scripts

I am a new Ubuntu Linux user. I am writing a shell script and using the curl command to grab URL output using curl https://example.com/data/api/$key/hash.html. However, the curl command is outputting complete progress information that my script does not need it. How can I get curl command not to show the progress bar output? How can I hide curl command output? Is there is a simple way for silencing curl’s progress output on an Ubuntu Linux desktop?

The post curl hide progress bar output on Linux/Unix shell scripts appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Secure Nginx with Let’s Encrypt on Ubuntu 18.04 with DNS Validation

Secure Nginx with Let’s Encrypt on Ubuntu 18.04 with DNS Validation

How do I install and secure Nginx with Let’s Encrypt on Ubuntu 18.04 with DNS validation API? My domain DNS hosted with Cloudflare. How do I install Let’s Encrypt to create SSL certificates with Nginx web server running on an Ubuntu Linux 18.04 LTS server?

The post Secure Nginx with Let’s Encrypt on Ubuntu 18.04 with DNS Validation appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico