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 »

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
760 posts
 
71%
+3 −0
Q&A How to count the lines of a file?

How to get the number of lines in a file? I.e. for a file like this: Line one Line 2 Final line I would like to do something like this: $ count-lines /path/to/the/file/above 3

2 answers  ·  posted 9mo ago by Iizuki‭  ·  last activity 7mo ago by Michael‭

Question shell file
71%
+3 −0
Q&A How do I diagnose TLS errors?

For reasons of my own, I have services on my LAN which use HTTPS and I create my own certificates for these. Over the years, the usage of TLS has evolved considerably. Many features that were once...

1 answer  ·  posted 9mo ago by matthewsnyder‭  ·  last activity 9mo ago by Michael‭

Question home-server tls
71%
+3 −0
Q&A NetworkManager can't open certificate file when trying to connect to VPN

I want to connect to my university network via OpenVPN under Fedora GNOME. I imported the openvpn configuration provided by the university in the Network Manager GUI and specified the user certifi...

0 answers  ·  posted 9mo ago by adonias‭  ·  edited 9mo ago by Quasímodo‭

71%
+3 −0
Q&A Prettify XML in a shell

xmllint from xmllib2 can do this: $ output-dirty-xml | xmllint --format - The dash in the end tells xmllint to read from stdin instead of a file. Source: manpage

posted 8mo ago by Iizuki‭

Answer
71%
+3 −0
Q&A What are non-POSIX shells and what's the point of them?

I've been learning some Linux and I finally feel like I can find my way around the command line. But now I hear people say there are other, "non-POSIX" kinds of shell, with different semantics. Wha...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by matthewsnyder‭

Question shell posix cli
71%
+3 −0
Q&A How do you generate arbitrary random numbers from /dev/random?

You want shuf. shuf -n1 -i 534-876874

posted 8mo ago by r~~‭

