Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for Iizukiā€­

Type On... Excerpt Status Date
Edit Post #290163 Initial revision 30 days ago
Answer A: How to invert command exit code?
An exclamation mark followed by a space in the beginning of a pipeline will negate the final exit code of the pipeline. Here's an example in Bash. Echoing `$?` will print out the exit code of the previous command (which is also an echo in this case). ```bash $ echo OpenStreetMap is the best map ...
(more)
30 days ago
Edit Post #290162 Initial revision 30 days ago
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)
30 days ago
Edit Post #290078 Initial revision about 1 month 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 month ago
Edit Post #290077 Initial revision about 1 month ago
Question How to open a port in firewalld?
How to open a port when using `firewalld` as the system firewall?
(more)
about 1 month ago
Suggested Edit Post #289467 Suggested edit:
Expanding the flags to their long forms, so that it's clear what they do.
(more)
declined about 2 months ago
Edit Post #289935 Initial revision about 2 months 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)
about 2 months ago
Edit Post #289390 Initial revision 4 months 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)
4 months ago
Edit Post #289389 Initial revision 4 months 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)
4 months ago