nixCraft Linux / UNIX Newsletter

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

How to find and delete directory recursively on Linux or Unix-like system

Posted: 20 Jun 2017 04:12 PM PDT

I type 'find . -type d -iname foo -delete' command to find the foo directories and delete them. However, I am getting an error message that read as find: cannot delete './hourly.4/data/foo': Directory not empty on Linux server. How do delete directories based on find command output on Linux or Unix-like system?

How to run two or multiple networks instance of Tinc VPN on same box

Posted: 20 Jun 2017 12:37 PM PDT

How do I use Tinc to create a mesh network of two different VPN on the same server? Is it possible to create multiple VPN tunnels between two hosts using tinc VPN software?

How To Patch and Protect Linux Kernel Stack Clash Vulnerability CVE-2017-1000364 [ 19/June/2017 ]

Posted: 20 Jun 2017 11:58 AM PDT

A very serious security problem has been found in the Linux kernel called "The Stack Clash." It can be exploited by attackers to corrupt memory and execute arbitrary code. An attacker could leverage this with another vulnerability to execute arbitrary code and gain administrative/root account privileges. How do I fix this problem on Linux?

How to find out if my Ubuntu/Debian Linux server needs a reboot

Posted: 20 Jun 2017 05:00 AM PDT

I use ansible-playbook to update my VMs and bare metal servers hosted in a remote data center. How do I tell, whether the Ubuntu Linux server requires a reboot using the command line over ssh based session?