Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Tag: system-administration
Deleting files after 7 days not working
I am trying to delete all files that are older than 7 days. The command is working but not correctly. It does delete files but it’s not accurate. The find does delete files, but when I run the ls command does contain files that should be deleted. For example today is November 7th. The find should delete…
Executable Unix script cannot be found by which command
I have a Unix bash script written by a former teammate that must be in my PATH, though I can’t find it by manual inspection (see below). I can however execute it anywhere by just typing I would like to view and edit this script. However, when I try to find it via the which command, I get a blank
nginx rewrite rule for two php parameters
Can you please help me to write rewrite rule for ngnix : I tried below rewrite URL but it is not working: Answer The regex you’re actually looking for is: https://regex101.com/r/uC1wH6/3 I believe that should be converted into Apache as follows:
How do I extract the contents of an rpm?
I have an rpm and I want to treat it like a tarball. I want to extract the contents into a directory so I can inspect the contents. I am familiar with the querying commands of an uninstalled package. I do not simply want a list of the contents of the rpm. i.e. I want to inspect the contents of