Find directories and files with permissions other than 775 / 664
I am moving a website from one server to another and Git does not store metadata such as file permissions. I need to find the directories and files that are not 775 / 664 respectively.
I am moving a website from one server to another and Git does not store metadata such as file permissions. I need to find the directories and files that are not 775 / 664 respectively.
How to create a menu in a shell script that will display 3 options that a user will use the arrows keys to move the highlight cursor and press enter to select one?
This answer and comments mention --rfc-3339 and a “hidden” --iso-8601 option that I have used for a long time and now seems to be undocumented.
I have a cron job that is scheduled to run everyday, other than changing the schedule, is there any other way to do a test run of the command right now to see if it works as intended?
eval and exec are both built in commands of bash(1) that execute commands.
I’m trying to run yum update and I’m running this error:
I’m not sure about when to use nc, netcat or ncat.
If one is the deprecated version of another?
If one is only available on one distribution?
If it is the same command but with different names?
Is it possible to redirect all non-local traffic to a socks proxy?
I know I can view the open files of a process using lsof at that moment in time on my Linux machine. However, a process can open, alter and close a file so quickly that I won’t be able to see it when monitoring it using standard shell scripting (e.g. watch) as explained in “monitor open process files on linux (real-time)”.