All Questions
217,638
questions
0
votes
2
answers
24
views
Cannot autostart Conky in Fedora 36 - GNOME 42
So: I just installed Conky, and it looks very nice. But it's annoying to constantly open it on startup manually. So I've search for a way to autostart Conky
I've tried:
Making a .desktop file and put ...
0
votes
1
answer
25
views
String compare negating in bash doesn't behave as it should be?
I have this little bash script:
readonly imagick_extension=$(cat "${php_configuration_file}" | grep imagick)
echo "Imagick extension grep value: $imagick_extension"
if [ "${...
2
votes
1
answer
65
views
Is there a bug in the sysinfo(2) man page?
The manpage (also) documents struct sysinfo.
The size of this struct differs on 32 and 64 bit systems.
(Because the struct is made of longs).
You can read these comments in the manpage:
...
/* Pads ...
2
votes
4
answers
77
views
How to extract specific words out of a file
If I have a file that looks something like this eg called myfile.log
1 entry1 # Blah blah
2 entry2 # Blah blah
3 entry3 # Blah blah
4 entry4 # Blah blah
5 myentry5 # ...
-2
votes
0
answers
41
views
VyOS images management [closed]
I'm new to VyOS and am trying to understand how VyOS works to manage images. I would like to know what happens on the system side for that! (filesystem, disk ...)
VyOS can have more than one ISO ...
0
votes
0
answers
25
views
pulseaudio has problems with input and output sound in Linux Arch
My system seems to be having problems with Pulse Voice after updating archlinux.
I am using "gnome 42" and the sound works well when the "gdm" environment is raised when logging in....
0
votes
0
answers
12
views
Switch AltGr and Ctrl with XKB
Ive tried various xkb_options to swap the right AltGr key with the left Ctrl key, bot none of them worked. On my X11 setup, I've used a .Xmodmap file to redefine these keys like so:
! CTRL on ALTGR, ...
0
votes
0
answers
12
views
Why are keystrokes not intercepted after reattaching a "screen -dmS session bash -c 'command'"?
I'm using
screen -dmS mysession bash -c 'command > test.txt'
to start a screen, launch a command + write its stdout to a file, and detach.
Later, after reattaching it with screen -r mysession, I ...
0
votes
0
answers
5
views
Libre-office: Texmaths extension disappeared and can not be reinstalled
So I've been using Texmaths, an extension for Libre-office for 2 months. Suddenly, yesterday Libre-office closed (happens sometimes), but then when I reopened it the button for the extension had ...
0
votes
0
answers
22
views
VM hangs when mounting a (full) partition
First of all, I should say I'm a beginner regarding these matters, so please bear with me for a moment. Thank you.
My company accidentally fill one RAIDZ partition (named sdb1) up to 100% of its ...
0
votes
1
answer
29
views
Why does this screen session exit when the command is finished? [duplicate]
I know screen -dmS mysession command to start a screen, launch a command and detach. When we need to redirect the stdout to a file, this works: (see How to run a program in a screen, redirect all ...
0
votes
2
answers
83
views
Is there a terminal emulator like powershell or Windows Terminal, for Linux?
Say what you will about Windows, but there are a couple of features of powershell that I found immensely helpful:
Suggestions for autocompletion: If I type cd my then hit CTRL+SPACE, not only do I ...
0
votes
0
answers
26
views
Can we set user permission to create a file but not a subdirectory in a directory? [duplicate]
Is it possible to give permission to only create files but not a directory to a user in linux?
abc@xyz:~/temp$ touch a
abc@xyz:~/temp$ mkdir b
abc@xyz:~/temp$
I want mkdir b to fail but touch a to ...
0
votes
0
answers
29
views
Sudo does not prompt for password, though it is configured to do so
The users login to Redhat Linux server using AD.
They are given access to root, but it is expected that their AD password is prompted when they sudo.
When I try a sudo -l, it shows two entries
User ...
0
votes
0
answers
12
views
trying to start sidekiq via systemd hangs on boot
Here's the tech stack on this server.
Ubuntu 20.04.4 LTS
Sidekiq 6.4.2
Redis server 5.0.7
Ruby 3.1.0
After a boot service sidekiq status returns
● sidekiq.service - Sidekiq
Loaded: loaded (/lib/...
0
votes
1
answer
18
views
Not obtaining lazy evaluation using sed
I would have expected 'a' for this, why 'a:b'?
$ echo "a:b:c" | sed -E 's/(.+?):.+/\1/'
a:b
5
votes
3
answers
426
views
POSIX shell comment vs line continuation
Edit to clarify my question:
POSIX says:
If a <newline> follows the (unquoted) <backslash>, the shell shall interpret this as line continuation. The <backslash> and <newline> ...
0
votes
0
answers
15
views
Why is LFTP "Removing old file" in mirror?
I'm trying to mirror a website (of which I'm the webmaster) using LFTP, for backup.
I use the LFTP command (actual paths, usernames, and passwords redacted for privacy):
mirror -e -p --verbose=1 /...
0
votes
1
answer
36
views
annoying clocksource alert/warning in bash prompt periodically
So I just build LFS system and it's working fine, but the annoying part is there's alert that every periode show like every 3 second.
It said
root@LFS:# clocksource: timekeeping watchdog on CPU0: ...
0
votes
1
answer
43
views
How can I batch rename files by combining three variables and ignore file extensions?
I'm trying to create a script that renames a group of files. Normally they will be TIFs but sometimes an occasional oddball could be thrown in so I would like to rename the file and ignore the file ...
0
votes
0
answers
31
views
Forwarding all traffic
There is such a scheme:
The operating system ubuntu server 22.04 is installed on Raspberry Pi4.
Through the main network interface, Rpi is connected to the home router and has access to the Internet.
...
0
votes
0
answers
14
views
Apt / Apt-get / dpkg no longer logging to journald
I have a systemd service that I install via debian package using the apt command on a raspberry pi 4. I've been using journalctl -xef to keep track of all log output for debugging purposes while ...
-2
votes
1
answer
57
views
Brute force bash scripting
im a begginer at bash scripting, i was able to do a subdomain bruteforce but now im stuck at directory bruteforce, im using "curl" to do a get request and get a response (200,400,301) but im ...
0
votes
0
answers
22
views
Read-only NTFS flash drive refuses to format
I have this SanDisk Cruzer Edge where it's a write-protected NTFS partition that I got from my dad as I needed a flash drive.
I tried using GParted, didn't work, I saw something online that used the ...
0
votes
2
answers
61
views
Change text using bash
I have a program called gamemode, and to check if it's running, you can use gamemode -s, which outputs either "gamemode is active" or "gamemode is inactive".
I want to change "...
0
votes
3
answers
21
views
Is 'yum check-update' mandatory to do an update? (Ubuntu comparison)
For Fedora Workstation 36. About yum (yes I know it is replaced by dnf) - I am using yum for academic purposes.
To accomplish an update of all the packages available in the OS - is used the sudo yum ...
0
votes
2
answers
14
views
What is the colon in postgres' process command-lines?
For example Postgres process command-lines are like
postgres 794 1 0 Nov06 ? 00:00:03 /usr/pgsql-9.3/bin/postgres -D /var/lib/pgsql/9.3/data -p 5432
postgres 857 794 0 Nov06 ? ...
2
votes
1
answer
32
views
What do curly brackets mean in man page synopsis? [duplicate]
This question has good answers for synopsis syntax but doesn't have any info on curly brackets '{}':
Understand synopsis in manpage
Example in the tar man page
NAME
tar -- manipulate tape archives
...
1
vote
1
answer
50
views
How to use find and sed to replace certain sentences in files
I am using find and sed commands to find and replaces the occurrences of certain sentences in the whole directory with some other sentences.
For example if I want to replace all occurrences of the ...
0
votes
1
answer
21
views
Need help moving fedora 35 system from intel to AMD motherboard
I had 2 fedora 35 systems, one on an intel i9 and the other on an AMD 5600G. The motherboard with the AMD chip failed and destroyed the contents of the boot drive in the process.
I have replaced the ...
0
votes
1
answer
19
views
CodeLLDB for VSCode not working with remote gdbserver
I'm currently trying to set up remote debugging on a Raspberry Pi using the CodeLLDB plugin for Visual Studio Code and gdbserver. Unfortunately this doesn't seem to work, since every breakpoint I set ...
0
votes
0
answers
16
views
Installing chrome remote desktop on linux mint
Hello I am running Linux mint 20.3 Cinnamon edition on my host machine and am having an issue installing chrome remote desktop.
I'm on the remote desktop page and after clicking the download button I ...
0
votes
0
answers
15
views
Ubuntu dell laptop display showing misaligned screen
After I woke up I saw my laptop display is showing misaligned screen.I have no idea whether I rollover on my laptop while sleeping.
Display as shown in my video recorded link https://youtu.be/WUebZiK-...
2
votes
1
answer
42
views
Change the printed memory usage from dot to comma and then calculate the memory usage in %
So far, in a previously asked question: Calculate the real memory usage (memtotal - memfree - cached - bufferd) with /proc/meminfo one-liner
With many thanks to @Philippos this command prints the ...
0
votes
1
answer
11
views
Virtual Machine Manager - Automate Repetitive Launch Steps
Each time I launch Virtual Machine Manager, I have to run this command before any virtual machines can be run successfully:
sudo virsh net-start default
On a Debian 11 desktop, how can I configure ...
1
vote
1
answer
33
views
How do you make a non-root user use openconnect?
Openconnect website does have a chapter called "Running as a non-root user".
However, if you read it more closely, you will see that it does not answer the question of how to run openconnect ...
0
votes
0
answers
6
views
Getting multiple clicks: How can I configure touchscreen touch sensitivity?
We are getting multiple clicks when touching a button. The button closes the window. There is another button in the same place on the window below that sometimes also gets click, though there is ...
0
votes
1
answer
17
views
Cannot install bgzip on Red Hat
I'm trying to install bgzip on red hat.
sudo yum install bgzip
says
Updating Subscription Management repositories.
Last metadata expiration check: 0:18:47 ago on Thu 19 May 2022 12:03:12 PM CDT.
No ...
0
votes
0
answers
18
views
Why 'yum clean all' is always showing the "3 files removed" message?
Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes.
For academic purposes yum was used, the following set of commands were executed:
yum check-update
sudo yum ...
0
votes
1
answer
19
views
Does dnf work with all the latest data installed/updated got through yum?
Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes.
About package/repository management there are two options yum and dnf where the latter is preferred over the ...
0
votes
0
answers
12
views
How to kill and disable rslsync?
My system is Arch+kde. The rslsync processes are auto-started and I want to turn them off.
I tried
systemctl list-unit-files | grep enabled | grep rslsync
It returns nothing.
I also checked System ...
0
votes
1
answer
40
views
Postfix can send to everywhere except Comcast?
I have a VPS running CentOS that hosts a few websites with email. It's recently come to my attention that outgoing emails to @comcast.net addresses are not delivering. I've observed that these ...
0
votes
0
answers
37
views
sudo apt-get Conflicting values set for option
I am trying to install missing module packages in my Ubuntu installation. When trying to update Ubuntu for this, I am running into following error.
Command: sudo apt update
Error:
Conflicting values ...
2
votes
1
answer
60
views
Why am I able to ping hostnames defined in ~/.ssh/config?
This isn't a problem I'm trying to solve, but it's something I've been curious about for a while.
I have defined several hostnames in ~/.ssh/config, but not anywhere else. Notably, I have not defined ...
0
votes
0
answers
12
views
Kernel Panic: VFS cannot open root device or unknown block - Linux - LFS 11.0
First of all I understand there are many similar questions had been asked on many forms but those all are really not helping in my case.
I'm using Ubuntu 20 on vmware workstation. in that vmware I ...
0
votes
1
answer
22
views
Backup NAS to an external drive on a connected computer
I found some options to backup the Synology NAS to an external drive, that is directly connected to the NAS. But is it possible to backup to a computer's external harddisk?
For example, userX starts ...
0
votes
1
answer
26
views
How can i add up unused disk to existing partition folder
I have an unused 1TB HDD and I need to add it to my main storage /dev/sda3, how can I do this without modifying the files on that partition?
1
vote
0
answers
10
views
define hierarchy of history files for ZSH
My zsh syncs history across terminals. Sometimes this is useful. But many times I just need the last command ran on a specific terminal.
So I'd like to have two history files in use by each terminal ...
0
votes
0
answers
6
views
Reassembling fragments in PCAP file
We have PCAP files with long and heavily fragmented datagrams. We want to read them in Python but that avenue may not work out due to lack of PCAP reassembly support in feasible libraries. Our ...
0
votes
0
answers
20
views
Marking packets of Wireguard peers
I am working with a firewalling system that heavily relies on fwmark to
match rules to VPN connections (IPsec so far, but upgrading to WG). AFAICs
Wireguard’s fwmark capability only applies to the ...