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
 
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 1y ago by alx‭  ·  edited 1y 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 1y ago by alx‭  ·  edited 1y 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 1y ago by alx‭  ·  edited 1y 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 1y ago by alx‭  ·  edited 1y 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 1y ago by alx‭  ·  edited 1y 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 1y 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 1y ago by matthewsnyder‭  ·  edited 1y 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 1y 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 1y ago by LAFK‭  ·  edited 1y 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 1y ago by Arpad Horvath‭  ·  last activity 1y 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 1y 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 1y ago by matthewsnyder‭  ·  last activity 1y ago by matthewsnyder‭

Question inxi
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 2y 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 2y ago by matthewsnyder‭  ·  last activity 2y ago by matthewsnyder‭

Question ssh-agent
50%
+1 −1
Q&A How to securely erase data from a thumb (solid state) drive

Answering your question as written, this is a hardware-specific question. Since solid-state storage chips typically keep the details of which cells are being used to write data hidden from the OS, ...

posted 2y ago by r~~‭

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

After some digging, I was able to figure out the problem. I actually have multiple keys. In Kwallet, I noticed that one of them has the wrong passphrase. So looks like I put the passphrase of Key X...

posted 2y ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How do you eval SSH agent output in fish?

SSH agent prints some envar commands for sourcing in a shell. However, these are bash-style, and I use fish. Fish barfs at the bash syntax. How can I fix it?

1 answer  ·  posted 2y ago by matthewsnyder‭  ·  last activity 2y ago by matthewsnyder‭

Question fish ssh-agent
50%
+0 −0
Q&A How do you eval SSH agent output in fish?

There are three options. I will list them from least practical to most, because I don't want people to stop reading halfway through :) Parse ssh-agent output with your custom script and re-print...

posted 2y ago by matthewsnyder‭

Answer
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 2y ago by matthewsnyder‭  ·  edited 2y ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How to securely erase data from a thumb (solid state) drive

How do you securely erase data from a thumb (USB/flash) drive? With traditional (magnetic/spinny) hard drives, it used to be that you could use various tools to simply overwrite with random data, ...

1 answer  ·  posted 2y ago by matthewsnyder‭  ·  edited 2y ago by matthewsnyder‭

Question security filesystem hardware
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 1y ago by matthewsnyder‭  ·  edited 1y 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 1y ago by matthewsnyder‭  ·  last activity 1y ago by matthewsnyder‭

Question networking dhcp openwrt
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 1y ago by matthewsnyder‭

Question dns dnsmasq dnscrypt-proxy
50%
+0 −0
Q&A Why does a reverse hexdump truncate the message?

$ echo "4c 6f 72 65 6d 20 69 70 73 75 6d 20 64 6f 6c 6f 72 20 73 69 74 20 61 6d 65 74 2c 20 63 6f 6e 73 65 63 74 65 74 75 72 20 61 64 69 70 69 73 63 69 6e 67 20 65 6c 69 74 2c" | xxd -r orem ipsum...

1 answer  ·  posted 2y ago by TRiG‭  ·  edited 2y ago by Canina‭

Question xxd
50%
+0 −0
Q&A How can I change the timeout after too many incorrect login attempts?

When I enter the login password incorrectly 3 times, my computer locks me out from attempting a login for 10 minutes. How can I change the timeout?

1 answer  ·  posted 2y ago by matthewsnyder‭  ·  last activity 2y ago by matthewsnyder‭

Question arch-linux password