Tag Archives: ubuntu

FreeBSD add a user to group

FreeBSD add a user to group

How do I add a user to group under FreeBSD operating system? How can I add a user named top to existing group on a FreeBSD? How do I add a user to a group in FreeBSD?

The post FreeBSD add a user to group appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

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

Bash get basename of filename or directory name

Bash get basename of filename or directory name

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.

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