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 Karl Knechtel‭

Type On... Excerpt Status Date
Edit Post #293027 Initial revision 7 days ago
Answer A: Partially moving /home to a new partition, leaving some content behind
There are two key ideas here: 1. Moving data between partitions entails copying it onto the new one and then deleting it from the original - just like copying between different physical drives. However, of course, the deletion can be postponed arbitrarily; not deleting leaves a potentially useful ...
(more)
7 days ago
Edit Post #293022 Initial revision 8 days ago
Question Running an executable through a symlink, at the target's location
I have this test setup: ``` $ cat first #!./second one two three $ cat second #!/usr/bin/env python import sys for line in open(sys.argv[1]): print(line, end='') ``` After `chmod +x` on the files, I can successfully run `./first` from this directory and it displays its own source...
(more)
8 days ago
Comment Post #292980 @#53410 I suspect that's really the basis of the answer - the key does work, and the question should be clarified along the lines of "why don't I see output...?". Although that depends on what sysrqs *are* working for OP with more observable effects. Before checking whether the expanded permissions w...
(more)
9 days ago
Suggested Edit Post #293000 Suggested edit:
improve clarity and conciseness
(more)
pending 9 days ago
Suggested Edit Post #293006 Suggested edit:
fix formatting, rm noise, improve clarity (e.g. remove references to an irrelevant/unclear "we"), ask a question explicitly
(more)
pending 9 days ago
Edit Post #292963 Initial revision 20 days ago
Question If I have /home on a separate partition, how can I move it back to the root partition?
Some Linux users prefer to have `/home` mounted on a separate partition from the filesystem root, while others prefer a unified partition. I can find plenty of tutorials out there for moving `/home` onto a new partition, starting with a unified one. But what if I wanted to go backwards? Say for ex...
(more)
20 days ago
Edit Post #292906 Post edited:
misc grammar fixes
about 1 month ago
Edit Post #292914 Initial revision about 1 month ago
Question Partially moving /home to a new partition, leaving some content behind
I have a partition and directory structure that looks like: ``` small partition: / usr var ... # etc. large partition: /home shared otherstuff largefolder user1 ... user2 ... medium partition: (empty) ``` The other par...
(more)
about 1 month ago
Edit Post #292913 Post edited:
about 1 month ago
Edit Post #292913 Post edited:
about 1 month ago
Edit Post #292913 Initial revision about 1 month ago
Answer A: Getting a Module Error When Running Pytest Even Though the Module is Installed in the Current Virtual Environment
Although the system package manager was involved for your setup, this is really just a special case of a pure Python issue. When you run a program like Pytest that is itself written in Python, generally the "executable" is just a wrapper that invokes Python to `import` the corresponding library an...
(more)
about 1 month ago
Suggested Edit Post #292906 Suggested edit:
misc grammar fixes
(more)
helpful about 1 month ago
Comment Post #292912 What exactly does it mean to say that Bash will "test for existence" of `${2}`? That is: what will be the final result of `"${2-}"` when `${2}` is set, and what will be the result when it is not set? Or does the "test" instead have some side effect to indicate the result?
(more)
about 1 month ago
Comment Post #292330 For far more detail about this issue, see: https://unix.stackexchange.com/questions/85249
(more)
3 months ago
Edit Post #292330 Initial revision 3 months ago
Answer A: Find path to an executable
`which` only tells you about a path that would be found in PATH. Often, people who think they have this question have a more general question - i.e., what will be used when the named command is requested. In particular, aside from being executables on PATH, commands can also refer to shell builtins. ...
(more)
3 months ago
Edit Post #292293 Post edited:
hopefully clearer wording
4 months ago
Edit Post #292293 Post edited:
incorporate samcarter's comment suggestion
4 months ago
Edit Post #292293 Initial revision 4 months ago
Answer A: What desktop environment am I running?
By memory If you installed Linux yourself, then you were almost certainly informed about this at some point in the process. Generally, you're either expected to choose a separate installer according to which desktop environment you want, or you don't get a choice and the desktop environment is jus...
(more)
4 months ago
Comment Post #292252 What exactly are you expecting to see, and how is that different from what you "view as text"?
(more)
4 months ago
Comment Post #291925 That would be ideal, but a program that maintains its own cache (with timestamps, so it knows when the information is stale) can still make a massive improvement. For example, a program could see that a folder has been modified since the cache update, and then it would only have to stat the files at ...
(more)
5 months ago
Comment Post #291964 What I mean is that if I quit and restart the program, it will re-scan everything. Nothing is, as far as I can tell, persisted between separate runs of the program.
(more)
5 months ago
Comment Post #291925 Oh, no, it's *physically mounted* internally but it's a 2.5" SSD connected by SATA. What I meant by "internal" is that it isn't limited by USB (even 3.0). I'd prefer not to benchmark the disk formally at the moment because my backup setup is currently less than stellar. But it should be capable of so...
(more)
5 months ago
Comment Post #291964 As it happens, I have this program (Baobab) included with my system. It only gets me a small part of the way there. It "caches", but only within a given run of the program - it doesn't persist that data. (Of course, storing the cache could itself invalidate a small part of that data; but I'm pretty s...
(more)
5 months ago
Comment Post #291925 On my system, `time du -s ~` is reporting over a minute of real time, for less than half a million files (per `find ~ -type f | wc -l`, which incidentally is much faster). This is from an internal SSD, so disk throughput shouldn't be the problem. Could it be a quirk of ext4? (Are you using something ...
(more)
5 months ago
Comment Post #291925 Those help with accounting for hard links specifically, but not with the overall question here. Although I'd like to be able to get at the actual system call for the link count in order to do more sophisticated things; but that's a separate question.
(more)
5 months ago
Comment Post #291925 I understand that files could be hard-linked in multiple places within the file system, which raises questions about how to account for them (i.e., which folder counts as "responsible for" the disk usage for that file, or if that usage should even be considered shared between multiple containing fold...
(more)
5 months ago
Edit Post #291925 Initial revision 5 months ago
Question Efficiently determining disk usage of a folder (without starting from scratch every time)
When I use my computer, one question I commonly want to answer for myself is "how much space is being used by the contents of this folder?". Typical file/window managers, IMX, answer this question the same way that Windows does: by recursing over directory contents and summing their logical sizes. Th...
(more)
5 months ago
Comment Post #291597 In Gnome (well, in Mint, which is running Cinnamon, which comes with a bunch of Gnome utilities). I guess it's effectively unrelated software with the same name. :/
(more)
5 months ago
Comment Post #291597 ... That said, I can't seem to find any option to show GPU information in this application... ?
(more)
5 months ago
Edit Post #291878 Initial revision 5 months ago
Question How can I check GPU usage?
Linux Mint comes with "System Monitor", a GNOME utility that - among other things - shows my CPU and RAM usage and network transfer rate. It seems intended as the system's alternative to the Task Manager in Windows. However, this doesn't show me GPU usage. I'd like to be able to check whether a gi...
(more)
5 months ago
Edit Post #291849 Initial revision 5 months ago
Question Why don't LTS distros consistently use/offer LTS kernels?
I've noticed that the default kernel selection for Ubuntu 22.04, for example, is Linux 5.15.0. Ubuntu 22.04 is a LTS release, which is supposed to have standard support until April 2027, and Linux 5.15 is also LTS supported until October 2026 - so there won't be too much of a gap there (and such gaps...
(more)
5 months ago
Edit Post #291842 Initial revision 5 months ago
Question Clarifying terminology related to mounting
I understand that "mounting" in Linux refers to associating some "device" (usually some storage drive or a partition thereof, but it could be a region of RAM, some memory-mapped hardware, etc.) with a filesystem node. But - does "mount point" mean the node, or the device? Which of the two is "moun...
(more)
5 months ago
Comment Post #291819 To be honest, I was hoping more for something that highlights and enumerates the individual terms like "init system", "display manager" etc. The prose is nice for giving a sense of the complexity of the system, but doesn't seem very helpful for mentally managing that complexity. For example, CUPS was...
(more)
5 months ago
Comment Post #291786 I more or less rewrote the question to try to express what I'm getting at more clearly. How does it look now?
(more)
6 months ago
Edit Post #291786 Post edited:
Reworked based on feedback and taking advantage of matthewsnyder's other question
6 months ago
Comment Post #291786 The second of those questions is really what I was trying to get at. It honestly didn't occur to me that the DE would be "special" in this regard. The goal is to identify coherent *components* of the system - questions about swapping them could be separate, sure. What I meant about the package count ...
(more)
6 months ago
Edit Post #291786 Initial revision 6 months ago
Question What's the "big picture" of how my operating system is put together?
My understanding is that one of the key advantages of Linux is modularity: the actual Linux kernel is quite small, and then what we call Linux is that plus the "rest of the system" - hence "operating system" (or "Linux Systems"). And then the latter is typically, but not necessarily GNU (or should I ...
(more)
6 months ago
Edit Post #291782 Initial revision 6 months ago