All Questions
240,240
questions
0
votes
0
answers
10
views
Setting up Linux Mail Server with SpamAssassin: How to Receive Emails and Retrieve Spam Scores Programmatically?
I'm looking to set up a mail server on Linux that can receive emails, analyze them using SpamAssassin, and then return the spam score results. My goal is to integrate this into an application where I ...
0
votes
0
answers
7
views
Laptop refusing to wakeup after closed on Pop_OS
brand new Linux user here. I've just installed Pop_OS on my laptop (Acer Predator Triton 500 SE) yesterday, and am having some trouble when my computer goes to sleep. When I open my laptop back up ...
0
votes
1
answer
5
views
GPG Key to TPM. error from TPM: Card error
When following instructions on how to import a GPG key to a TPM, I get the following error: gpg: error from TPM: Card error.
$ gpg --edit-key <key ID>
gpg (GnuPG) 2.4.5; Copyright (C) 2024 g10 ...
0
votes
0
answers
24
views
How to execute command if previous command fails with return code 0
I have a script which logs in to a server. Regardless of the success (i.e. whether the password is valid or not) the script will exit with return code 0, and the text:
Error login failed.
I'd like it ...
0
votes
0
answers
6
views
Dual Monitor - Gdm3 logging screen is splitted into 2
Is it possible to temporarily disable the 2nd monitor while logging in?
On boot, gdm3 splits my logging screen into 2. I can't even find the box to enter the password.
I use xrandr --output DP-2 --...
0
votes
0
answers
9
views
"Insmod cryptodisk" is missing from grub.cfg?
I am following this guide this guide on /boot encryption for my Ubuntu system. I am currently on section 3, after deciding to not complete section 4. (i.e, I don't wish to avoid multiple password ...
0
votes
1
answer
7
views
Ubuntu 24.04, postfix and spamassassin
I was running Ubuntu 23.04, with postfix, with spamassassin installed as a service with systemctl. At the weekend I upgraded the distro to 24.04 and have now discovered that postfix is no longer able ...
0
votes
1
answer
29
views
driver installed but not available
I don't understand the problem here. The rtl8821cu is installed but I cannot modprobe it into place. Is there a problem with the install process or am I missing a step.
> pacman -Q | grep rtl
...
0
votes
1
answer
27
views
Use sed to insert a character in an xml file
I have an xml file with content following this format:
<type:color>000000</type:color>
<type:color>FFFFFF</type:color>
The information within the tags are hex colors (many ...
0
votes
0
answers
11
views
Which Linux kernel config options are required to get QEMU virtio to work?
I am currently trying to boot a QEMU VM with a virtio-blk hard disk and I am failing. I cannot seem to get the kernel to recognize the virtio device.
I am on a linux-6.1.97 source tree and ...
0
votes
1
answer
32
views
Many of my text files are suddenly missing
I am using Manjaro linux with a Samsung SSD 840 Pro.
Ive noticed my Documents folder is suddenly empty.
After rebooting, most of the text files I had saved are no longer there.
The problem is some of ...
0
votes
2
answers
15
views
Play sound after command and also pipe output
I can easily pipe the output of a command like:
some_command | less
I can also easily play a sound after a command like:
echo test; print \\a
aplay, beep or others could also be used for sound.
...
0
votes
1
answer
6
views
mdadm RAID1 array only shows 1 drive in /proc/mdstat but --examine shows both drives as "Active" — is the array actually fine? Or has a drive failed?
I received a warning during bootup that a hard drive has failed.
My first thought was it's probably one of the two older HDDs I have configured as a software RAID1 array.
So as soon as the boot ...
0
votes
0
answers
38
views
Why is head -c (and similar commands) much slower for large files than small files?
From other things I've read (for one example of many why does it take so long to read the top few lines of my file?_ )
I gather that commands like
head -c 4 bigfile
dd if=bigfile bs=4 count=1
or c++ ...
1
vote
0
answers
22
views
Bash completion after quotation mark
I am experimenting with bash completion to write a general competion library in C associated with command line parsing and stumbled in a behavior for which I can find no documentation.
I am using the ...