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 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?
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?
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?
want to run a cron job that should run a specific shell script /home/jobs/sync.cache.sh every minute. How do I use crontab to execute script every minute on Linux or Unix-like system?
want ALL cyberciti.biz to go to www.cyberciti.biz for SEO and other reasons. I want ALL HTTP traffic to go to HTTPS. How do I redirect all HTTP/HTTPS non-www (e.g. domain name cyberciti.biz) traffic to www (e.g. domain name www.cyberciti.biz) when using Nginx web server?
hen I log in to my Ubuntu Linux 16.04 LTS AWS cloud server, I get the message on screen: /dev/xvda2 should be checked for errors
. I can not run fsck command on /dev/xvda1 because it is mounted. How do I check my disk for error without corrupting data?