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
 
77%
+5 −0
Q&A Installing Ruby on MacOS 12.2 (or 11.6) produces compilation errors in the downloaded source; how do I fix?

A project I want to work on requires Ruby. I was directed to RVM or rbenv. I tried rbenv first because it has Mac instructions, ran into failures, uninstalled it and installed RVM, and still ran ...

1 answer  ·  posted 3y ago by Monica Cellio‭  ·  edited 2y ago by Monica Cellio‭

77%
+5 −0
Q&A How do I safely replace brew on Big Sur?

I'm still trying to solve my problem with installing Ruby on a new Mac, and some discussions are saying that I need to reinstall brew because of the change from the old chipset to the M1. (I'm jus...

4 answers  ·  posted 3y ago by Monica Cellio‭  ·  last activity 11mo ago by matthewsnyder‭

Question macos-11
77%
+5 −0
Q&A How do I deal with a "pending update to "snap-store" snap, close the app to avoid disruption" notification in Ubuntu 22.04?

If snap-store itself is preventing the update, it's straightforward: snap-store --quit sudo snap refresh snap-store But sometimes it might be something else, in which case the above solution w...

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

Answer
77%
+5 −0
Q&A In a bash shell script, how to filter the command line argument list to unique entries only, for processing each?

The solution is to use an associative array to store what you've already seen: #!/bin/bash unset seen declare -A seen for arg in "$@" do if [[ -z "${seen[$arg]}" ]] then ...

posted 3y ago by celtschk‭

Answer
77%
+5 −0
Q&A How to figure out the licenses of files installed from packages?

On a Linux system, a lot of files are installed from packages, many of which have different licenses (and sometimes different licenses for different files in the package). If I want to figure out ...

1 answer  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Quasímodo‭

Question .deb licensing
77%
+5 −0
Q&A In a bash shell script, how to filter the command line argument list to unique entries only, for processing each?

Here's an alternative that is a one-liner drop-in for your existing script: eval set -- $(printf "%q\n" "$@" | sort -u) It works by escaping the initial arguments, piping the escaped arguments ...

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

Answer
77%
+5 −0
Meta Suggestion: Basic Linux skills compendium

We are all Linux users and enthusiasts on this site, as well as caring about FOSS. Although technically this is a site for technical Q&A, I think some level of Linux activism is possibly benefi...

3 answers  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by LAFK‭

Question discussion
77%
+5 −0
Q&A Documentation for double asterisk glob expansion

While * belongs to the POSIX standard, ** is an extension. You are right it's not in man 7 glob. Tools that treat ** specially (i.e. not as * simply followed by *) tend to agree what it means, but ...

posted 1y ago by Kamil Maciorowski‭

Answer
77%
+5 −0
Q&A Highlight regions in an image with CLI

This is an ideal case for ImageMagick. Given input.png: Running this command: convert input.png -draw 'fill yellow fill-opacity 0.5 polygon 50,50 100,30 150,50 100,150' output.png Produces ...

posted 1y ago by r~~‭

Answer
77%
+5 −0
Q&A Find path to an executable

How to find the exact path to an executable file present in your PATH. I.e. commands you can call by just their names. E.g. what executable gets called when I type find and hit enter? $ hypotheti...

3 answers  ·  posted 3mo ago by Iizuki‭  ·  last activity 3mo ago by Ordoviz‭

Question path find
77%
+5 −0
Q&A Reverse shell with named pipe and netcat

This blog post describes a privilege escalation, exploiting tar's --checkpoint-action option. The privilege escalation is used to solve a TryHackMe challenge. The root user calls tar via cron whi...

1 answer  ·  posted 3y ago by Matthias Braun‭  ·  last activity 1y ago by Kamil Maciorowski‭

Question shell networking
77%
+5 −0
Q&A How to forward SSH access of one machine, through another, to the rest of a network?

I'm having trouble visualizing exactly what your setup is like, but if I understand correctly, then: You have one client that you are connecting from You have one server that you are able to co...

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