Answer
71%
+3 −0
Q&A Can a malicious party add false recipients (who are listed but can't really decrypt) to an encrypted GPG message?

In gpg(1), one normally adds recipients of an encrypted message with --recipient. Those recipients will be able to decrypt the message, and their key ID will appear unencrypted, so anyone will kno...

0 answers  ·  posted 8mo ago by alx‭  ·  edited 8mo ago by alx‭

Question GPG
71%
+3 −0
Q&A Why/how can distro support lifetimes exceed the lifetime of their dependencies (such as Python)?

Motivating example: my Mint 20.3 distribution offers long-term support until April 2025, which matches the "standard support" offered for the upstream Ubuntu (20.04 "Jammy Jellyfish"). However, the...

2 answers  ·  posted 8mo ago by Karl Knechtel‭  ·  last activity 8mo ago by matthewsnyder‭

71%
+3 −0
Q&A Why/how can distro support lifetimes exceed the lifetime of their dependencies (such as Python)?

When an upstream project stops supporting a version (e.g., Python stops supporting 3.8), the maintainers of the distribution do the job of supporting those components, applying security patches as ...

posted 8mo ago by alx‭  ·  edited 8mo ago by alx‭

Answer
71%
+3 −0
Q&A How to convert json to yaml?

How to convert a json file to yaml? Technically json is already valid yaml, but I'm talking about the characteristic easy-to-read yaml formatting with indentation and minimal quotes.

1 answer  ·  posted 7mo ago by Iizuki‭  ·  last activity 7mo ago by Iizuki‭

Question json yaml
71%
+3 −0
Q&A Does Fedora have cutting edge features, and what makes it so?

I saw another post recommend using Fedora if you want cutting edge features. Is Fedora really a "cutting edge" distro? I am not very familiar with Fedora, I know it's a community counterpart to R...

1 answer  ·  posted 7mo ago by matthewsnyder‭  ·  last activity 6mo ago by Michael‭

71%
+3 −0
Q&A Why is 32768-60999 the default for local/ephemeral ports?

The local port range on my Arch Linux installation is 32768-60999 according to cat /proc/sys/net/ipv4/ip_local_port_range Wikipedia states that this range is "used by many Linux kernels" and th...

0 answers  ·  posted 7mo ago by Matthias Braun‭  ·  edited 7mo ago by Michael‭

Question networking ports
71%
+3 −0
Q&A How to export public GPG key?

No need to search for a key ID. Just type the e-mail associated with your key and export your public key like this: $ gpg --export -a something@example.net > my_key.asc

posted 6mo ago by amarok‭  ·  edited 5mo ago by Michael‭

Answer
70%
+5 −1
Q&A How do I find out the version of a program in a terminal?

On Debian, the package manager can tell the versions of the installed software. Let's say we want to know the version of mbsync(1). Quoting a comment by @matthewsnyder, this is a 3 step process: ...

posted 6mo ago by alx‭  ·  edited 5mo ago by alx‭

Answer
66%
+2 −0
Q&A What happens on a modern Linux if you hibernate with less swap than RAM?

On a modern Linux system, what happens if you attempt to hibernate when your swap is smaller than your RAM? For example, say RAM is 16 GB and swap is 8 GB.

0 answers  ·  posted 6mo ago by matthewsnyder‭

Question linux swap hibernate
66%
+2 −0
Q&A How do I find the code of a keyboard key?

How do I find the exact code of a key on my keyboard?

1 answer  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 6mo ago by matthewsnyder‭

66%
+2 −0
Q&A How do I add a shortcut to run a program to my DE?

My DE has a bunch of programs in the start/applications menu. How can I add my own in there? For example, say I found a terminal command foo --bar --baz that does something I want. But I don't want...

1 answer  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 6mo ago by matthewsnyder‭

66%
+2 −0
Q&A How do I add a shortcut to run a program to my DE?

On Linux, the basic way to run every program is to invoke it through a terminal. The shortcuts in DEs come from ".desktop" files. On a Linux system, there are a couple of directories (system wide,...

posted 6mo ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A How do you rotate webcam feed by 90 degrees?

When I view my document camera's feed in guvcview it is in landscape mode. I want it to capture things in portrait mode, since I usually take photos of documents. Currently, I have to rotate all t...

1 answer  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 5mo ago by Quasímodo‭

Question webcam
66%
+2 −0
Q&A How do I find out the version of a program in a terminal?

If the program was installed with your package manager, the package manager should be able to tell you that. For example: $ pacman --query bash bash 5.2.026-2 If you don't know the package n...

posted 5mo ago by matthewsnyder‭  ·  edited 5mo ago by matthewsnyder‭

Answer
66%
+2 −0
Q&A How to set up a system with two hard drives?

Keep both your / and /home on the SSD, and then create the /data partition on your HDD. You could link individual directories from home as you say, but I usually create just one link to the HDD ro...

posted 5mo ago by Iizuki‭  ·  edited 5mo ago by Iizuki‭

Answer
66%
+2 −0
Q&A How do you install Manjaro as LVM on LUKS?

There is a popular partitioning scheme, described in the Arch wiki as LVM on LUKS. The meat of this is: /boot is its own unencrypted partition The rest of the drive is a giant LUKS partition I...

0 answers  ·  posted 5mo ago by matthewsnyder‭

66%
+2 −0
Q&A Best practice for splitting data between a fast and slow drive

First, consider your needs. There's a decent chance that everything you want will fit on the SSD anyway, at least if you aren't an enthusiastic multimedia collector. Nowadays a 1TB SSD can be had c...

posted 5mo ago by Karl Knechtel‭

Answer
66%
+2 −0
Q&A Efficiently determining disk usage of a folder (without starting from scratch every time)

When I use my computer, one question I commonly want to answer for myself is "how much space is being used by the contents of this folder?". Typical file/window managers, IMX, answer this question ...

2 answers  ·  posted 5mo ago by Karl Knechtel‭  ·  last activity 4mo ago by GeraldS‭

66%
+2 −0
Q&A How to find all files not part of a package on Arch?

How do I find all actual files (not devices, sockets, etc) on my system that are: Not part of a package Not under /home (I assume that packages are supposed to never put files there) on Arch...

1 answer  ·  posted 4mo ago by matthewsnyder‭  ·  last activity 4mo ago by Michael‭