Category: Linux

Linux Server Managment

How to use yum-cron to automatically update RHEL/CentOS Linux nixCraft Updated Tutorials/Posts

The yum command line tool is used to install and update software packages under RHEL / CentOS Linux server. I know how to apply updates using yum update command line, but I would like to

Ubuntu Linux Add a User To Group www-data ( Apache Group ) nixCraft Updated Tutorials/Posts

How do I add a user to the Apache group called www-data under Ubuntu or Debian Linux server operating systems using the command line option?You need to use the useradd command to add a user

How To Install EPEL Repo on an RHEL 8.x nixCraft

How do I install the extra repositories such as Fedora EPEL repo on an Red Hat Enterprise Linux server version 8.x?Introduction – You can easily install various packages by configuring an RHEL 8.x system to

NGINX Updates Mitigate the August 2019 HTTP/2 Vulnerabilities

Today we are releasing updates to NGINX Open Source and NGINX Plus in response to the recent discovery of vulnerabilities in many implementations of HTTP/2. We strongly recommend upgrading all systems that have HTTP/2 enabled. In

How to Install and Configure latest version of Ansible on Ubuntu Linux nixCraft Updated Tutorials/Posts

I am a new Ubuntu Linux user. How do I install Ansible on a Ubuntu Linux 16.04/18.04 LTS or 17.10/18.10 desktop control machine?Introduction: Ansible is a simple and easy to use IT automation tool. One

Linux Find If Processor (CPU) is 64 bit / 32 bit [long mode ~ lm] nixCraft Updated Tutorials/Posts

I am a new Linux system user. How do I determine if my CPU is 64bit or not on a Linux operating systems using command line option? How can I check Linux kernel is in

How to add bash auto completion in RHEL 8 (Red Hat Linux) nixCraft Updated Tutorials/Posts

I set up a new RHEL 8 VM from cloud images, but my auto-completion of bash shell commands are not working. How do I enable autocomplete feature in RHEL 8 (Red Hat Enterprise Linux 8)?

List or Check Installed Linux Kernels using command line nixCraft Updated Tutorials/Posts

How do I list all installed kernel on Linux operating system? How do I find out current kernel version?You can use standard package listing command to list installed Linux kernels on your Linux operating systems.

How to install networked HP printer and scanner on Ubuntu Linux nixCraft

I have HP Officejet Pro printer and scanner. How do I install HP Officejet Pro network printers and scanners on Ubuntu Linux? How can I install HP printer on Ubuntu Linux?Introduction – You need to

How to check if port is in use on Linux or Unix nixCraft Updated Tutorials/Posts

How do I determine if a port is in use under Linux or Unix-like system? How can I verify which ports are listening on Linux server? How do I check if port is in use

How to exclude file when using scp command recursively nixCraft Updated Tutorials/Posts

I need to copy all the *.c files from local laptop named hostA to hostB including all directories. I am using the following scp command but do not know how to exclude specific files (such

How To Set up SSH Keys on a Linux / Unix System nixCraft Updated Tutorials/Posts

I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for

How to check CPU temperature on Ubuntu Linux nixCraft

How do I check CPU temperature in Ubuntu Linux using a command line and GUI tools on my Thinkpad laptop or Desktop computer?One of the most common complaints is the overheating laptop, especially older models.

RHEL / Centos 6 – Install Nginx Using Yum Command nixCraft Updated Tutorials/Posts

How can I install Nginx web server On CentOS Linux 6 or Red Hat Enterprise Linux 6 using the yum command? nginx is a free and open-source high-performance web server. This page shows how to

How to install htop on Ubuntu Linux using apt nixCraft

I like htop output, but it is not installed by default on my Ubuntu cloud server. How do I install htop on Ubuntu Linux 18.04 LTS server?Htop is a free and open source ncurses-based process

Linux / Unix whereis Command Examples nixCraft Updated Tutorials/Posts

I am a new Linux and Unix-like system command line user. How do I find and locate the binary, source, and manual page files for a given command?You need to use the whereiscommand to find

How to install Ansible on Ubuntu 18.04 for IT automation nixCraft Updated Tutorials/Posts

How do I install Ansible on Ubuntu 18.04 workstation? How can I set up and test Ansible playbooks using my Ubuntu Linux desktop?Ansible is an open source and free configuration management IT tool. It is

How to install curl command on Ubuntu Linux nixCraft Updated Tutorials/Posts

I am a new Ubuntu Linux user. I switched from Apple MacOS/Macbook and I am trying to run the curl command from a shell script but getting the following error:bash: curl: command not foundHow do

Linux Monitor Hard Disks Temperature With hddtemp nixCraft Updated Tutorials/Posts

There is an excellent little utility to monitor hard drive temperature. Most modern computer hard disk including SSD comes with S.M.A.R.T (Self-Monitoring, Analysis, and Reporting Technology). It is a monitoring system for computer hard disks

How to check disk space on Unix servers nixCraft

I recently switched from a Windows server 2016 to a FreeBSD Unix server. I need to check disk space on Unix command line. How do I find out disk space utilization information using the Unix