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
 
75%
+4 −0
Meta Cloudflare blocks the edit of my answer

For a couple of days now I've been trying to edit this answer to include an example that was requested in the comments. Every time I try to edit it I'm presented with this: The expanded answer ...

0 answers  ·  posted 1mo ago by GeraldS‭  ·  edited 1mo ago by ArtOfCode‭

75%
+4 −0
Q&A Documentation for double asterisk glob expansion

Where can I find documentation on double asterisk in glob expansion? It is discussed in the .gitignore section of Pro Git. It works in ls **/* to list all terminal files. It is supported by py...

2 answers  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by Kamil Maciorowski‭

Question bash glob
75%
+4 −0
Q&A Where does GtkFileChooserDialog store bookmarks?

For most users, in $HOME/.config/gtk-3.0/bookmarks. Otherwise, if you set the XDG_CONFIG_HOME environment variable (which you can inspect with env), in $XDG_CONFIG_HOME/gtk-3.0/bookmarks. From the...

posted 1y ago by Quasímodo‭  ·  edited 1y ago by Quasímodo‭

Answer
75%
+4 −0
Q&A Why does a reverse hexdump truncate the message?

From man xxd, the section on the -r flag (emphasis added): -r | -revert reverse operation: convert (or patch) hexdump into binary. If not writing to stdout, xxd writes into its output file with...

posted 1y ago by r~~‭

Answer
75%
+4 −0
Q&A How do I set up my own DNS on my LAN, with delegation of public domains?

What you describe is a typical mixed authoritative/recursive resolver setup. Such a DNS server setup will respond from its own data about zones for which it has explicit configuration, and will per...

posted 1y ago by Canina‭  ·  edited 1y ago by Canina‭

Answer
75%
+4 −0
Q&A How to change keyboard layout without a DE?

According to the keyboard layout wiki, keyboard configurations (for both the console and Xorg) can be conveniently set using the localectl command. In order to set a second keyboard layout, we hav...

posted 1y ago by mr Tsjolder‭

Answer
75%
+4 −0
Q&A How do I tweak the start parameters of GUI apps?

There are many GUI apps on my computer that show up as eg. items in the start menu. When I launch these, what if I want to control how exactly they are launched, such as setting environment variabl...

1 answer  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by matthewsnyder‭

75%
+4 −0
Q&A What unexpected things can happen if a user runs commands expecting a text file on input lacking a file-final newline?

I would consider your own tools as the central use case. Seriously, do you want to litter every while read (or your language's equivalent) with this pesky corner case handling? while read -r line ...

posted 1y ago by tripleee‭

Answer
75%
+4 −0
Q&A Simplest way of stripping leading/trailing whitespace from file or program output

The simple and obvious solution: sed 's/^ *//;s/ *$//' Many recipes you find online will erroneously add a g flag, but these regular expressions can only match once per line anyway. (In some m...

posted 1y ago by tripleee‭  ·  edited 1y ago by tripleee‭

Answer
75%
+4 −0
Q&A Can I make a compressed RAM drive and externally prepare a (pre-)compressed file to copy onto it?

Linux does have the concept of a RAM DRIVE (multiple concepts actually, including ramfs and tmpfs being common). You should look at https://en.wikipedia.org/wiki/Zram - ZRAM claims to be exactly ...

posted 1y ago by davidgo‭

Answer
75%
+4 −0
Q&A Debug NetworkManager with GDB

Note that if you want to debug the currently installed version of NetworkManager, you don't have to compile NetworkManager yourself. Instead, make GDB download symbol files via debuginfod. You can ...

posted 1y ago by Matthias Braun‭  ·  edited 11mo ago by Matthias Braun‭

Answer
75%
+4 −0
Q&A Find path to an executable

GNU which does the trick: $ which find /usr/bin/find It's very likely already installed.

posted 3mo ago by Iizuki‭

Answer
75%
+4 −0
Q&A Can rsync handle moves and renames?

