nixCraft Linux / UNIX Newsletter

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

Disable SELinux on CentOS 7 / RHEL 7 / Fedora Linux

Posted: 18 Jul 2019 10:51 AM PDT

I need to disable SELinux on CentOS 7. How can I disable SELinux from the command line over ssh based session?

The post Disable SELinux on CentOS 7 / RHEL 7 / Fedora Linux appeared first on nixCraft.

How To Install Speedtest-cli On a CentOS / RHEL / Fedora Linux To Check Internet Speed

Posted: 18 Jul 2019 09:40 AM PDT


I do not want to use Adobe flash based speed testing site due to security concern on my desktop. How do I install Speedtest-cli on a CentOS Linux or Fedora Linux or Red Hat Enterise Linux (RHEL) for checking the Internet speed?

The post How To Install Speedtest-cli On a CentOS / RHEL / Fedora Linux To Check Internet Speed appeared first on nixCraft.

Getting Yesterdays or Tomorrows Day With Bash Shell Date Command

Posted: 18 Jul 2019 08:43 AM PDT


When invoked without arguments, the date command displays the current date and time. Depending on the options specified, the date would set the date and time or print it in a user-defined format. However, how do you get yesterdays with bash? What about tomorrows day? I have seen many sysadmins writing Perl scripts for calculating relative dates such as yesterdays or tomorrows day. You can use the GNU date command, which is designed to handle relative date calculation such as:

The post Getting Yesterdays or Tomorrows Day With Bash Shell Date Command appeared first on nixCraft.