nixCraft Linux / UNIX Newsletter

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

Is my Linux server or desktop affected by WannaCrypt ransomware?

Posted: 16 May 2017 08:31 AM PDT

From my mailbag:
Dear nixCraft,
I run a Debian Linux 8.x on my Desktop and Ubuntu Linux 16.04 LTS on my Linode cloud server for my personal website. I am concerned that my Linux is affected by the recent Wannacrypt malware. I am reading about a ransomware attack, what do I need to do? Should I be worried?
--Concerned Linux User

How to get domain name from URL in bash shell script

Posted: 16 May 2017 05:05 AM PDT

How can I extract or fetch a domain name from a URL string (e.g. https://www.cyberciti.biz/index.php) using bash shell scripting under Linux or Unix-like operating system?