Questions tagged [linux]
A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.
60,137 questions
0
votes
1
answer
19
views
Duplicate lines and add incremental values to specific points
I'm a novice Linux user and I'm trying to edit a text file that contains a list of names of genes followed by numbers listing how long each is. The edits I want to make are to duplicate each line ...
7
votes
1
answer
544
views
What Linux shell command can I use to display content of a file in which another process is writing?
I developed a process named X0 that continually appends some lines to a CSV file to register some electrical data as voltage or power.
This process run a python program and is started using following ...
0
votes
1
answer
59
views
How to replicate a partition without RAID 1?
I am setting up my first home lab system and I want redundant storage.
For that I am going to use RAID (either RAID 1, RAID 5 or ZFS Z1, not sure yet, which one specifically is irrelevant to the ...
3
votes
1
answer
123
views
None zero mismatch_cnt count mdadm
I have a RAID6 MDADM raid, where is stumbled across, the "mismacth count" /sys/block/md128/md/mismatch_cnt. How bad is a none zero value there?
[root@homeserver ~]# cat /proc/mdstat
...
2
votes
1
answer
193
views
Limit overall memory usage for all logged in users via pam_cgfs.so and cgroups-v2
I am on Debian 13.
I first setup pam_cgfs.so by doing:
sudo apt install lxc
sudo apt install libpam-cgfs
sudo apt install lxc libvirt0 libpam-cgfs bridge-utils uidmap lxd
Then (please see the second ...
0
votes
0
answers
27
views
How to exclude a single directory from a compiler's default header search path?
Anyone who has already tinkered with maintaining self-built software in a parallel subprefix (think Gentoo Prefix or MacPorts, on Mac) knows that the presence of headerfiles under /usr/local/include ...
0
votes
0
answers
28
views
How to get erase count, bad blocks, and total bytes written on Samsung eMMC 5.0 in Linux?
I'm working on an embedded Linux device with a Samsung eMMC 5.0 chip.
I need to obtain the complete health and lifespan information for long-term monitoring, but I can only get limited data from ...
0
votes
0
answers
47
views
How to reach namespace from inside the LAN?
My home server is running an application I only access from my LAN. I do NOT need to reach it from outside. The administration panel of that app is accessible from any device on my LAN via http://192....
-2
votes
1
answer
35
views
VMware Workstation Bridged Network Disconnects Immediately on Intel Wi-Fi 6 AX201 (Windows 11)
I am facing a persistent issue with VMware Workstation Pro on Windows 11. My Kali Linux guest machine cannot establish a Bridged network connection. Every time I start the VM, the network icon shows &...
1
vote
0
answers
23
views
How to setup an Alsa loopback Plexamp to FM transmitter?
Been working on this project off and on.
I’m running Plexamp on a Raspberry Pi 3B+ along with an FM transmitter (application running inside the Raspberry Pi). I didn’t know how to redirect the plexamp ...
1
vote
0
answers
56
views
EXT4 filesystem corruption and Input/output errors on SD card partition after Yocto WIC image
I’m working with a Yocto-based Linux system and encountering filesystem corruption issues on an SD card partition.
Block devices (from dmesg):
mmcblk0: internal storage (~29.6 GiB)
mmcblk1: SD card (~...
6
votes
2
answers
964
views
Why isn’t my cron job running at startup/reboot?
I want a script, po.sh, to run after a reboot, when my session starts. The session is configured for automatic login. The script runs without any issues in a terminal.
Here are the commands I used to ...
1
vote
0
answers
20
views
How to monitor core dumps in Linux (SLES)
Some applications of poorer quality cause a core dump now and then, and those core dumps are not always detected in time, while those may require further actions (like restarting the application).
So ...
1
vote
1
answer
64
views
Wayland using wrong backlight device on Ubuntu (AMD + NVIDIA laptop)
I am dual-booting Ubuntu 24.04.4 LTS on an ASUS Zephyrus G14. When using Wayland, the default brightness device is being incorrectly configured to nvidia_0, which is entirely useless and doesn't do ...
-1
votes
1
answer
68
views
My custom software only works while I'm logged in with ssh? Why?
I have 2 headless systems which send syncronized udp packets to a base system.
All are raspberry pis running raspbian. The 2 headless systems are supposed to be identical.
For some reason one of the ...