mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 03:02:53 +01:00
23 lines
494 B
Markdown
23 lines
494 B
Markdown
<!-- @format -->
|
|
|
|
Simple bash scripts I have in `/usr/local/bin` that may be trivial to
|
|
recreate, but why reinvent the wheel.
|
|
|
|
## Does this make sense for Flatpaks?
|
|
|
|
```bash
|
|
tail -n +1 /var/lib/flatpak/exports/bin/*
|
|
```
|
|
|
|
## Snap?
|
|
|
|
`/usr/local/bin` is more likely to be in `$PATH` than the usual Snap vriants.
|
|
If they are in $PATH, note `sudo snap alias ORIGINAL NEW`
|
|
|
|
## File Access Control List
|
|
|
|
```
|
|
sudo setfacl --recursive --modify=u:root:rwx,o:rx /usr/local/bin/
|
|
getfacl /usr/local/bin
|
|
```
|