Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

BlueDucky not working with Tplink ub500 bt adapter on kali

I am trying to run a CVE implementation, BlueDucky(https://github.com/pentestfunctions/BlueDucky) with my Tplink ub500 bluetooth adapter, but it fails to run. Some commands I ran to troubleshoot: ...
Oki's user avatar
  • 9
0 votes
0 answers
27 views

Create new "Properties" Custom-Action

I use the "Properties" option a lot for file information and it annoys me that it's right at the bottom of the Right-Click menu. I know how to create 'Custom-Actions' and that they can be ...
J4ck B4ker's user avatar
-2 votes
0 answers
29 views

Converting IP address to domain names using nginx in linux

I am trying to convert a test IP to a domain name using nginx on Linux I have created the file in /etc/nginx/sites-available and i have done using (ls -n..) the symbolic link and the file created has ...
Đɍæʍøɲđ's user avatar
1 vote
0 answers
61 views

USB ports stops working after a while on Linux

I have Jetson Orin NX with kernel version 5.10.104-tegra I have plugged in GPS device in the usb. Everything it works as expected but after a while just its stops. All usb devices are not accessible ...
Anton Shumanski's user avatar
1 vote
0 answers
19 views

HP Victus F5 mute key LED not working

I'm using Debian 12 KDE version on my HP Victus laptop with dual booted with windows 11 and the mute key LED is not working but the mute function when pressing that key works properly on linux ...
Vignesh Magalingam's user avatar
1 vote
0 answers
15 views

Generating an ISO image with genisoimage but it's not perserving the ownership?

Generating an ISO image with genisoimage but it's not perserving the ownership, I am using the following command genisoimage -r -v -o <image-name.iso> -R -J <path_to_the_directory>, but it ...
Hasnain Zafar's user avatar
0 votes
0 answers
46 views

How to know where's the Linux instance is hosted?

How to know where's the Linux instance is hosted? I have several instances of Linux and all of them hosted either by datacenter (CloudFlare for example and other) or self-hosted. I want to know if ...
palmasd1's user avatar
  • 125
0 votes
0 answers
21 views

Using Linux server as a gateway for specific addresses in internal network

I have a RHEL 9 server which has IP addresses as 172.10.0.10 and 172.30.1.10, which is connected to two separate switches with two separate network interfaces. This server runs a virtual machine, ...
discouragedone's user avatar
1 vote
1 answer
36 views

How to interpret the RSan memory?

From the man page of top, I found RSan is part of RES (resident memory) as follows. Private | Shared 1 | 2 ...
Zachary's user avatar
  • 323
0 votes
0 answers
21 views

Why only LLC miss ratio increase?

On my server, I have a latency critical (LC) task running on NUMA0. To increase utilization, I have also deployed some best-effort (BE) tasks on the same NUMA0. Furthermore, I have enabled some ...
plznobug's user avatar
-4 votes
0 answers
42 views

Error in software updates in Ubuntu 24.04 [duplicate]

After trying to change the mirror servers, when I want to exit this error is shown and prevents me from exiting: aslo there is a list of sources.list and aslso i use proxy update: i just try to ...
ali ataei's user avatar
1 vote
1 answer
47 views

bwrap: execvp com.github.tchx84.Flatseal: No such file or directory flatpak

Some background of what happened. I was playing with Flatseal to try few themes on my flatpak appliacations, and after some workarounds here and there, I accidently removed some file section in the ...
Bhaumik Tripathi's user avatar
0 votes
0 answers
8 views

View split on left / right makes chrome bleed over vertically

I am running Ubuntu 20.04.6 LTS. Maximizing Chrome works fine, but when I send Chrome to left / right of my monitor, it bleeds over the monitor real state, vertically: the lower couple of lines are ...
blueFast's user avatar
  • 1,268
0 votes
0 answers
22 views

Freeze and CPU softlock

I keep having issue with crash and softlock of my CPU. I had that with older version and still with the last update. Does someone have an idea where this can come from with this journalctl ? I use ...
Noahcode's user avatar
1 vote
0 answers
27 views

Running a program/script before a user logs in on RedHat Linux GUI

I am looking to run a script prior to a user being able to log in on the GUI. Its a basic script, do you accept Ts&Cs Y/N, enter user name, data is captured and stored. Then once complete takes ...
K_Sparky1029's user avatar
-1 votes
2 answers
33 views

creating and activating network interface from command line

in RHEL-8.10 or later if it matters, I only know how to configure a functional network interface from the GUI interface... from Applications - System Tools - Settings - Network When Network Manager is ...
ron's user avatar
  • 7,264
0 votes
0 answers
57 views

cleaning up full directories at once

right now, i have a filesystem that fills up fairly regularly. the TL;DR is that I can't introduce better log rotation, and the files must be deleted regularly. let's say i have the following output ...
Britton Harsch's user avatar
0 votes
1 answer
62 views

How do I forward VLAN-tagged Ethernet frames through a Linux bridge between two physical Ethernet interfaces?

Background I am currently working on a device that uses a Beaglebone Black as the base board, and has a 3rd-party MAC/PHY attached to the breakout pins. Problem The desire is to forward all Ethernet ...
user25729276's user avatar
1 vote
0 answers
30 views

Create two separate mount points with different subfolders for the same /dev/sda1 device

I created three mount points for the /dev/sda1 device : admin_pri@mypc:/opt$ findmnt | grep sda1 ├─/opt/pacbio_data /dev/sda1 ext4 ...
pedro's user avatar
  • 111
0 votes
1 answer
61 views

Linux LVM disk partitioning scheme for a server?

I would like to know the disk layout / partitioning setup on a linux server. From what I know, you need to have a physical EFI partition if it's a UEFI system (arch wiki). Also you need (recommended) ...
A.Dhond's user avatar
0 votes
0 answers
34 views

System with / & /home on SSD freezes & lags on `ntfs-3g` HDD load

Again, the / and /home and all the software and cache and data folders are on SSD. Everything just freezes with periodic (seconds to minutes!) updates: bar stop updating (custom eww one + shell ...
hertonth's user avatar
0 votes
1 answer
37 views

How to check Network Speed of specific Interface

I could test using IPERF linux Utility. But I want to specifically send/receive data on particular interface. Is there any way to do that? I tried using iperf -c server_ip -B {IP_address of my ...
Kaleem Khattak's user avatar
0 votes
1 answer
14 views

Need kernel version string in ConditionPathExists of systemd unit file

Is there any way to get the version string of the running kernel into ConditionPathExists? like [Unit] ConditionPathExists=/opt/someapp/(uname-r) I am aware that uname -r does not work here. But is ...
user3689397's user avatar
1 vote
0 answers
33 views

Boot Black screen With ro quiet splash

When I turn on my laptop, I encounter the GRUB Boot screen where I can choose between different Linux options such as Ubuntu and Kali. However, when I attempt to boot normally, I encounter a freeze on ...
Mahmoud Mansour's user avatar
1 vote
0 answers
10 views

Volume of Bluetooth devices isn't saved across sessions

Issue I run Linux Mint on my Satellite P55W-C laptop, and what I've observed was that the Bluetooth volume for my ear buds starts at 80% whenever I connect to this Bluetooth device after closing and ...
Thorfinn's user avatar
-1 votes
0 answers
121 views

How to set up public Linux station safely?

On a Linux cloud machine, I want to set up a learning station for beginners (pubnix/pubunix). How can I block all internet except for incoming SSH (ssh user@cloudmachine) and except for SSH local port ...
wjwrpoyob's user avatar
  • 438
2 votes
1 answer
73 views

Equivalent of PSReadLine for bash (or whatever linux shell) as you type

I'm aware of this question Equivalent of PSReadLine for bash But sadly it is still not close enough for me, all of the suggestions requires to press either tab, or ctrl + r or whatever, while ...
Nour's user avatar
  • 125
1 vote
1 answer
90 views

incrementing file names in zsh

I am trying to write a script in zsh (Linux Mint 21.3 "Virginia") to move (or copy) a file from $source to $target with confusing results. I'm using yad file dialogs to select the files and ...
Terry 's user avatar
  • 35
-1 votes
0 answers
22 views

How to make HAProxy redirect traffic via a certain sub-proxy depending on URL?

I have a server (S-1) with HAProxy and a number of residential proxies (PR-s) as login-passwords-port. There're multiple users who will connect to the internet via S-1. I want to have HAProxy to ...
Marco C. Stewart's user avatar
2 votes
1 answer
107 views

Docker as for deployments on servers

I have a /28 of public IPs. I do not know much about Docker and would like to see if it would fit my use cases. I currently use virt-manager/KVM. Docker docs talk about bridged networks, but it's ...
fadedbee's user avatar
  • 971
0 votes
0 answers
25 views

Is there a reverse mapping of key codes or escape sequences to common keyboard keys?

I am using fish for my shell, so I have an easy way the escape sequences or key codes for various key presses using the fish_key_reader builtin. What I'm looking for is the reverse. Is there a way I ...
Hari's user avatar
  • 127
16 votes
5 answers
1k views

How can UserA programmatically replace a text string within a file they own that's located in /etc?

A non-root linux user owns a text file that's located in /etc, where the non-root linux user does not have permission to create files. The non-root linux user can edit the file manually via vi without ...
Tortoise Pirate's user avatar
1 vote
2 answers
60 views

rm on symlinks works different on Mac

The following commands behaves different between Linux and Mac: mkdir tmp ln -s tmp symlink rm -rf symlink/ On Linux, the content of tmp folder is deleted but the folder itself remains, while on Mac ...
Andrés Esguerra's user avatar
7 votes
1 answer
299 views

select() / poll() timeout stretches on Linux

Whilst writing this answer to another Q&A here, I noticed that the timing in the zsh solution that uses select() to sleep for a given number of centiseconds was off by an amount larger than what I ...
Stéphane Chazelas's user avatar
0 votes
0 answers
11 views

TCP RST doesn't reach process running inside Podman container

I'm debugging an issue I'm seeing where connections between a podman container and the host aren't being closed inside the container. I've written very simple test programmes: server and client. ...
jezza's user avatar
  • 138
-7 votes
1 answer
306 views

What is a value range for filesystem efficiency for btrfs with copying a file between directories? [closed]

There is no basic tool for Linux distributions for getting data rate or summary of data input/output for a directory (on a Linux filesystem). What is the percentage difference between a listed file ...
beyondtime's user avatar
1 vote
0 answers
45 views

SSHing into remote machine from terminal doesn't ask for password, but through VS Code integrated terminal, it does, Why?

I'm working on a project where I have to run a python script which will open a tmux session with multiple windows, in each one ssh into a different remote machine, and run another python script. I'm ...
a dude's user avatar
  • 11
1 vote
0 answers
22 views

Recover User Key on Linux Ubuntu 22.04.2

I'm new to the Linux world, I'm having trouble with a Linux server Ubuntu 22.04.2. initially install the console version and then by the same means update to the Desktop version, save information and ...
Williams Pozo Taquire's user avatar
0 votes
1 answer
17 views

How to prevent Kafka warning message cycle

Apache Kafka CLI command to be run with --list throws the warning WARN [AdminClient clientId=adminclient-1] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be ...
Aleksey's user avatar
  • 25
0 votes
0 answers
5 views

How can I see the missing contents of initrd in Debian 12 (bookworm)? [duplicate]

I have a 73M initrd, but it only contains 6.9M of files. Most of what I expect to be in the initrd is missing. root@debian:/tmp/tmp# ls -lAh /boot/initrd.img-6.1.0-18-amd64 -rw-r--r-- 1 root root 73M ...
fadedbee's user avatar
  • 971
0 votes
1 answer
29 views

ConditionPathExists alternative in old systemd service file

ExecConditionPathExists requires systemd version 244. So I thought an alternative could be /usr/bin/test -d /some/path But unfortunately ExecCondition also needs a newer version of systemd (243). I ...
user3689397's user avatar
0 votes
0 answers
16 views

ERRORS INSTALLING PAMAC-ALL/PAMAC-FULL , conflicting libpamac-aur with libpamac-full

after fully uninstalling the pamac-aur from the system using the command : I am using garuda linux sudo pacman -Rcns pamac-aur and trying installing the pamac-all or pamac-full. I get stupid ...
Holloway's user avatar
0 votes
0 answers
34 views

linux + how to close connection that are not in used

from netstat -anp | grep :8088 | grep EST we can see the following connection ( is example from our hadoop server ) tcp 0 0 192.83.23.112:42360 192.83.66.114:8088 ESTABLISHED ...
yael's user avatar
  • 13.4k
0 votes
1 answer
36 views

Systemd fails to restart a Python script with exit(0)

I have a working python script and systemd service script. But somehow it is not working the way I wanted it. The python script prints time every 5s but stops with exit(0) at first second of a minute. ...
Mainland's user avatar
  • 115
0 votes
1 answer
20 views

Automatic log out while working in Cent OS Stream 8

While I am working, the device automatically log outs and shows the login screen. When I logged in, all my work got lost. Basically I am using terminal, firefox, sometime terminator app. Skype from ...
Rudra Prasad Sahu's user avatar
0 votes
0 answers
38 views

USB audio interface continuously connects and disconnects once audio output starts

I'm having issues getting my audio interface (Mackie DLZ Creator) working properly on my Linux machines. I've tried using both PulseAudio and Pipewire, although I've been focusing mostly on using ...
redhotvengeance's user avatar
0 votes
1 answer
37 views

Saving ZSH history across SSH sessions [duplicate]

Is it possible to keep zsh history consistent across SSH sessions to the same machine? To explain further, let's say I opened an SSH session to another computer, ran mkdir test-dir/, and exited the ...
WoaItsBren's user avatar
0 votes
1 answer
24 views

Add files only one program can see (without root) [duplicate]

I have a program with hardcoded config files in /etc, which I do not have write permission to, because I have no root (except I can use pacman in sudo). I need a way for the program to see a file ...
Xandaaah's user avatar
1 vote
0 answers
24 views

Remove disk from raidz3-0 on zfs

I have a zfs pool that holds my backup. Every disk has only one partition. ~# zpool status backup_pool pool: backup_pool state: ONLINE scan: resilvered 108K in 00:00:00 with 0 errors on Tue Jun ...
Damon's user avatar
  • 23
0 votes
0 answers
26 views

Load image to docker without dockerd

I want to load docker image without dockerd. (like docker load -i image.tar ) I see that when I load docker image there are files that added to only 2 directories: overlay2,image How can I set the ...
Polo1990's user avatar