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 »

Activity for matthewsnyder‭

Type On... Excerpt Status Date
Edit Post #291314 Initial revision 1 day ago
Question Systemd unit needs to start at boot but wait for network
I have a systemd unit that does some stuff on the internet. Sometimes this gets fired at startup. I want to make sure it's delayed until the computer is connected to the internet. In my notes I found: ``` Wants=network-online.target After=network-online.target nss-lookup.target ``` Is this ...
(more)
1 day ago
Edit Post #291283 Initial revision 9 days ago
Answer A: How do I migrate my main filesystem to a new drive?
I'll add a specific, simple way that worked for me: 1. Create some kind of Linux Live USB 2. Boot into Live OS 3. Use `lsblk` and `blkid` to figure out which drive exactly is the old and new one. Stay in the same Live session (don't reboot) in case the drives move around between boots. 4. Doubl...
(more)
9 days ago
Comment Post #291256 Yes :) If the answer is > You cannot trigger cron jobs manually. You can only do that in systemd, this is one of the things systemd tried to "fix" vs. cron. That is acceptable, I just don't know for sure if it is.
(more)
9 days ago
Edit Post #291264 Initial revision 12 days ago
Answer A: How do I migrate my main filesystem to a new drive?
Gnome disks can create a disk image, and then restore it to the new one. The new drive has to be same size or larger, although this is obvious. If it is larger, the partition will still be small, but I find it easier to resize it after the fact. It's better if the sector size also matches: http...
(more)
12 days ago
Edit Post #291263 Initial revision 12 days ago
Question How do I migrate my main filesystem to a new drive?
I want to switch hard drives. How do I migrate my root FS from the drive it's on, to the new one, so that everything is exactly as it is?
(more)
12 days ago
Edit Post #291260 Initial revision 13 days ago
Question Get notifications to dunst when systemd units fail
How can I get notifications to dunst when systemd units fail?
(more)
13 days ago
Edit Post #291256 Initial revision 14 days ago
Question Manually trigger cron jobs
Do any of the cron implementations allow you to manually trigger cron jobs (stuff in your crontab) right now, in the exact same manner as they would have when triggered on their usual schedule, except for timing?
(more)
14 days ago
Edit Post #291220 Post edited:
18 days ago
Edit Post #291220 Post edited:
18 days ago
Edit Post #291220 Post edited:
18 days ago
Edit Post #291220 Initial revision 18 days ago
Answer A: Why/how can distro support lifetimes exceed the lifetime of their dependencies (such as Python)?
When PSF says Python 3.8 is not supported, they are simply saying they will no longer bother fixing bugs in or adding stuff to that version. It's not like Python 3.8 will start automatically exploding your computer the moment they drop support. They just don't want you to come complain to them if you...
(more)
18 days ago
Edit Post #291204 Initial revision 22 days ago
Question ==> WARNING: Possibly missing firmware for module: 'foo'
When I create the initramfs, I sometimes see messages like: ``` ==> WARNING: Possibly missing firmware for module: 'xhcipci' ``` I get many for different modules. 1. What do they mean? 2. Should I install the missing firmware? My computer seems to be working fine. 3. If I don't want to ins...
(more)
22 days ago
Comment Post #291137 Ah, my mistake. Of course, it's the other way around.
(more)
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291140 Post edited:
27 days ago
Edit Post #291140 Post edited:
27 days ago
Edit Post #291140 Initial revision 27 days ago
Answer A: What are non-POSIX shells and what's the point of them?
From the average user's perspective: Back in the day when people were figuring out how to do shells, there were as many shell syntaxes as shells. Everyone made up their own little language to go with their shell. Most of them sucked big time. One sucked a bit less, that became bash. The others die...
(more)
27 days ago
Edit Post #291139 Initial revision 27 days ago
Question What are non-POSIX shells and what's the point of them?
I've been learning some Linux and I finally feel like I can find my way around the command line. But now I hear people say there are other, "non-POSIX" kinds of shell, with different semantics. What are these for?
(more)
27 days ago
Edit Post #291138 Post edited:
27 days ago
Edit Post #291138 Post edited:
27 days ago
Edit Post #291135 Post edited:
27 days ago
Edit Post #291134 Post edited:
27 days ago
Edit Post #291138 Post edited:
27 days ago
Edit Post #291138 Initial revision 27 days ago
Question How do you generate arbitrary random numbers from /dev/random?
Suppose I want to get random numbers from `/dev/random` with basic CLI tools. Is there a way to do it, that's easier to type and read than `python -c 'import random; print(100 + 200random.random())'`? I know how to generate random strings and I could generate a string of digits. But that's not ver...
(more)
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291137 Post edited:
27 days ago
Edit Post #291137 Initial revision 27 days ago
Answer A: What is cat abuse/useless use of cat?
UUOC is an ancient Unix yarn. I can't find the original essay (I believe from Usenet, where else...) but if memory serves it's either from early 90s or before. `cat` is actually a program for concatenating files. `cat file1 file2 ...` will give you `file1+file2+file3`. Together with `split`, this ...
(more)
27 days ago
Edit Post #291136 Initial revision 27 days ago
Question 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?
(more)
27 days ago
Edit Post #291135 Initial revision 27 days ago
Answer A: How do you generate random strings from /dev/random?
`/dev/random` is a stream of every possible value. You're supposed to filter it to take the ones you want. This is efficient, although if the values you want are such that only, say, 1% of what comes out of `/dev/random` is acceptable, then it will obviously take 100x longer to generate them. But luc...
(more)
27 days ago
Edit Post #291134 Initial revision 27 days ago
Question How do you generate random strings from /dev/random?
Of course every language has some kind of `random` library... But can you generate custom random strings with just basic CLI tools? For example, we have `/dev/random` which provides a stream of random values... But they're random bytes, so a lot of them are non-printable or special characters. If ...
(more)
27 days ago