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 Canina‭

Type On... Excerpt Status Date
Comment Post #291145 You can also put the input file direction first, if that makes the overall command easier for you to parse. So you can write </dev/random fooprog instead of fooprog </dev/random if you want. The observable effect is the same: `fooprog` will execute with its standard input set up t...
(more)
about 1 month ago
Comment Post #290588 This isn't an answer specific to pacman, but if you're using bash, you can use command repetition with a prefix (or suffix). For example: $ ls /root ls: cannot open directory '/root': Permission denied $ sudo !! sudo ls /root [sudo] password for <user>: <list of fi...
(more)
3 months ago
Comment Post #290287 @#53054 Done. However, please keep in mind that if an edit would invalidate existing answers, it is generally better to post a new question incorporating what you have learned and highlighting how the new is different, than to edit an original question in such a way that existing answers no longer ap...
(more)
5 months ago
Comment Post #290113 @#61308 I would honestly not consider it a "small detail" whether you are interested in answers for, say, FreeBSD, Windows Subsystem for Linux, Mac OS X, Linux, or Illumos, to name just a few possibilities; especially for a question where answers are likely to touch on deep aspects of the workings of...
(more)
6 months ago
Comment Post #289952 @#65961 That *should* be just the first time, yes; the first time they are accepted, the SSH client should save the new host keys so that they are known on the next connection.
(more)
6 months ago
Comment Post #290113 What operating system(s) are you interested in answers for? I'm closing the question for the moment, but if you clarify this, I suspect it will be answerable. Feel free to flag for reopening after editing.
(more)
6 months ago
Comment Post #290013 @#65946 That's odd; I tried my example in a Trixie VM and got the same results that I showed in my answer. Well, whatever works for you. Hopefully this will be useful for someone else.
(more)
7 months ago
Comment Post #289799 When all else fails, there's always the brute force way. I don't have abook installed, but based on the man page you linked it doesn't look like it supports an output format that will natively do what you want. However, based *only* on your one example, might this do the trick? `$ abook --mutt-...
(more)
7 months ago
Comment Post #289442 There might be some edge case where you need to use `sudo` for `ip addr show`, but generally, that's an unprivileged command. So there should be no need for `sudo` in this case.
(more)
9 months ago
Comment Post #288929 I'm not up to writing an actual answer, and if someone wants to take this and turn it into an answer before I have a chance to then that's fine by me; but actually using the MAC address directly to generate an IPv6 address, as that page seems to do, has been broadly discouraged for a good while. S...
(more)
10 months ago
Comment Post #288311 I believe it can have, at least in some circumstances. With the GNU coreutils 8.32 `ls` and GNU findutils 4.8.0 `find` on Debian 11/Bullseye, observe: $ cd $(mktemp -d) $ touch abc$'\n'def $ /bin/ls -N abc?def $ /bin/ls 'abc'$'\n''def' $ find . -type f -print ...
(more)
11 months ago
Comment Post #286999 While it doesn't solve your problem, I see that part of your frustration is with the fact that > while the build isn't finished my computer is under heavy load so I can barely navigate a browser. To help rectify this, have you tried running the original command using `nice` to reduce its priori...
(more)
over 1 year ago
Comment Post #286772 @#8056 Good point; incorporated. Thank you.
(more)
almost 2 years ago
Comment Post #286772 @#56802 It works because `ls` defaults to `-1` behavior when the output is not a terminal. You can pass `-1` explicitly if you like; it won't hurt. This is also typical behavior of many \*nix commands that produce column-oriented output when run from a terminal: if run in a context where standard ...
(more)
almost 2 years ago
Comment Post #286725 This might sound like nitpicking, but it's actually not. *Which "system clipboard" are you referring to?* For example, on Linux there's X11's two separate copy buffers and on the console something like GPM's copy functionality; Wayland probably offers something similar; and other \*nixes may do thing...
(more)
almost 2 years ago
Comment Post #286170 It's not a daemon, but I suspect most Linux wireless network UIs these days are simply front-ends to Network Manager, in which case perhaps something like `nmcli device wifi list --rescan` and `nmcli device wifi connect ...` might prove useful. See nmcli(1).
(more)
about 2 years ago
Comment Post #285962 The domain name `mydomain.com` actually belongs to someone, so it's a poor choice for anonymization. RFC 2606 specifically reserves some easily-recognizable domain names, including `example.com`, for use for examples and documentation; those should be preferred. (There's also, for example, `home.arpa...
(more)
about 2 years ago
Comment Post #285332 @#54837 I'm glad that it worked for you. If you want to indicate this more clearly to others, you can use the "react" function just below the voting arrows and select a "works for me" reaction.
(more)
over 2 years ago
Comment Post #285150 I agree; there have been several issues raised in response to this suggestion that definitely do bear consideration, not least regarding a sense of community cohesion.
(more)
over 2 years ago
Comment Post #285150 Splitting into Windows and Linux categories (whatever those might be called) would introduce other issues; for example, where would one ask questions about how to (as a hypothetical example) physically hook up a power supply, which has nothing whatsoever to do with the operating system or other softw...
(more)
over 2 years ago
Comment Post #285187 This is most definitely a valid argument that bears consideration. Thank you for raising it.
(more)
over 2 years ago
Comment Post #285144 See also https://powerusers.codidact.com/posts/285123
(more)
over 2 years ago
Comment Post #285117 I don't have any OS X system to check on, but it [looks like](https://docs.brew.sh/Manpage) `brew leaves` will "List installed formulae that are not dependencies of another installed formula" whereas `brew list` will "List all installed formulae and casks". I'm not sure if the exclusion of casks (app...
(more)
over 2 years ago
Comment Post #284956 @#8046 I wouldn't rule it out without at least checking. The fact that you're getting compilation errors that point toward files from `readline` at the very least strongly suggests that there's an issue there; it doesn't guarantee that that's the problem (some types of errors in the source code can m...
(more)
over 2 years ago
Comment Post #284956 I get the feeling that this relates to readline, perhaps GNU readline, more so than Ruby, really. I suggest to check the installation documentation for mentions of readline version requirements, then look in your /usr/local/opt/readline to see if you can determine what version is actually on your sys...
(more)
over 2 years ago
Comment Post #284956 I don't think that applies, at least not directly. This looks to me to be related to readline; that Github issue is for building with an OpenSSL version that hasn't been updated since 2019 (so almost two years now).
(more)
over 2 years ago
Comment Post #284799 In general, unlike in Microsoft environments, the file name extension is largely meaningless on \*nix systems. It's better to provide the output of something like `file -b`.
(more)
over 2 years ago
Comment Post #284642 @#53919 `showkey` on Debian Bullseye (showing its version as `(console-tools) 0.2.3`) has three modes; `--scancodes`, `--keycodes` (default) and `--keymap`. I'm not sure what you're running, but judging by the man page, it's been like that for a long time.
(more)
over 2 years ago
Comment Post #284642 At least when I try (using `showkey`), it seems that the key down and key release events are very much distinct. I haven't tried using it as a modifier key, though; I already use that key for other purposes which would be incompatible with such use.
(more)
over 2 years ago
Comment Post #284390 This works fine. I inverted the logic, though, to avoid having to put pretty much the entire main body of the loop inside an `if` statement, adding `test -z "${processed[$1]}" || { shift; continue; }` right near the top of the loop. (A caution to anyone adapting this for their own use: don't forget t...
(more)
over 2 years ago
Comment Post #284389 The middle example works fine. I inverted the logic, though, to avoid having to put pretty much the entire main body of the loop inside an `if` statement, adding `test -z "${processed[$1]}" || { shift; continue; }` right near the top of the loop. (A caution to anyone adapting this for their own use: ...
(more)
over 2 years ago
Comment Post #284583 That's not what it does to me; with less 551, I get the expected semi-binary view rather than a hexdump-style view. A few things of note: That new `bash` session might not itself read the shell initialization files, but it's going to inherit the environment from the spawning shell. That could i...
(more)
over 2 years ago
Comment Post #284250 @#36363 I see no evidence of nesting in the pseudocode in this question. Indentation, yes, but not nesting.
(more)
over 2 years ago
Comment Post #284250 More generally, point 2 is about the shell, not about sed, so any other tool that takes a similar expression as a command line argument would require similar quoting (or other handling) of that expression. It seems to me that this question simply seeks a way to split a sed expression onto multiple li...
(more)
over 2 years ago
Comment Post #283940 As an alternative approach, if the system running the flasher program has network access, you can mount a file system over the network and just access the data that way, removing altogether the need to store the file on the flasher system. (Though consider how the flashing process will deal with, for...
(more)
over 2 years ago
Comment Post #283940 What other OSes sometimes call a "RAM disk" or a "RAM drive" is called a ramfs or RAM file system in Linux. Assuming that support is available in the running kernel, `sudo mount -t ramfs none /some/mountpoint` gives you one. (The `none` is just an artefact of how ramfs in particular works. The `mount...
(more)
over 2 years ago
Comment Post #283816 @#53919 The `mpv` man page has several more options one can try; those are just the ones that happened to do the trick for me. Look at the "low latency playback" section. In particular, the man page notes that `--untimed` can break streams that have audio. (Which, aside from the fact that I'm not rea...
(more)
over 2 years ago
Comment Post #283816 I ended up having to add `--profile=low-latency --untimed` to avoid a few-seconds latency in playback due apparently to buffering, but this works nicely after I added my user account to the `video` group which owns the /dev/video\* device nodes.
(more)
over 2 years ago
Comment Post #283804 @#36356 Right now I don't have any specific software in mind other than Microsoft Teams running inside a Windows VM which I'm stuck with for work. It may well turn out to be various web applications running inside a browser instance, for one thing. Also, I would rather have *one* solution which works...
(more)
over 2 years ago
Comment Post #283682 @#53892 Reinstalling from scratch just because a certain amount of time has passed seems on the one hand quite heavy-handed, and on the other not quite enough (imagine if the system is compromised immediately after the reinstallation through a vulnerability which has been patched but for which you ha...
(more)
over 2 years ago
Comment Post #283368 This answer would be much more useful if, instead of just stating the package name needed for one particular printer, it were to describe how you arrived at the conclusion that this was the correct course of action. Not only does that allow other answers that propose better alternatives, it is also m...
(more)
over 2 years ago
Comment Post #282646 I don't think this is on topic for Linux Systems Codidact, as there is nothing in it that is clearly specific to any kind of Unix; it's a question about LibreOffice, which runs on many platforms, not all of them Unix-like. It would probably be a better fit on Power Users. See https://linux.codidact.c...
(more)
almost 3 years ago
Comment Post #282547 @#54151 Try with `-p` also.
(more)
almost 3 years ago
Comment Post #282547 The MySQL `root` user has nothing to do with the system `root` user; the two user namespaces are separate. Also, best practice is to avoid running processes, especially complicated programs, as uid root if possible. Is there any particular reason why you suggest using `sudo` when invoking `mysql`?
(more)
almost 3 years ago
Comment Post #282549 Usually, such version tags are used where different versions may introduce incompatibilities. Is this change somehow guaranteed to work (even with just the two specific versions mentioned in the question), or does it have the potential to lead to weird follow-on errors or even differences in behavior...
(more)
almost 3 years ago
Comment Post #282494 @#54146 See my edit. As for what makes the explanation of the scenario not quite clear, I wouldn't be surprised if the specifics (for example, what type of hardware for each system) make it harder to see the relevant information (for example, what the role of each system is with relation to the other...
(more)
almost 3 years ago
Comment Post #282409 I spun up a Debian 10.10 VM real quick using the netinst image and defaults throughout except for keyboard layout and even going as far as to uncheck everything (including "standard system utilities") in the tasksel step, and even then I have `modprobe` and, after adding `non-free` and doing `apt-get...
(more)
almost 3 years ago
Comment Post #282409 @#53922 If you don't even have `modprobe` installed, then your system is bare enough that there's probably a good number of other things missing which will cause headaches down the road; `modprobe` is provided by `kmod` which has priority `important`, same as `apt` which provides `apt-get`. (Please d...
(more)
almost 3 years ago
Comment Post #282409 @#53922 I edited just now; please check again.
(more)
almost 3 years ago
Comment Post #281718 @IncnisMrsi No, I haven't, but how would that be relevant? That page seems to be about how to make KeePass use a master password that is stored in the Gnome Keyring; I fail to see how that would help me here. Also, even if it works, having to edit the PAM configuration to change the default for a set...
(more)
almost 3 years ago