Activity for Ordovizâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292336 | Initial revision | — | 3 months ago |
Answer | — |
A: Find path to an executable If you need this in a portable POSIX-compliant script, you should not use `which` but this instead: command -v find (more) |
— | 3 months ago |
Edit | Post #292146 | Initial revision | — | 4 months ago |
Answer | — |
A: Is it a bad idea to pipe a script from curl to your shell? Yes, it's a sloppy practice often joked upon but the security concerns are overblown: Piping unknown code into bash feels scary (and it should), but running `make` can be just as dangerous. Some install scripts make unwanted changes to `.bashrc` or to the filesystem so I still prefer to download the ... (more) |
— | 4 months ago |
Edit | Post #292072 | Initial revision | — | 4 months ago |
Answer | — |
A: How to find all files not part of a package on Arch? ```sh #!/bin/sh export LCALL=C # to make sorting not depend on locale Ignore some well-known directories with many files findargs=' -path /usr/lib/modules -o -path /etc/ssl/certs -o -path /etc/ca-certificates/extracted ' Get all files and directories find /etc /opt /usr \( $findargs ... (more) |
— | 4 months ago |