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

Type On... Excerpt Status Date
Comment Post #291288 I suppose it depends on how compliant the parser in question is, but I don't recall facing any issues with this. You can mix and match too. Parts in json and parts in (non-json) yaml. I've done this a few times in Ansible I think.
(more)
about 1 month ago
Comment Post #293018 I opted to ask here simply because Linux was the only OS I cared to know the answer for. Certainly the question would make sense for other OS:ses too, but generic questions are just more noisy. So, I'd vouch for crossposting.
(more)
7 months ago
Comment Post #295328 This tries to solve the inverse problem. This question is about Markdown to PDF conversion. You can open another question about PDF to Markdown, and provide this as the answer there.
(more)
8 months ago
Edit Post #294869 Post edited:
Update to a more sudo friendly command
9 months ago
Edit Post #295126 Initial revision 9 months ago
Answer A: What is frontswap?
Frontswap is a `tmem` interface in the kernel. The idea is to have a little faster RAM-like alternative to traditional(ly dreaded) swap. When memory pressure starts to mount, the kernel will ask frontswap before swapping a page. Frontswap is just an interface, so it could have different backen...
(more)
9 months ago
Edit Post #295121 Initial revision 9 months ago
Question What is frontswap?
I noticed that according to `htop` part of my swapped out memory is categorized as frontswap. What's that about?
(more)
9 months ago
Edit Post #294869 Initial revision 11 months ago
Answer A: Copy files while showing progress
Pipe Viewer or `pv` is a program for displaying the throughput of any pipe. It can be used to monitor all sorts of transfers, but for a simple copy you don't even need to pipe any other commands. Just select the file as the input and direct to your destination: ```commandline $ pv source.file...
(more)
11 months ago
Comment Post #294818 At first I thought this was a Pipe Viewer clone but it's actually way more ad hoc :D Just looking for processes you probably wanted to monitor. Looks convenient though ^^
(more)
11 months ago
Comment Post #294803 Sure, `cp` does exactly what it's supposed to do. It's a great tool, but sometimes you just need to do something slightly different.
(more)
11 months ago
Edit Post #294803 Initial revision 11 months ago
Question Copy files while showing progress
The standard `cp` tool from GNU coreutils just copies files silently. This can be a little unnerving when copying large chunks of data. You're left to wonder whether it's actually doing something or just got stuck. How to copy files and directories in terminal while displaying some kind of pro...
(more)
11 months ago
Comment Post #294621 Thanks for the pointer!
(more)
11 months ago
Edit Post #294704 Initial revision 11 months ago
Answer A: What are these weird hash symlinks to certificates in /etc/ssl/certs?
They are created by `openssl-rehash` tool. Probably your distro runs this somewhere behind the scenes so you don't have to. Quote from the docs above: > This command is useful as many programs that use OpenSSL require directories to be set up like this in order to find certificates.
(more)
11 months ago
Edit Post #294621 Initial revision 12 months ago
Question What are these weird hash symlinks to certificates in /etc/ssl/certs?
Trusted CA certificates are commonly stored in `/etc/ssl/certs`. Looking at the directory on my ubuntu server there's a bunch of certificate files and symlinks to certs in other directories as expected, but there are also these weird looking symlinks to the previously mentioned entities: `68dd...
(more)
12 months ago
Edit Post #293481 Post edited:
Summary
over 1 year ago
Edit Post #293483 Initial revision over 1 year ago
Answer A: How to get the kernel version?
`uname`, short for Unix Name, is part of GNU coreutils, and thus very likely already installed: ```commandline $ uname --kernel-release 6.13.3-arch1-1 ``` It has some other potentially interesting flags too. Go and have...
(more)
over 1 year ago
Edit Post #293481 Initial revision over 1 year ago
Question How to get the kernel version?
How to get the version of the currently running Linux kernel? I'm looking for a commandline solution, but feel free to post GUI solutions as well.
(more)
over 1 year ago
Comment Post #293206 The OS can set the hardware clock too, and I would expect this to happen automatically eventually. I don't know what exactly is used for time synchronization in Ubuntu, but there should be a command to run it immediately.
(more)
over 1 year ago
Comment Post #293023 Weasyprint was just what I needed! I had previously tried with the latex engines in texlive, and that just seemed unnecessary complex for a seemingly simple task.
(more)
almost 2 years ago
Edit Post #293018 Initial revision almost 2 years ago
Question How to convert a markdown file to PDF?
How to convert a markdown file to PDF? The final PDF output should represent the rendered markdown file. Bonus points if the method also preserves colored emojis. Both CLI and GUI solutions are welcome.
(more)
almost 2 years ago
Comment Post #292961 Have you looked at `docker system prune`? I have a scheduled a run with `--force --all --filter "until=720h"` options, which clears stuff after one month.
(more)
almost 2 years ago
Edit Post #292908 Initial revision almost 2 years ago
Answer A: How does the OOM Killer stop its victim process?
I couldn't find a definitive authoritative documentation anywhere but this seems pretty good: Mel Gorman: Understanding the Linux Virtual Memory Manager, Section 13.4 > Once a task is selected, the list is walked again and each process that shares the same mmstruct as the selected process (...
(more)
almost 2 years ago
Edit Post #292906 Initial revision almost 2 years ago
Question How does the OOM Killer stop its victim process?
Suppose the machine is short on memory and the OOM Killer has selected a target process to shut down (in order to reclaim memory). How does the OOM killer actually kill the process? Is it done using one of the standard signals, or does it perhaps have some special tricks up its sleeve?
(more)
almost 2 years ago
Comment Post #292860 I can relate :D
(more)
almost 2 years ago
Comment Post #292860 Yeah there is. I just find it sketchy to copy paste commands with unexplained options, thus I prefer the long format. But it can be an ok addition as long as it's the same command. Go ahead and suggest an edit!
(more)
almost 2 years ago
Comment Post #292860 Thanks for the correction!
(more)
almost 2 years ago
Edit Post #292860 Post edited:
Comment suggestion
almost 2 years ago
Edit Post #292860 Post edited:
Add doc link
almost 2 years ago
Edit Post #292860 Initial revision almost 2 years ago
Answer A: How to extract .tar.gz archive?
`tar` can do it all: ```commandline $ tar --extract --ungzip --one-top-level --file archive.tar.gz ``` That will result in a directory named according to the archive (so just `archive` in this case) containing the extracted files. The original `archive.tar.gz` is not consumed. For more...
(more)
almost 2 years ago
Edit Post #292859 Initial revision almost 2 years ago
Question How to extract .tar.gz archive?
`.tar.gz` is a pretty common archive format. How to extract its contents, "unzipping" it in the command line?
(more)
almost 2 years ago
Comment Post #292703 Added directories to the title.
(more)
almost 2 years ago
Edit Post #292703 Post edited:
Add directories to the subject as per comment suggestions
almost 2 years ago
Edit Post #292703 Post edited:
grammar
almost 2 years ago
Comment Post #292703 Yeah I just wanted to keep the subject concise.
(more)
almost 2 years ago
Edit Post #292703 Initial revision almost 2 years ago
Question How to find big files and directories?
You've just run `df -h` and are shocked how little disk space you got left. You'd like to find where all the space has gone. How to find big(est) files and directories on your system? (So that you can try to free up space.)
(more)
almost 2 years ago
Edit Post #292490 Initial revision about 2 years ago
Answer A: How to move a BTRFS filesystem to another drive?
A convenient but a little risky method Don't do this unless you have backups on a separate drive, and are prepared to restore from them. Properties Pros - Easy - Uses native BTRFS tools - Can be done on a live system, even if `/` is on this filesystem. - Though you will need to...
(more)
about 2 years ago