Python: Get Today’s Current Date and Time

H ow do I find out the current date and time in Python? What is the module or function I need to use to get current time or date in Python programming language?   You…

Python sleep(): Add Delay In A Seconds To Suspend Execution Of A Script

I am a new Python user. I would like to delay execution for five seconds in a Python script. How do I add a time delay in Python on Unix/Linux? Is there a sleep command…

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

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…

How to fix Httpoxy a CGI PHP/Nginx/Apache/Go application vulnerability on Linux or Unix

A serious vulnerability was discovered in how CGI scripts are used by Linux or Unix that use PHP, Go, Python, and other scripting languages. How do I fix Httpoxy a CGI application vulnerability on Linux…

Linux / Unix: “-bash: python: command not found” error and solution

I am a new user and trying to run Python program. I have a cloud based VM/VPS and when I type python mycode.py at the terminal of my server, I get the following error: -bash:…

How to login with root password when using Ansible tool

I need to run a Linux command over 20 servers using a root user and password in Ansible too. How do I pass a user and password in Ansible over ssh based session? How can…

How To Install the Django Web Framework 2 on Ubuntu 16.04

D jango 2.0 released. How do I install it on the Ubuntu Linux 16.04 LTS server? How do I create a sample “Hello world” view and /admin/ section for Django 2.x?   Django is a…