Questions tagged [linux]
These questions are about Linux in general – NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the “linux” tag.
39,084 questions
1vote
0answers
7views
ZFS refusing to import healthy pool
I'm hoping someone can help me out of this problem. I run a zfs pool comprised of 4 2tb drives. At some point the controller failed, and the pool went offline. knowing it's just a faulty controller, I ...
4votes
2answers
286views
Why Linux read() avoids using full 2 GiB in one call
Reading the manual page (man 2 read) on my Debian system, I see the following note: NOTES [...] On Linux, read() (and similar system calls) will transfer at most 0x7ffff000 (2,147,479,552) bytes, ...
0votes
1answer
46views
Find and remove spaces in files and folders, then find patterns in files, then copy the files found
First I will describe the task I have: I have several disks I have a list of phrases (words) in a patterns.txt file that I use as search patterns I must to review the disks in search of files ...
0votes
0answers
14views
disabling I8042 driver completely
"i8042 is still probing even though I disabled CONFIG_SERIO_I8042. Does it have dependent configurations? Even after passing kernel command-line arguments: i8042.nopnp i8042.noaux , I still see ...
-4votes
0answers
55views
Creating in Linux files in GB or MB range by various random size by read a file [closed]
In Linux in Bash i have this script (thanks to Ed Morton) . $ cat ./tst.sh #!/usr/bin/env bash while read -r idx sfx size; do echo fallocate "file${idx}.${sfx}" "$size" done &...
-2votes
1answer
111views
Creating in Linux files in GB or MB range by various size by read a file [closed]
In Linux with Bash, there is the File numbers_in_one_line. In this file there is only one line with several numbers, all separated by spaces. These numbers are the value in bytes for creating files ...
-5votes
0answers
51views
I used Generative AI to write up my codes for my Antivirus program (SAFA_AV) can anyone turn this into real c++ programming syntax? [closed]
** **#include <iostream> // Include other necessary headers // #include <accctrl.h> // Ensure this file exists const char* Add_MSG = "Your System Has Security ...
0votes
0answers
36views
Motd ssh server with ascii image with 24 bit color (truecolor)
I cannot visualise an ascii art image in 24 bit colors when I log into my server via ssh. I have created a dynamic motd for my ssh server. Specifically in the file /etc/update-motd.d/10-logo there is ...
0votes
0answers
58views
ldd not showing actual shared libraries address
After having deactivated ASLR, with: echo 0 | sudo tee /proc/sys/kernel/randomize_va_space I used ldd /path/to/binary to get the address of the shared library that my binary (written in C) was using, ...
0votes
0answers
26views
setting up PXE and DHCP server on RHEL VM
So I am trying to setup a kickstart server with pxeboot and dhcp server (for ks) on RHEL 8 VM. When I capture network traffic I do not see any pxe/tftp traffic coming to the VM or the host.... I tried ...
2votes
1answer
303views
Created a new user in the same group as another user, but new user cannot access directory
I am trying to create a new user in Linux, such that the new user can access (read) log files that were created by another, previously-existing user (the "oracle" user). The log files are ...
1vote
2answers
26views
Linux group membership problem for VNC session
In an almalinux9.5 machine, I am sudo user. I am using a vnc session to access the machine. I've added myself from this vnc machine to linux groups using : sudo usermod -aG <group-name> <user-...
1vote
0answers
28views
How to send files over WebSocket with websocat tool?
I brought a wss:// server up using websocat: websocat -E -t -v --pkcs12-der=q.pkcs12 wss-listen:0.0.0.0:8443 mirror: And on the client I am running this command to establish a secure WebSocket ...
1vote
1answer
24views
Can't get custom systemd service to automatically disconnect and log-off Nord VPN session upon Linux system shutdown
I'm writing a systemd service to automate the process of gracefully disconnecting and logging-out of Nord VPN upon system shutdown. This service should run, regardless of whomever is the user ...
7votes
2answers
1kviews
My Ubuntu Linux home directory is /home/ls. Why is it "ls" and not my user name?
I have installed Ubuntu Linux under WSL on my Windows 11 PC. I established a username during the installation, perdiem. When everything was up and running, I cd'ed to ~, and the directory I ended up ...