Answer
77%
+5 −0
Meta Red border on question

There are keyboard shortcuts for navigation. Unfortunately they don't seem to be documented in help (at least I couldn't find an entry there), but you can see a list by typing ?. The red frame is ...

posted 3y ago by celtschk‭

Answer
77%
+5 −0
Q&A Get current server of pacman

with pacman --debug We can display the mirrors that pacman uses with the --debug option. For example, when running pacman --debug -Sy, pacman will write lines like these to standard error: debug...

posted 3y ago by Matthias Braun‭  ·  edited 3y ago by Matthias Braun‭

Answer
77%
+5 −0
Q&A Is this a robust way to distinguish explicitly installed packages from those pulled in as dependencies?

apt-mark aims to do this: the commands apt-mark showmanual and apt-mark showauto should show you respectively the packages which you explicitly installed and the ones which were added as dependenci...

posted 3y ago by Peter Taylor‭

Answer
77%
+5 −0
Q&A How do I send console output to the clipboard?

Use xclip(1). For example: $ printf '%s' foo | xclip; And now Shift+Insert to paste. There's a primary selection, a secondary selection, and a clipboard selection, and you can chose between t...

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

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

My immediate reaction would be that yes, it can definitely fit in the general Q&A category. And there is no rule against self-answers to questions. However, please do take a bit of care with h...

posted 6mo ago by Canina‭  ·  edited 6mo ago by Canina‭

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

I certainly think "how to do X" is perfectly good for a question on Codidact, so long as X is sufficiently focused. A well-explained overview of a system is also useful, given it contains enough in...

posted 6mo ago by Andreas witnessed the end of the world today‭  ·  edited 6mo ago by Andreas witnessed the end of the world today‭

Answer
77%
+5 −0
Q&A Best practice for splitting data between a fast and slow drive

If I had a fast drive (SSD) and a slow one (HDD), what parts of my Linux system should go on the fast one?

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

77%
+5 −0
Q&A What's the "big picture" of how my operating system is put together?

My understanding is that one of the key advantages of Linux is modularity: the actual Linux kernel is quite small, and then what we call Linux is that plus the "rest of the system" - hence "operati...

1 answer  ·  posted 5mo ago by Karl Knechtel‭  ·  last activity 5mo ago by matthewsnyder‭

77%
+5 −0
Q&A Confused about what "Linux" means

Richard Stallman wants you to use GNU/Linux to refer to the combination of OS and kernel that people typically call Linux. I am not a Stallman partisan one way or the other, but I think noting his ...

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

Answer
77%
+5 −0
Q&A How to invert command exit code?

An exclamation mark followed by space in the beginning of a pipeline will negate the final exit code of the pipeline. Here's an example in Bash. Echoing $? will print out the exit code of the prev...

posted 1y ago by Iizuki‭  ·  edited 8mo ago by Iizuki‭

Answer
77%
+5 −0
Q&A How can I restrict filename characters?

Suppose I want to limit what characters are allowed in filenames. For example, I want file creation to fail if there is a \n in the name. Is there a way to enforce this? If it matters, I prefer a...

2 answers  ·  posted 1y ago by matthewsnyder‭  ·  last activity 1y ago by Basile Starynkevitch‭

Question filesystem
77%
+5 −0
Q&A What are the concrete security risks of forcibly terminating a process?

I'm using the Gnome System Monitor in Linux Mint. Whenever I attempt to "End" or "Kill" a process, I am given this warning via a modal dialog (emphasis mine): Killing a process may destroy data,...

2 answers  ·  posted 1y ago by Karl Knechtel‭  ·  last activity 7mo ago by Kamil Maciorowski‭

Question security kill
77%
+5 −0
Q&A What is cat abuse/useless use of cat?

Sometimes I share Unix commands online, and people chastise me for "useless use of cat" (UUOC) or "cat abuse". My cat is quite comfy and doing very well, thank you. What are they talking about?

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

Question cli