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
805 posts
 
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 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 Understanding semicolons in Bash functions

I know I can write a function at a Bash command line like so: $ test() { echo 'test' ; } I also found that I can write the } on a separate line, and omit ;: $ test () { echo 'test' > } ...

1 answer  ·  posted 2mo ago by Karl Knechtel‭  ·  last activity 1mo ago by bgstack15‭

71%
+3 −0
Q&A How to convert a markdown file to PDF?

You could use the LaTeX markdown package to create a pdf. To make sure that the coloured emoji are visible: choose a unicode-aware engine like lualatex choose a font which has coloured emoji, ...

posted 4mo ago by samcarter‭  ·  edited 4mo ago by samcarter‭

Answer
71%
+3 −0
Q&A If I have /home on a separate partition, how can I move it back to the root partition?

A general overview: Log in as root directly, no sudo or su (you may need to activate it temporarily, depending on your distribution) or boot from a live system unmount /home and mount it somewh...

posted 5mo ago by GeraldS‭

Answer
71%
+3 −0
Q&A What does ${2-} mean in bash?

The dash, -, is part of a Parameter Expansion syntax that tells Bash to check for existence of the preceding parameter, a.k.a. whether it is "set", substituting whatever follows if it isn't. For th...

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

Answer
71%
+3 −0
Q&A What does ${2-} mean in bash?

I came across this in a bash script: excludes+=("${2-}") What is the meaning of ${2-}?

1 answer  ·  posted 5mo ago by nogjam‭  ·  last activity 5mo ago by nogjam‭

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 6mo ago by GeraldS‭  ·  edited 6mo 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 6mo ago by ShadowsRanger‭  ·  last activity 6mo ago by GeraldS‭

Question bash
71%
+3 −0
Q&A Getting a Module Error When Running Pytest Even Though the Module is Installed in the Current Virtual Environment

As a workaround, I had to uninstall pytest from the package manager and install it in the virtual environment. However, I would prefer to use the pytest from the package manager since it makes se...

posted 6mo ago by GeraldS‭

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 2y ago by mcp‭  ·  last activity 2y 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 2y 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 2y 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 2y ago by edent‭  ·  edited 2y 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 2y ago by AdminBee‭  ·  edited 2y 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 2y 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 2y 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 2y 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 2y ago by mcp‭  ·  edited 2y 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