nixCraft Linux / UNIX Newsletter

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

How to check RAID configuration in Linux

Posted: 14 Dec 2018 11:23 AM PST

I need to check RAID configuration in Linux. How do you check your current software RAID configuration in a Linux-based server powered by RHEL/CentOS or Debian/Ubuntu Linux?

The post How to check RAID configuration in Linux appeared first on nixCraft.

Bash check if string starts with character such as #

Posted: 14 Dec 2018 08:25 AM PST

My bash shell script read a config file line-by-line using a bash while loop. I need to check if a string stored in $var starts with some value such as # character. If so I need to ignore that value and read the next line from my config file. How do I check if variable begins with # in bash shell scripting running on a Linux or Unix-like operating systems?

The post Bash check if string starts with character such as # appeared first on nixCraft.

How to secure Apache with Let’s Encrypt Certificates on RHEL 8

Posted: 14 Dec 2018 05:18 AM PST

I read that Let's Encrypt is a free, automated, and open certificate for web server and other usages. How do I secure Apache with Let's Encrypt Certificates on RHEL 8?

The post How to secure Apache with Let’s Encrypt Certificates on RHEL 8 appeared first on nixCraft.