All Questions

0 votes
0 answers
2 views

Writing to HTML file at a specific part using php

I am trying to write to a specific part of a HTML file using PHP with sed or awk or any other way. I want to add some text before </article> The following code I have does not work exec(“sed -i ‘...
Detonator120's user avatar
0 votes
0 answers
2 views

GNOME apps not launching

My GNOME apps (e.g. nautilus, gedit, etc) are not working. When I click an application icon (or use ALT-F2 or a terminal to launch), the app name appears in the panel with the loading spinner, but ...
Jeremy Hunt's user avatar
0 votes
0 answers
5 views

Does Mintupdate have a open source license

I have forked mintupdate (mintupdate repository), but when I looked I could not find a license. Is this code open source and if so, where can I find the license? I plan to use some of its code to ...
dnessett's user avatar
0 votes
0 answers
3 views

NFT Tables: modify DUP packet

I have a server H with two NICs with ip address 192.168.105.10 and 192.168.104.10. An application running on H receives data from server C on UDP port 1703. Server C IP address is 192.168.105.14 I ...
sbabbi's user avatar
  • 101
0 votes
0 answers
15 views

How to output a .zip's filenames as raw bytes?

I have a .zip file whose filenames are not being correctly decoded and transcoded into unicode correctly. While I do know what the filenames are meant to be, I don't know what encoding the .zip used ...
curiousdannii's user avatar
0 votes
0 answers
16 views

Linux in a reboot cycle after installation

I tried installing Linux Mint (the latest version) on an old laptop I have, a Samsung NP300V4A. The installation, at first, went well. Then I had to restart the laptop. It restarted, removed the USB ...
Rafael Silva de Souza's user avatar
-3 votes
0 answers
21 views

What is the output of the following ROT13 transformation command? [closed]

The command I'm using is: echo "YRNEAVAT_YVAHK_SHAQNZRAGNYF" | tr '[A-Z]' '[N-ZA-M]' I'm having trouble figuring out the exact output of this command. Could someone explain the process and ...
Jack Harry's user avatar
0 votes
0 answers
4 views

Linux OS for STM32MP151 Cortex A7

I have an STM32MP151AAC3 processor that are connected to an eMMC. The processor architecture is a Cortex A7. The processor have a USB OTG available to connect so it can be flashed over USB. ...
euraad's user avatar
  • 159
0 votes
2 answers
43 views

Find command slow when I'm not piping into awk

I have a script I've used for many years for building a list to some directories, with the following lines: ##Find all scenarios for this sector number find /gsgt/source/scenarios/AT_* -name ${...
atc_ceedee's user avatar
1 vote
0 answers
8 views

Do executables in different containers share shared objects that are define in the same common image layer?

I am investigating the memory impact of containerising two processes that depend on the same shared object. My main question is whether the shared object will be loaded in memory twice or not. This ...
A.G's user avatar
  • 11
0 votes
0 answers
8 views

Documentation standard/nomenclature when to use explicitly the 'show' or 'display' term?

Mostly through man documentation is used either the show and display term when an output is shown/displayed in the terminal. It either with an option or without an option. Just being curious: Question ...
Manuel Jordan's user avatar
-3 votes
1 answer
21 views

Kali Linux WSL 2 Windows Terminal wlan0

I downloaded Kali Linux WSL 2 Terminal to my Windows 10. However, it is not showing wlan0 even though I'm connected to the internet. Is there a way to solve this or is my wifi adapter not compatible? ...
aaaaaa's user avatar
  • 1
0 votes
0 answers
8 views

Can Apache 2.4 run setuid root CGI binaries?

Note that I'm not asking about suEXEC, because the binary must be setuid root, and suEXEC doesn't allow root to execute CGI programs. I need to carry out a one-time configuration during system ...
QF0's user avatar
  • 315
0 votes
0 answers
16 views

PermissionError: [Errno 13] - Python code works on local machine but does not work in production

I code on linux machine localy with test user that has sudo privlideges. My code works there but I tried the same code in production but it gave this error code Traceback (most recent call last): ...
Alyan Hussain's user avatar
0 votes
0 answers
20 views

Why does rsync not copy the other execute bit when copying to an sshfs mount?

I have a mounted sshfs drive at /mnt/backup_datascrape with permission rwxrwxr-x. I am trying to copy a directory foo with permission rwxrwxr-x to that mount using rsync while preserving the ...
geckels1's user avatar
  • 163
0 votes
0 answers
8 views

Can't enable home manager in WSL NixOS

I'm trying to setup home manager in NixOS running in WSL. However, it seems my import is not working correctly. I'm not sure what I'm missing. Google and ChatGPT were of no use here. My /etc/nixos/...
CalumMcCall's user avatar
0 votes
0 answers
13 views

How to find the keyboard layout that matches the physical keyboard

I have got hold of an old (2017) Dell Latitude 5491 that I need to use for a while. It has a very strange keyboard, probably not the original, see the image. In particular the key between the enter ...
klyklops's user avatar
-2 votes
0 answers
9 views

Wifi adapter is at monitor mode but still wont change to wlan0mon and airodump-ng won't show any nearby networks

My wifi adapter is set to monitor mode but it won't change from wlan0 to wlan0mon. When l manually change it using "ip link set wlan0 name wlan0mon" or just leave as it is. I then run ...
Takudzwa Murombedzi's user avatar
1 vote
1 answer
35 views

How can I mount this special disk? (.vmdk format, bootable but cound not mount...)

I got a virtual disk(share to onedrive: disk1.vmdk) from a CyberSecurity vendor, I want to check the files on it. When I set my virtual machine boot from this disk, it can normally boot: I want to ...
chengyue qi's user avatar
0 votes
0 answers
26 views

Cycling desktop wallpapers on Debian

Solution - https://extensions.gnome.org/extension/4812/wallpaper-switcher/ Solution - Scaling options can be found in 'Tweaks' applicaton Is there any easy way to cycle through a folder full of ...
totalconfusion's user avatar
0 votes
2 answers
45 views

Why is the -n option not working for my cp command?

When I typ cp file1 file2 it works perfectly, but of course, it overwrites the second file. When I tried using -n or --no-clobber, there was no error message, I simply cat the files or opened them in ...
Pixan Ich's user avatar
-5 votes
0 answers
23 views

Cannot install kali-win-kex. Nothing to restart [closed]

I have tried almost anything. Followed steps from the site. But I'm getting this and I'm stuck :/ How else can I install Win-Kex? Thank youuuu!
L0STxS0UL's user avatar
0 votes
1 answer
25 views

How to modify this git alias so it can be run without the need to put multiword commands in quotation?

I have this alias: git config --global alias.all '!f() { ls -R -d */.git | xargs -I{} bash -c "echo {} && git -C {}/../ $1"; }; f' It currently works fine when I run it like : git ...
Codrguy's user avatar
  • 123
1 vote
1 answer
29 views

Reduce used space; reclaim a physical disk

I'm running Proxmox 8.2.2. Recently my lvg became corrupt ("volume group pve has insufficient free space!") First, I tried to repair the vg: $ sudo lvconvert --repair pve/data Volume group &...
Harv's user avatar
  • 2,174
0 votes
0 answers
5 views

Why webvideo on website is jittery?

I am using Firefox on OpenSuse Leap 15.6. The youtube video seems to look okay. The motion is smooth. However, the website videos are jittery or the frames move back and forth. I did the following ...
user429323's user avatar
0 votes
0 answers
9 views

ISC BIND named 9.19.24 / Disable AAAA/HTTPS lookups?

I have an instance of ISC BIND named mentioned version which acts as resolver of local domains and forwarder for external domains to the upstream ISP DNS server which is neither IPv6 nor DNS-overs-...
Varda Zklir's user avatar
0 votes
1 answer
7 views

Determining the performance Impact of firewalld rule count

I was working on tweaking the performance of fail2ban and I read that a too-long ban can result in a build-up of rules that will negatively impact performance, which made me wonder, "Is there any ...
jhilgeman's user avatar
  • 101
0 votes
0 answers
14 views

Fetch packages (and dependencies) using only the specified APT mirror

I am trying to fetch some .debs that I can install in an airgapped machine (which is also a different architecture). My idea is to pass some configuration options to apt so that it will only look at ...
digitalPhonix's user avatar
0 votes
0 answers
8 views

Monitoring start and stop processes

Im trying to monitor the start and stop of processes on a server with auditd, using the following rule -w /usr/bin/ -p x -k T1569.002 however, when raising an event to generate the log and searching ...
David Pérez's user avatar
0 votes
2 answers
49 views

Regarding Nested loops

I had 3 array array1, array2, array3 where array 3 is the value of first two array. for example: FO=2.0, FF=3.5, FC=4.5 and so on. I want to give k (third loop) values of array3, like while running FO ...
Khushi's user avatar
  • 1
0 votes
1 answer
12 views

How to get a copy of libdevmapper 1.02.34 or later?

I am trying to update GRUB 2.06 to 2.12 on an Ubuntu 22.04.4 LTS machine, following the instructions in the INSTALL textfile included in the tarball (and at the bottom of the post). Reading through ...
SuperDialga's user avatar
0 votes
1 answer
32 views

How can i move Flatpak installed apps to another disk?

I'm using Debian 12 Bookworm. I recently started receiving a message from the system saying my root partition (30GB) was almost out of space. Analyzing it, I realized the /var/lib/flatpak/app occupied ...
Neto Araujo's user avatar
0 votes
0 answers
26 views

client disconnects when transferring larger files

[This is mostly a cross-post from Rasp Pi Forum. To be self-contained, let me also include the descriptions.] My setup: Ubuntu 22.04 [Also tried on Ubuntu 24.04, same thing happens] Rasp Pi 4B I have ...
badatmath's user avatar
0 votes
1 answer
16 views

What is the difference between `ssid` and `ssid2` in hostapd config file?

In a hostapd configuration file, sometimes I see the key ssid to specify the SSID, and sometimes I see the key ssid2. What is the difference between these? I'm having trouble finding documentation ...
Jason C's user avatar
  • 1,475
0 votes
0 answers
19 views

On a Linux machine with JDK 11 that is used for development, how should I satisfy OpenOffice's requirement for JRE?

On a Linux machine that has JDK 11 installed, what should I do to allow OpenOffice to run? As it stands right now, it throws this error: /opt/openoffice4/program/soffice: line 121: 18205 Segmentation ...
SuperAl's user avatar
  • 101
0 votes
0 answers
13 views

Can an xrdp server be configured to connect to an existing desktop session?

I'm running an xrdp server with its default Debian configuration. Once logged in, it maintains a virtual session to which I can reconnect. But it'd be much more convenient if I could connect to the ...
Petr's user avatar
  • 1,674
0 votes
0 answers
14 views

macos/bash: read "hangs" when executing script second time as another user with stdout redirected before

Hello! My second file descriptors question. Context: Still new at this, I certainly don't get file descriptors. Magic. Unpredictable magic at that, that sometimes works. (joke, but you probably get my ...
Marcus Widerberg's user avatar
0 votes
0 answers
16 views

Looping ssh command with `while` stopped at first iteration but not `for` [duplicate]

The following didn't work: cat /etc/hosts | grep -vE '(^(#|$)|127.0.0.1|ff|::|node)' | awk '{print $1}' | while read -r host; do echo "Looking at $host" ssh "$host" ...
annahri's user avatar
  • 2,075
0 votes
1 answer
11 views

How to show logs when running systemd service interactively?

Debugging a systemd service failing to run to completion is fiddly and has a slow feedback cycle when using standard commands. That is, running commands_to_install_service && systemctl start --...
l0b0's user avatar
  • 51.8k
0 votes
1 answer
21 views

Linux Freezes randomly after waking up from suspend

Hello linux fellas. I'm currently using Fedora 40 with SwayFX as a compositor, swayidle as an idle manager and gtklock as a screen locker, on my Lenovo ThinkPad T460. I also use TLP. This issue ...
Maksat Rsymbetov's user avatar
5 votes
3 answers
461 views

Is there an equivalent of caniuse for commands on posix systems?

I'm thinking about using a callout to the jq in a utility script I'm writing, rather than parsing JSON manually. In order to make the script as portable as possible, I want to know which flavors of ...
Viscountess of the Junkyard's user avatar
0 votes
1 answer
34 views

Format date output with spaces into awk

I want to make the date command with nice formatting like this: awk -F, '{system("date -d " $1 " +%d/%m/%Y %H:%M")}' file.log However it does not work Try 'date --help' for more ...
Guif If's user avatar
  • 103
0 votes
1 answer
16 views

SLURM_* variables causing syntax errors in multi-node HPC environment

My set up is as follows: A bash script that accepts a number of parameter (like how many nodes to use, which model to train, etc.). This is the job that I submit to the SLURM job queue This bash ...
Bram Vanroy's user avatar
0 votes
1 answer
46 views

Why did the root file system become RO?

Approximately once every 2 months, the remote dedicated server stops working. The logs show that all logs stop being written at the same time. Can't connect via ssh. The server responds, but ...
SkyN's user avatar
  • 109
0 votes
0 answers
7 views

PTP4L Not working as expected after changing domainNumber

PTP Not working as expected after changing domainNumber I am trying to send ptp frames from ptp4l (version 4.3) using the following command sudo ptp4l -i eth0 -m -2 -S -P --logSyncInterval=-1 --...
Shriram Sivakumar's user avatar
1 vote
0 answers
18 views

While Loop Exits After Calling Function [duplicate]

I'm trying to do a db backup script using Bash. When adding a "Resume" feature to the script, I do the following loop calling defined functions to do step by step (depending on the .lock ...
James's user avatar
  • 111
1 vote
0 answers
50 views

Bitwise operator options for a non-gawk awk like mawk?

I would like to make my (g)awk scripts more portable, especially to mawk, since it's Debian's stock awk. I've always avoided things like length(array), and used array[outer, inner] for ...
fedorafan's user avatar
0 votes
0 answers
11 views

How do I make sure two entities manipulating the same SPI line with different linux modules don't collide, or is this handled by the kernel already?

TL;DR I am developing some code for my SPI display that also has an SD card reader on it for use on a Linux board. I'm trying to use mmc_spi with the SD card reader portion, concurrently with a ...
thecreamybeige's user avatar
0 votes
1 answer
34 views

basename complains about missing operand using unshare

If I try to create namespaces, basename complains about missing operand: sudo unshare --mount --ipc --uts --pid --fork --user /bin/bash basename: missing operand Try 'basename --help' for more ...
sebelk's user avatar
  • 4,469
0 votes
1 answer
13 views

Xournal++ how to delete text everywhere in document?

How can I delete a given phrase, say "the quick brown fox", from every page in a PDF? It's >500 pages so I'd rather not remove just every instance manually. I'd be OK with whiteout but ...
joel's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
4809