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 Rename multiple files which have a variable suffix

An easy one-liner in POSIX-compatible shells: for f in *-min.jpg-*; do mv -- "$f" "${f%-*}"; done The only (mildly) tricky concept here is ${f%-*}, which expands to $f minus the shortest suffix...

posted 1y ago by r~~‭  ·  edited 1y ago by terdon‭

Answer
71%
+3 −0
Meta shell and shell-scripting tags: duplicates?

Is there a difference between these two tags? shell shell-scripting In a sense the first could be a bigger category. E.g. If someone wants to create a new shell, then they may have questions...

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

Question discussion tag
71%
+3 −0
Q&A Looking for a way to sync dotfile content between different machines without introducing security issues

It depends on how much sensitive they are. I have three classes. 1) Very sensitive directories Partitions For my ~/.ssh/, ~/.password-store/, ~/.gnupg/, and ~/.abook/, I have a drive with 4 p...

posted 1y ago by alx‭  ·  edited 11mo ago by alx‭

Answer
71%
+3 −0
Q&A How can I restrict filename characters?

You could try and convince Linux kernel maintainers, but they are reticent to that. I wonder what they'll do after POSIX.1-202x (Issue 8) possibly will forbid those. Maybe you could patch your ke...

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

Answer
71%
+3 −0
Q&A How to see all header fields of an email in mutt?

When viewing a message, press h. To return to the normal view, press h again. With typical viewer key bindings, h is bound to the display-toggle-weed function, which controls whether all headers a...

posted 1y ago by Canina‭

Answer
71%
+3 −0
Q&A How to overwrite each line of STDOUT with the next one?

I wrote a filter program to overwrite each line with the next one. $ cat /usr/local/bin/ovr #!/bin/sh sed '2,$s/^/\x1B[1A\x1B[K/'; Here's the behavior: $ echo | ovr $ echo 'foo' | ovr ...

3 answers  ·  posted 1y ago by alx‭  ·  last activity 1y ago by Kamil Maciorowski‭

Question terminal
71%
+3 −0
Q&A Are NixOS and Guix analogous projects?

They are broadly analogous; there's a lot of cross-pollination of ideas between the projects. Some terminology first, because you'll notice that both columns have duplicate entries and this often ...

posted 1y ago by r~~‭  ·  edited 1y ago by r~~‭

Answer
71%
+3 −0
Meta Suggestion: Basic Linux skills compendium

I've been persistently advocating for an analogous effort in the Software community, and generally think that any Codidact community could likely benefit from doing something similar. As a practica...

posted 1y ago by Karl Knechtel‭

Answer
71%
+3 −0
Q&A Storage usage by media type

Question How can I view storage usage breakdown by media type? MWE Notes Commandline would be great, but open to anything.

0 answers  ·  posted 1y ago by mcp‭  ·  last activity 1y ago by matthewsnyder‭

Question disk-usage
71%
+3 −0
Q&A Download packages for full system upgrade without installing

You can use -Suw for that. I haven't actually tested it, but it should work according to the documentation. From man pacman (redactied/edited for clarity): UPGRADE OPTIONS (APPLY TO -S AND -U) ...

posted 1y ago by terdon‭

Answer
71%
+3 −0
Q&A Can I enter raw strings in fish to avoid escaping regexes for sed?

What do you want to find though? Is the + a quantifier, meaning you are looking for one or more b? Or are you looking for the literal string b+? If the latter, you don't need to escape at all and i...

posted 1y ago by terdon‭

Answer
71%
+3 −0
Q&A Are there any legitimate uses for newlines in filenames?

I do this occasionally. It is sometimes useful to compare file titles where they aren't fixed lengths. For example: 01 02 The Beatles The Rolling Stones Help Satisfaction .m...

posted 1y ago by edent‭  ·  edited 1y ago by terdon‭

Answer
71%
+3 −0
Q&A How to get number of files in directory

A solution I often use (and which is ultimately a variation of the find-based approach in the answer by Canina) also uses find, but only prints a single . per file: find . -maxdepth 1 -type f -pri...

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