I'm quite certain that rsync is not able to deduce that /path/to/src/folder_a/file_w on one side of the transfer is identical to /path/to/src/folder_c/file_w on the other side of the transfer. The...

posted 10mo ago by Canina‭

Answer
75%
+4 −0
Q&A What's the point of faillock?

On a default Arch install, faillock makes it so that if you enter the sudo password wrong too many times, even the correct password will be rejected until the timer is up. At the same time, you ca...

0 answers  ·  posted 9mo ago by matthewsnyder‭

Question security sudo
75%
+4 −0
Q&A What is cat abuse/useless use of cat?

Especially in a pedagogical context, the issue with something like cat /dev/random | head -c 20 versus the more straightforward head -c 20 /dev/random is that it communicates that extra ceremony is...

posted 8mo ago by r~~‭

Answer
75%
+4 −0
Q&A How do I migrate my main filesystem to a new drive?

I want to switch hard drives. How do I migrate my root FS from the drive it's on, to the new one, so that everything is exactly as it is?

3 answers  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 7mo ago by matthewsnyder‭

Question backup partitioning
75%
+4 −0
Q&A How to show motherboard model?

dmidecode can do this. Here's an example output from my system: # dmidecode --type 2 Getting SMBIOS data from sysfs. SMBIOS 3.1.1 present. Handle 0x0002, DMI type 2, 15 bytes Base Board Info...

posted 7mo ago by Iizuki‭

Answer
75%
+4 −0
Q&A Calculate the SHA1 checksum of a file

There's a sha1sum tool in GNU coreutils. Here's $ sha1sum emptyfile da39a3ee5e6b4b0d3255bfef95601890afd80709 emptyfile Note the spaces and the filename (emptyfile in this case) in the output...

posted 7mo ago by Iizuki‭  ·  edited 6mo ago by Iizuki‭

Answer
75%
+4 −0
Q&A Auto-enable FN-toggling for the first N FN keys

How can I auto-enable FN-toggling for the first N FN keys? F7-F12 on my keyboard are used for audio control, while, many games that I play, use the lower FN keys. Therefore, I'd like to relieve mys...

2 answers  ·  posted 6mo ago by Andreas witnessed the end of the world today‭  ·  last activity 6mo ago by Michael‭

Question keyboard gnome PopOS
75%
+4 −0
Q&A How do I find out the version of a program in a terminal?

How can I print the version of a program in the terminal, so that I know which one I have installed?

3 answers  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 5mo ago by alx‭

Question terminal
75%
+4 −0
Q&A How do I send console output to the clipboard?

On Wayland, the wl-clipboard utility wl-copy is the program you want: echo hi | wl-copy

posted 6mo ago by r~~‭

Answer
75%
+4 −0
Meta Do domain-specific how-to's fit well within Q&A?

I've recently gained some PAM (Pluggable Authentication Modules) knowledge. I had written a Reddit post plus reply and then thought the stuff I shared would fit well here. Do domain-specific how-t...

2 answers  ·  posted 6mo ago by nogjam‭  ·  last activity 6mo ago by Andreas witnessed the end of the world today‭

Question discussion
75%
+4 −0
Q&A Forbid concurrent runs of a process

Suppose I have some hypothetical CLI program. It is important that only one instance of this program runs at any given time. When multiple instances run concurrently, bad things happen. Normally, ...

2 answers  ·  posted 4mo ago by matthewsnyder‭  ·  last activity 4mo ago by Canina‭

Question cli concurrency
75%
+4 −0
Q&A Forbid concurrent runs of a process

This can be done using the flock utility. The most useful mode for preventing multiple invocations of a same process is likely to be -en (exclusive lock, no wait). You need a file or directory (ye...

posted 4mo ago by Canina‭

Answer
75%
+4 −0
Q&A Get notified when there are unmerged changes from origin

Sometimes I work with Git repos that have some changes fetched but not yet merged to the local branch. Occasionally I make commits without noticing this, which necessitates rebase/conflict resoluti...

1 answer  ·  posted 4mo ago by matthewsnyder‭  ·  edited 4mo ago by Michael‭