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
Q&A Is it a bad idea to pipe a script from curl to your shell?

Online, I often see someone tell people to run a command like /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" (example from https://brew.sh/). The g...

2 answers  ·  posted 4mo ago by matthewsnyder‭  ·  last activity 3mo ago by Stephen Kitt‭

75%
+4 −0
Meta shell and shell-scripting tags: duplicates?

My assumption has been that shell-scripting is for scripts only, not interactive usage. Whereas shell is everything else, like interactive usage. I wish we could edit these descriptions to clarify...

posted 1y ago by matthewsnyder‭

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

This other answer tries to truncate each line to make it fit the width of the terminal. It's hard to do this reliably because e.g. a tab character counts as one, but it looks like several spaces; o...

posted 1y ago by Kamil Maciorowski‭  ·  edited 1y ago by Kamil Maciorowski‭

Answer
75%
+4 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

(Assuming your file names are portable, according to POSIX (https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_282). If not, please read this for writing a more robust...

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

Answer
75%
+4 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

TASK I am coding up ebooks to a specific standard, and have a script that converts a string into the correct titlecase for this publisher. When working with some public domain source files, one of...

4 answers  ·  posted 12mo ago by David‭  ·  last activity 8mo ago by Mithical‭

75%
+4 −0
Q&A How to bypass SSH destination host key fingerprint check?

I'm going to assume that you're using OpenSSH, since that is probably the most common SSH implementation on present-day *nix systems. The easiest is probably to use ssh-keygen -R to delete all kno...

posted 1y ago by Canina‭

Answer
75%
+4 −0
Q&A How to extract string from file, run filter, and replace in file with new value?

for file in in chapter-*.xhtml do sed -ir "12s/\b([A-Z])([A-Z]+)/\1\L\2/g;" "$file" done This -ir tells GNU-sed so alter the file in place (-i) and use regexp-extended (-r). For line 12...

posted 12mo ago by user-unknown‭  ·  edited 8mo ago by Mithical‭

Answer
75%
+4 −0
Q&A Higher-order functions in Bash?

Do not embed {} in the shell code. If your {} gets expanded (by xargs) to ./rogue name $(reboot).txt then bash -c 'my-func "{}"' _ will become bash -c 'my-func "./rogue name $(reboot).txt"' _ a...

posted 1y ago by Kamil Maciorowski‭  ·  edited 1y ago by Kamil Maciorowski‭

Answer
75%
+4 −0
Q&A VISUAL=gvim makes crontab -e open a new crontab instead of a current one

My VISUAL setup interferes with my cron jobs. crontab -l works all right, I see my previous jobs. crontab -e, crontab -e -u user-here - opens GVIM on an empty file checked cron.allow or .deny,...

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

Question cron
72%
+6 −1
Q&A What are the correct permissions for `~/.ssh/config`?

From man ssh_config: This file is used by the SSH client. Because of the potential for abuse, this file must have strict permissions: read/write for the user, and not writable by others.

posted 1y ago by r~~‭

Answer
72%
+6 −1
Q&A How do I get lubuntu to not prompt non-admins about updates?

I have an old Mac Mini (Late 2009 model) kicking around, and as Apple stopped providing patches for it (and as I'm not going to put an unpatched system on the Internet), I was looking for a Linux d...

1 answer  ·  posted 3y ago by Peter Cooper Jr.‭  ·  last activity 3y ago by deleted user

72%
+6 −1
Meta Should we merge with Power Users?

To increase the activity of the site (one of the main concerns related to making Codidact grow), I suggested merging Linux Systems with Power Users on Meta. Do you agree or disagree with merging?

3 answers  ·  posted 3y ago by Quasímodo‭  ·  last activity 3mo ago by mcp‭

71%
+3 −0
Q&A how to determine from the command line whether a DVD is encrypted

I am currently ripping a bunch of DVDs. Some are encrypted, and some are not. My method for ripping a DVD depends on whether or not it is encrypted, so I am looking for a command-line method to det...

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

Question dvd
71%
+3 −0
Meta How can we grow this community?

I stopped using a former Q&A Network of Sites because of their poor political choices. Before I left, I noticed a number of people who also objected to those politics renaming their usernames ...

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

Answer
71%
+3 −0
Q&A VPN tunnel for outgoing connections but still allowing incoming bidirectional connections, using Wireguard or OpenVPN on Linux

For a particular use case, I need to be able to set up a Linux host (specifically Debian) to use a VPN tunnel for routing outgoing connections, but still allow incoming connections outside of that ...

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

Question wireguard openvpn
71%
+3 −0
Q&A How do I safely replace brew on Big Sur?

Since asking this question I've updated to 12.2 (Monterey), but it's the same problem on either. I was nervous about blowing away my existing brew installation, even if I first captured a list of ...

posted 2y ago by Monica Cellio‭

Answer
71%
+3 −0
Q&A Close all desktop notifications

While there doesn't seem to be a general command like notify-send to hide all notifications, we can use features of our specific notification daemon, like mako in this case, to hide all notificatio...

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

Answer
71%
+3 −0
Q&A Who creates subdirs under `/run`?

Looking at a few system daemons on my Fedora 36 machine; avahi, rpcbind & chrony. avahi & chrony seem to both do the creating of their /run/<program> directories, rpcbind seems to b...

posted 2y ago by ac000‭

Answer
71%
+3 −0
Q&A What does capital T mean in the output of 'ls -l'?

I had a nightly cronjob start throwing errors about "inappropriate permissions..." rsync: [generator] failed to set permissions on "/data2/home/redacted/alsoredacted/opt/dell/srvadmin/var/log/open...

2 answers  ·  posted 3y ago by re89j‭  ·  last activity 3y ago by Quasímodo‭

Question linux coreutils ls
71%
+3 −0
Q&A Docking station block playing of audio on laptop

Use pavucontrol-qt It can be used to investigate configuration of output - in my case comparing what pavucontrol shown with and without docking station indicated that dock was recognized as "USB h...

posted 3y ago by Runaway_from_you_know_what‭

Answer
71%
+3 −0
Q&A Set compose key to Shift + AltGr

You can find a list of options in man xkeyboard-config. Under the section "key to choose the 3rd level" is the one you are after: lv3:ralt_switch_multikey Right Alt; Shift+Right Alt as Compo...

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

Answer
71%
+3 −0
Meta Who should the temporary moderators be?

As we have set up communities here on the Codidact network we've been appointing temporary moderators. Ultimately, of course, we want each community to choose its own moderators; we've been doing ...

2 answers  ·  posted 3y ago by Monica Cellio‭  ·  edited 3y ago by Monica Cellio‭

71%
+3 −0
Meta Who should the temporary moderators be?

I would like to also nominate Quasímodo‭ Although the community doesn't have a lot of content yet, Quasímodo has contributed generally well-received content on several subject matters (both as qu...

posted 3y ago by Canina‭

Answer
71%
+3 −0
Q&A Why is libvkd3d1 not upgrading on my system? (lubuntu 20.04 LTS)

Why is libvkd3d1 not upgrading on my system? (lubuntu 20.04 LTS) When I run sudo apt update, apt flags libvkd3d1 and libvkd3d1:i386 as upgradable, but sudo apt upgrade does nothing and reports tha...

1 answer  ·  posted 3y ago by Darth_Muldoon‭  ·  last activity 3y ago by Canina‭

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

I don't know what these things are called exactly in the Linux world. But there is the concept of a drive in RAM, to write files onto and read them like it was any disk drive. There is also the c...

1 answer  ·  posted 3y ago by CanisSomnolentus‭  ·  edited 10mo ago by matthewsnyder‭

Question file RAMdisk ramfs