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
575 posts
 
50%
+0 −0
Q&A How to get a mailto: URI out of abook(1)

There's no such feature. But it's easy to write. Apply this patch: From 8ea7d1cf4933ca24006308ac61aa50fb8ab33b02 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar <alx@kernel.org> Date: S...

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

Answer
50%
+0 −0
Q&A How to list the first x files in each directory

MWE With the following tree: l1 └── l2 ├── d0 │   ├── f0 │   ├── f1 │   ├── f2 │   ├── f3 │   ├── f4 │   └── f5 ├── d1 │   ├── f0 │   ├── f1 ...

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

Question bash zsh ls find cp
50%
+0 −0
Q&A Ergonomic way to search man pages

Unix filters are quite handy. First of all, you can get an index of any manual page with a simple grep(1): $ man pacman | grep '^[^ ]' PACMAN(8) Pacman Manual ...

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

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

Instead of having new stdout lines overwrite the previous one, it seems better to specify that old stdout lines should be overwritten by anything that comes after them. This has the benefit that s...

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

Answer
50%
+0 −0
Q&A Run pipeline in the background from git hook

Use nohup(1), and redirect stdout and stderr to /dev/null The following works as expected, not having to wait until the PDF is generated. #!/bin/sh test "$1" = "refs/heads/main" || exit 0; ...

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

Answer
50%
+0 −0
Q&A How to list the first x files in each directory

Here's my approach: find l1 -type d \ | while read d; do find $d -maxdepth 1 -type f \ | head -n3; done; If your middle directories also contain files, it will also show them (of course, ...

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

Answer
50%
+0 −0
Q&A How to identify and separate standalone applications from libraries in Linux package lists?

This answer is not directly usable under Arch, since I don't know the tools there. I show you a way to do it on Debian, which may inspire you to find a similar way in Arch. With apt-file(1), you ...

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

Answer
50%
+0 −0
Q&A How to create systemd unit that depends on a website being up?

To make your example work, you should add Type=oneshot and RemainAfterExit=true to the [Service] section. This way the unit won't be considered active until the curl has actually succeeded, and ei...

posted 7mo ago by Iizuki‭

Answer
50%
+0 −0
Q&A How to list the first x files in each directory

There's three parts to this: Find all directories (in your case, sounds like you want depth=3 only) Print the top 3 files in a single directory Apply 2 to each in 1 1 should be a separate q...

posted 7mo ago by matthewsnyder‭  ·  edited 7mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How to open a port in firewalld?

You add a port to the public zone like so: # firewall-cmd --zone=public --add-port=8080/tcp Firewalld knows already many of the commonly used ports, so you might just use the service name inste...

posted 7mo ago by Iizuki‭

Answer
50%
+0 −0
Q&A How to see VRAM with inxi?

Inxi has a -x, -xx, -xxx for extra details. I'd try sudo inxi -G -xxx though if it WILL report VRAM is another matter. My help says: -G Device serial number, class ID; Xorg Screen size, diag; ...

posted 6mo ago by LAFK‭  ·  edited 6mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A Run command with Key Combination in Gnome

Is there a way in Ubuntu (22.04) to run a given bash command for a given Key combination in Gnome (42.9)? This Ubuntu is running in Hyper-V on a Win10 host. (I would like to run the setxkbmap us a...

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

Question ubuntu gnome
50%
+0 −0
Q&A How to fix the dark mode after the Gnome 1:44 update?

It seems like Gnome requires xdg-desktop-portal-gnome. that has been removed to be installed. It turns out that things used to work due to a fallback path that has been removed now. Installing t...

posted 7mo ago by mr Tsjolder‭

Answer
50%
+0 −0
Q&A How to see VRAM with inxi?

What switches do I need to add to see my video RAM (VRAM) with inxi? inxi -G shows my video card model and other info, but not video RAM.

1 answer  ·  posted 7mo ago by matthewsnyder‭  ·  last activity 6mo ago by matthewsnyder‭

Question inxi
50%
+0 −0
Q&A Installing Ruby on MacOS 12.2 (or 11.6) produces compilation errors in the downloaded source; how do I fix?

Wait a minute I think you missed something, yesterday when I read your message in Discord I thought you were unable to install RVM which were producing that error. But this question clears my confu...

posted 2y ago by Anonymous‭

Answer
50%
+0 −0
Q&A Automated wifi 'scavenging', daemon recommendation?

I have a RPi in the car that I need to act as a mobile AP. I need it to provide a consistent, unchanging ESSID (in AP mode) using the onboard wlan0 for all devices that stay in my car. Dashcams, t...

0 answers  ·  posted 2y ago by re89j‭

Question wifi networking
50%
+1 −1
Q&A Is there possible way to change bit if my system is using 64 bit kernel?

Don't try to move to 64 bit if your system isn't using 64 bit kernel. The solution is pretty is for Debian-based linux. sudo dpkg --add-architecture amd64 sudo apt-get update sudo apt-get -f ins...

posted 2y ago by Anonymous‭

Answer
50%
+1 −1
Q&A Why can't I install google-chrome?

Actually, there's another process is running in another terminal. Seems like that is installing something or update or upgrading your system. That's why dpkg -i returned that database is locked ...

posted 2y ago by Anonymous‭

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

I'll post this as an example of what I'm looking to do. The following script: import sys a = sys.stdin.read() b = a.strip() c = map(lambda s: s.strip(), b.splitlines()) for s in c: p...

posted 10mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How do you terminate a DHCP lease in OpenWrt?

There is not a way to do this from the Web UI (LuCI). Instead: SSH into the router Delete the corresponding line from /tmp/dhcp.leases However, note that this is not enough to get a new IP. ...

posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How do you terminate a DHCP lease in OpenWrt?

I am testing some DHCP stuff, and I want to manually end a lease so I don't have to wait hours for them to expire. How can I do this with OpenWrt?

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

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

I am running X on Arch Linux without a desktop environment, only i3. Sometimes I need to switch between typing in different languages. How do I switch my keyboard layout?

1 answer  ·  posted 10mo ago by matthewsnyder‭  ·  last activity 10mo ago by mr Tsjolder‭

50%
+0 −0
Q&A Dnsmasq vs. dnscrypt-proxy

I am trying to run a DNS server on my LAN. I set it up where: Dnsmasq is the "initial" server that clients see Dnsmasq resolves internal domains, and handles overrides (such as if I want to blo...

0 answers  ·  posted 8mo ago by matthewsnyder‭

50%
+0 −0
Q&A Copy to clipboard from terminal with Vim bindings

Vim has multiple "registers", which in modern parlance is multiple internal clipboards. By default, yank sends to an anonymous register, which is separate from the clipboard. However, you can make...

posted 10mo ago by matthewsnyder‭  ·  edited 10mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A SSH key added to agent, but keeps asking for password

I have my key added to ssh-agent and they show up in ssh-add -l. When I try to actually SSH to a host that requires the key, I still get prompted for a password. I enter it again and again and it s...

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

Question ssh-agent