Bash read file names from a text file and take actionnixCraft
I need to read a list of file names from a text file named input.txt and take action each file name. How do I read file names from a text file and say run /bin/foo command on each file? How do I read...
View ArticleBash get exit code of command on a Linux / UnixnixCraft
I am a new Linux system user. How do I get the exit code of a command? How do I get the exit code of Linux or Unix shell command and store it into a shell variable?The post Bash get exit code of...
View ArticleMicrosoft is building Edge on top of Chromium (open source version of Google...
It is official now. Microsoft is throwing away old code base of Edge browser and making next version of Edge browser on top of Chromium. The open source project behind Google Chrome is known as...
View ArticleHow To Find Out Nginx VersionnixCraft Updated Tutorials/Posts
{Recently updated}How do I print Nginx web server version using command line option under Unix like operating systems? How do I check nginx version?The post How To Find Out Nginx Version appeared first...
View ArticleLinux List All Users In The SystemnixCraft Updated Tutorials/Posts
I am a new Linux sys admin and I'm unable to find the command to list all users on my RHEL server. What is the command to list users under Linux operating systems?The post Linux List All Users In The...
View ArticleBash Find out the exit codes of all piped commandsnixCraft Updated...
How do I get exit status of process that's piped to another (for e.g. 'netstat -tulpn | grep nginx') on a Linux or Unix-like system using a bash shell? The post Bash Find out the exit codes of all...
View ArticleHow to install wget on RHEL 8 using the dnf commandnixCraft Updated...
I am a new Red Hat Enterprise Linux (RHEL) 8 user. How do I install wget on RHEL 8 using the dnf command?The post How to install wget on RHEL 8 using the dnf command appeared first on nixCraft.
View ArticleHow to install wget on RHEL 8 using the dnf commandnixCraft Updated...
I am a new Red Hat Enterprise Linux (RHEL) 8 user. How do I install wget on RHEL 8 using the dnf command?The post How to install wget on RHEL 8 using the dnf command appeared first on nixCraft.
View ArticleHow to find out Raspberry Pi GPU and ARM CPU temperature on LinuxnixCraft...
I am using a Raspberry PI 2/3 credit size computer. How do I find out my Raspberry PI GPU or CPU temperature from Linux operating system command line option? How do I monitor the core temperature of my...
View ArticleHow to setup a UFW firewall on Ubuntu 16.04 LTS servernixCraft Updated...
How do I setup a firewall with UFW (uncomplicated firewall) on an Ubuntu Linux 16.04 LTS server to restrict traffic on my personal web-server that hosts my pictures and blogs for my family members?The...
View ArticleHow to install Nvidia driver on CentOS 7 LinuxnixCraft
I am a new CentOS 7 Linux desktop user. I need to use Nvidia software for my video editing software and other purposes. How do I install the Nvidia driver on CentOS 7 Linux?The post How to install...
View ArticleHow to install Nvidia driver on CentOS 7 LinuxnixCraft
I am a new CentOS 7 Linux desktop user. I need to use Nvidia software for my video editing software and other purposes. How do I install the Nvidia driver on CentOS 7 Linux?The post How to install...
View ArticleFreeBSD 12 released: Here is how to upgrade FreeBSD 11 to 12nixCraft
The FreeBSD project announces the availability of FreeBSD 12.0-RELEASE. It is the first release of the stable/12 branch. The new version comes with updated software and features for a wild variety of...
View ArticleFreeBSD 12 released: Here is how to upgrade FreeBSD 11 to 12nixCraft
The FreeBSD project announces the availability of FreeBSD 12.0-RELEASE. It is the first release of the stable/12 branch. The new version comes with updated software and features for a wild variety of...
View ArticleLinux / UNIX: Check If File Is Empty Or Not Using Shell ScriptnixCraft...
How do I check if a file is empty or not using bash or ksh shell script under a UNIX / Linux / macOS / OS X / BSD family of operating systems? How do I check if a file is empty in Bash?The post Linux /...
View ArticleHow To Install Linux, Apache, MySQL, PHP (LAMP) stack On RHEL 8nixCraft
How do I set up a LAMP stack on RHEL 8 cloud server or VPS or bare metal server? How can I install Linux, Apache, MySQL/MariaDB, PHP (LAMP) stack On RHEL (Red Hat Enterprise Linux) 8?The post How To...
View ArticleHow To Install Linux, Apache, MySQL, PHP (LAMP) stack On RHEL 8nixCraft
How do I set up a LAMP stack on RHEL 8 cloud server or VPS or bare metal server? How can I install Linux, Apache, MySQL/MariaDB, PHP (LAMP) stack On RHEL (Red Hat Enterprise Linux) 8?The post How To...
View ArticleHow to secure Apache with Let’s Encrypt Certificates on RHEL 8nixCraft
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...
View ArticleBash check if string starts with character such as #nixCraft
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...
View ArticleHow to check RAID configuration in LinuxnixCraft
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...
View Article