nixCraft Linux / UNIX Newsletter

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

How to enable firewalld logging for denied packets on Linux

Posted: 17 Sep 2020 01:36 AM PDT


{Updated} How do I enable FirewallD logging for denied packets on Linux operating systems so that I can view all dropped packets information? How can I view a log of the traffic blocked by FirewallD under a CentOS/RHEL (Red Hat Enterprise Linux)/Suse/OpenSUSE Linux?

The post How to enable firewalld logging for denied packets on Linux appeared first on nixCraft.

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

Posted: 16 Sep 2020 12:23 PM PDT


{Updated} I type 'find . -type d -iname foo -delete command to find all 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 my Linux server. How do I delete directories based on find command output on Linux or Unix-like system?

The post How to find and delete directory recursively on Linux or Unix-like system appeared first on nixCraft.