Posts by Iizuki
By using the non-interactive --quick-add-key method. This adds separate signing and encryption subkeys with expiration date one year from now: $ gpg --quick-add-key YOUR-PRIMARY-KEY-ID ed25519 sig...
.tar.gz is a pretty common archive format. How to extract its contents, "unzipping" it in the command line?
A convenient but a little risky method Don't do this unless you have backups on a separate drive, and are prepared to restore from them. Properties Pros Easy Uses native BTRFS tools Can be ...
How to migrate a single device BTRFS filesystem to a new drive? I don't want to send individual subvolumes, but instead the entire filesystem with its subvolume layout intact. Changing the filesyst...
nmap can do this: $ nmap -p 443 --script ssl-cert codidact.com Starting Nmap 7.95 ( https://nmap.org ) at 2024-08-12 10:06 EEST Nmap scan report for codidact.com (104.26.0.18) Host is up (0.00...
Yup that's the recommended way to do it. Wants adds the network-online.target as a soft dependency.[1] Systemd will try to start it if it isn't up already. Networking should work after this target...
I have no experience with dunst, but generally you want a global service-level dropin file in /etc/systemd/system/service.d/ with OnFailure= setting in it. This way it gets added to all services ru...
Here's the relevant ArchWiki page. The gist of it is that most of those warnings are probably for some fairly obscure hardware, and can be just ignored (provided that your system indeed works fine...
How to pretty print XML in a shell? I have command-line tool which outputs XML in a single line, totally unreadable. I would like something to pipe this into, to turn it into human readable XML wi...
This can be done by setting the LDAPTLS_REQCERT environment variable to never. For example like this when issuing the command: LDAPTLS_REQCERT=never ldapsearch -H ldaps://example.com:636 ...
One way is to use grep: $ grep --count ^ /path/to/the/file The ^ character matches a start of a new line, so it basically counts the number of starting lines.
Cisco's OpenDNS (nothing to do with open source) has this magic domain myip.opendns.com which resolves to your own public IP address when looked up with standard DNS tools. For example with dog (o...
How to open a port when using firewalld as the system firewall?
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) (...
How to ignore server certificate when using ldapsearch command-line tool? Of course this isn't something you should be doing regularly, but it would be a handy asset for troubleshooting.
How to lookup user-id with the user's name? E.g. What's the UID of user linus?
$ pacman --query --list package-name Or the short version: $ pacman -Ql package-name Source: pacman manpage
Installation At least in KDE Plasma all you really need is to have the .exe files associated with wine. Right click > Open with in Dolphin will do the trick. Once you got that covered, the ins...
You add a port to the public zone like so: # 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 inste...
Looking for a command to show the model(s) of the system's GPU(s). It doesn't matter if it shows other related info too, as long as the model doesn't get buried.
With lshw: # lshw -C display *-display description: VGA compatible controller product: Navi 32 [Radeon RX 7700 XT / 7800 XT] vendor: Advanced Micro Devi...
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 ei...
tar can do it all: $ tar --extract --ungzip --one-top-level --file archive.tar.gz That will result in a directory named according to the archive (so just archive in this case) containing the ex...
I couldn't find a definitive authoritative documentation anywhere but this seems pretty good: Mel Gorman: Understanding the Linux Virtual Memory Manager, Section 13.4 Once a task is selected, t...
- ← Previous
- 1
- 2
- 3
- Next →