Answer
71%
+3 −0
Q&A How to debug NetworkManager issue after suspend/resume in Ubuntu 22.04

****Since upgrading to Ubuntu 22.04 recently, immediately after a reboot I have WiFi to an internet hotspot as I did prior to upgrading. After suspend then resume, the network is no longer working...

2 answers  ·  posted 1y ago by happyborg‭  ·  edited 1y ago by happyborg‭

71%
+3 −0
Q&A How to start MariaDB (or MySQL) server on a WSL using systemctl?

As the error says, WSL doesn't boot using systemd in the same way a native Debian install does, so you can't use systemctl either. The answer is simply to use service instead, which doesn't rely on...

posted 1y ago by ArtOfCode‭

Answer
71%
+3 −0
Q&A Treat underscores as word boundaries in terminal using vim mode

Question How do you specify underscores as Vim word boundaries when using vim mode in either bash or zsh? MWE w on this_word should place the cursor on the underscore. A second w should place th...

1 answer  ·  posted 2y ago by mcp‭  ·  last activity 1y ago by r~~‭

Question bash zsh vim
71%
+3 −0
Q&A How do you troubleshoot bwrap/wine sandboxes for Windows games?

I've done this exact thing with these same tools, as recently as this morning. I use strace to measure file access sometimes; trouble is, a lot of programs/libraries will attempt to look for a lot...

posted 1y ago by r~~‭

Answer
71%
+3 −0
Q&A Why do many Windows games fail when the network is sandboxed?

I run Windows games with Wine, and use bwrap to sandbox them. I've noticed that passing --unshare-net to disable the network breaks many, many games (they fail to start with no obvious error messag...

0 answers  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by Mithical‭

Question networking wine
71%
+3 −0
Q&A How to install mysql-server on Debian?

MySQL is not fully open source and maintained by a corporation which was at one time regarded as very evil (there are much worse ones now). Debian is trying to protect you from yourself by not lett...

posted 1y ago by matthewsnyder‭

Answer
71%
+3 −0
Q&A How to persist keyboard repeat rate and delay for external devices

Problem I want to set a global keyboard rate for both the X session and the console that persists for external keyboards, across plug-ins and removals. To my understanding, Xorg and console sett...

0 answers  ·  posted 1y ago by mcp‭  ·  edited 1y ago by Quasímodo‭

Question console x11 keyboard
71%
+3 −0
Q&A How to decrease image size from commandline

Here goes nothing. An Internet search shows an answer on AskUbuntu#1164, author aneesheep. The gist is to install ImageMagick (try package name imagemagick) and then use the convert utility: conv...

posted 2y ago by bgstack15‭

Answer
71%
+3 −0
Q&A What partition type should be used for cross-platform FAT partitions?

The only real usable FAT options are FAT32 and exFAT. FAT32 is probably the file system with the widest cross-platform support possible, but it has a 4GB file size limit. If you want the option to ...

posted 2y ago by Ullallulloo‭

Answer
71%
+3 −0
Q&A Retrieve changes that closed a Debian bug

That depends on your definition of convenient. Are you familiar with git? Is the source of the relevant package stored on salsa.debian.org? If yes, then you can just run: git clone https://salsa.d...

posted 2y ago by bgstack15‭

Answer
71%
+3 −0
Q&A How to find big files and directories?

If you don't mind installing something I recommend ncdu. It sorts the directories and files by size, you can exclude other mounts, navigate the tree directly and even delete files and folders as yo...

posted 2mo ago by GeraldS‭  ·  edited 2mo ago by GeraldS‭

Answer
71%
+3 −0
Q&A How can I efficiently create a collage of video thumbnails on Linux?

I want to create a collage of 20 screenshots from a video, arranged in a 5x4 grid, regardless of the video’s length. How can I do this efficiently on a Linux system? Specifically, I’d like a way t...

2 answers  ·  posted 1mo ago by ShadowsRanger‭  ·  last activity 1mo ago by GeraldS‭

Question bash