3
votes
Can I use PERL_LWP_SSL_VERIFY_HOSTNAME with HEAD(1)?
To complement @SteffenUllrich's answer, it seems indeed to be a bit of a mess and dependent on the versions of the related perl modules. Here on Debian with these package versions:
package
version
...
2
votes
Accepted
Can I use PERL_LWP_SSL_VERIFY_HOSTNAME with HEAD(1)?
The problem with law.sme.gov.tw is NOT that the name in the certificate is wrong - it actually matches. Instead validating the certificate requires a CA certificate which is not in the trust store.
...
2
votes
Accepted
Replacing the domain string in the compiled binary file with an IP address
Yes, you can do this. I would use something like sed to perform the gross changes and then xxd to give me an editable file that would let me replace the remaining unwanted characters with NULs.
...
2
votes
List a file from all directories but skip the ones whose folder contains a specific file
In ls /home/lf-process/lf-orders/2020/*/*/*/*.xml, it's not ls that finds the matching files, it's the shell that does and passes the list to ls.
ls is a poor choice of a command in that case in that:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
perl × 1391awk × 461
sed × 423
text-processing × 345
linux × 177
bash × 158
regular-expression × 140
shell-script × 135
grep × 82
shell × 76
scripting × 66
python × 58
files × 31
rename × 30
debian × 28
centos × 26
command-line × 26
ksh × 24
cpan × 22
solaris × 18
csv × 18
find × 17
rhel × 15
apache-httpd × 15
ssh × 14