Activity for Iizukiā
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Question | — |
How to invert command exit code? How to apply a logical not to a shell command, e.g. in a Bash script? So if the command exited with 0 (success) I would like it to be changed to a non-zero value, and if it exited with a non-zero value (failure) like 1, I would like it to become 0. A negation of sorts. (more) |
— | about 1 year ago |
Edit | Post #290078 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to open a port in firewalld? You add a port to the public zone like so: ```bash firewall-cmd --zone=public --add-port=8080/tcp ``` Firewalld knows already many of the commonly used ports, so you might just use the service name instead: ```bash firewall-cmd --zone=public --add-service=kdeconnect ``` These changes ... (more) |
— | about 1 year ago |
Edit | Post #290077 | Initial revision | — | about 1 year ago |
Question | — |
How to open a port in firewalld? How to open a port when using `firewalld` as the system firewall? (more) |
— | about 1 year ago |
Suggested Edit | Post #289467 |
Suggested edit: Expanding the flags to their long forms, so that it's clear what they do. (more) |
declined | over 1 year ago |
Edit | Post #289935 | Initial revision | — | over 1 year ago |
Answer | — |
A: How to create systemd unit that depends on a website being up? To make your example work, you should add `Type=oneshot` and `RemainAfterExit=true` to the `[Service]` section. This way the unit won't be considered active until the curl has actually succeeded, and either won't go inactive afterwards. However, this is somewhat unorthodox way of going abou... (more) |
— | over 1 year ago |
Edit | Post #289390 | Initial revision | — | over 1 year ago |
Answer | — |
A: How to create ed25519 subkey in GPG? By using the non-interactive `--quick-add-key` method. This adds separate signing and encryption subkeys with expiration date one year from now: ```bash $ gpg --quick-add-key YOUR-PRIMARY-KEY-ID ed25519 sign 1y $ gpg --quick-add-key YOUR-PRIMARY-KEY-ID cv25519 encr 1y ``` Source: An abridged g... (more) |
— | over 1 year ago |
Edit | Post #289389 | Initial revision | — | over 1 year ago |
Question | — |
How to create ed25519 subkey in GPG? At the moment GPG only offers the following options when generating a new subkey the with the `addkey` command: ``` gpg> addkey Please select what kind of key you want: (3) DSA (sign only) (4) RSA (sign only) (5) Elgamal (encrypt only) (6) RSA (encrypt only) (14) Existing key fr... (more) |
— | over 1 year ago |
- ← Previous
- 1
- 2
- 3
- 4
- Next →