All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 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,473
0 votes
0 answers
8 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
4 views

How to make dwm patches work correctly with picom compositor?

I tried installing some patches on my new dwm build(arch+win 10 dual boot) and after that wanted to install picom, because default wm is laggy, but after installing it all of my patches just stopped ...
matyfll's user avatar
0 votes
0 answers
5 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
10 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
9 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
12 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
1 vote
1 answer
20 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
15 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
12 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
1 vote
1 answer
33 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
  • 111
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
15 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
23 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
0 answers
22 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
0 votes
1 answer
26 views

Get a list of all user's commands from a non-interactive shell

I am writing a script that would automatically suggest some new aliases/functions to be added to a user's shell config. Before doing that, however, I would like to make sure the aliases being ...
zoickx's user avatar
  • 51
0 votes
0 answers
18 views

What does a locale’s codeset get used for?

According to glibc’s manual: Most locale names follow XPG syntax and consist of up to four parts: language[_territory[.codeset]][@modifier] For example, you could have a locale named zh_CN.GB18030 ...
Ginger Jesus's user avatar
0 votes
1 answer
44 views

Using RS-232 in linux

I have a panel pc which runs ubuntu server 22.04 and has a RS-232 port for communication. I bought a RS-232 to ttl module and connect ttl side to my raspberry pi 4 to create a serial communication. I ...
Saeid Haghighipour's user avatar
0 votes
1 answer
16 views

Can Linux OpenVPN server be accessed with Windows 10 Build-in VPN?

I have an OpenVPN server installed on Linux (Linux Wonderland 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64) and it works fine with OpenVPN client on Windows 10. Is there a way to use ...
Damir Tenishev's user avatar
0 votes
0 answers
17 views

Permission denied when executing an rsync command using a third server to copy a file over to another server

I'm trying to copy files over from one server to another using a bastion server with rsync, so I have the list of origin servers and a list of target servers, the strange part is that when I use the ...
VaTo's user avatar
  • 3,181
0 votes
0 answers
7 views

How to setup strongswan VPN server on Linux Debian so that it could be used with Windows 10 built-in client?

I see that www.strongswan.org could be somehow used as a VPN server on Linux (Linux Wonderland 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64) which could be accessed by Windows 10 build-...
Damir Tenishev's user avatar
0 votes
0 answers
16 views

How to make sure a service, that may or may not exist/be loaded, is stoped?

I am trying to port a script that have the very banal and common use case: pkill -SIGTERM -eF some_pid_file very simple case: Pid file exist? Pid exist? kill it. If pid is present and we failed to ...
gcb's user avatar
  • 428
-2 votes
1 answer
41 views

How to convert multiple columns to rows in shell (unpivoting)

I have a tab separated table with hundreds of columns and rows, like that: OTUId AC0184 AC0250 AC0257 AC0258 AC0262 AC0263 AC0289 AC0293 OTU549024624 51659 0 0 0 0 0 0 0 OTU565712448 108 0 0 0 0 0 0 0 ...
babinecha's user avatar
0 votes
1 answer
10 views

tcsh piping ONLY stderr to null leaving stdout alone

running a tcsh in RHEL-8.10. doing a grep -l <something> * I get a bunch of Is a directory responses. in bash I would do grep -l <something> * 2>/dev/null to suppress that. What is the ...
ron's user avatar
  • 7,239
1 vote
0 answers
11 views

Group owner cannot write to file despite group permissions [duplicate]

I'm working on Ubuntu 20.04. I have a system user/group systembob and a system user alice. alice is a member of the systembob group, and has been for quite some time: $ getent group systembob ...
Borea Deitz's user avatar
0 votes
1 answer
24 views

Linux Shell Script replace last shown lines at the screen, not write it under the last once

i run a script from bring formated numbers to the screen : #!/bin/sh while true ; do echo awk -v x=987654321 -v n=8 'BEGIN{srand(); while (--n) {$++NF = int(rand() * x / n); x -= $NF}; $++NF =...
user447274's user avatar
0 votes
0 answers
22 views

Updating GRUB; ./configure doesn't make a makefile. Step 5 of INSTALL guide missing?

I am trying to update GRUB from 2.06 to 2.12, following the instructions in the INSTALL textfile included in the tarball (and at the bottom of the post). I am missing some dependencies, so I run: sudo ...
SuperDialga's user avatar
0 votes
1 answer
30 views

Have "ls" read many filepaths from a file

I frequently use the following idiom to find all files in the file tree starting the current directory, then submit the file paths to ls -lt so that they are shown newest-first: $ find * -type f -...
user2153235's user avatar
0 votes
0 answers
15 views

How to extend btrfs subvolumes space using separate SSD?

$ lsblk -f -o +SIZE NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS SIZE sda ...
madzohan's user avatar
  • 103
-3 votes
1 answer
38 views

grep pattern to find word in code

I'm looking for a grep pattern to find occurrences of a word in some code (Python, if it matters). I want to ignore occurrences that are inside a longer word, inside strings, or inside comments (if ...
John Gordon's user avatar
0 votes
0 answers
8 views

Dump timestamps from the whole filesystem akin to `getfacl -R`

I didn't specify the -N flag when rsyncing data from my old laptop, now all the file birth times are lost. Can I dump them to a file, and, ideally, restore on the new system too, like it's easily done ...
bodqhrohro's user avatar
0 votes
0 answers
16 views

pfSense routing issues

Ive got a routing issue on my pfSense box that shows the response to a ping request being routed to a IP in a separate subnet/vlan. 10:25:13.239238 IP 10.2.0.2 > 8.8.8.8: ICMP echo request, id 9374,...
PowerMan2015's user avatar
0 votes
0 answers
13 views

Keybase file explorer integration failed (KDE, Wayland, Dolphin)

Installed and running latest Keybase version using official manual. It says "Keybase is enabled in your File Explorer" but there is neither mounted point, nor "Show in File Explorer&...
madzohan's user avatar
  • 103
2 votes
2 answers
73 views

Finding the processes trying to open some FIFO

In my example, the wc program is trying to open the test FIFO or named pipe. These in-progress open syscalls seem not to be shown by fuser or lsof: mknod /tmp/testpipe p wc /tmp/testpipe & timeout ...
Juergen's user avatar
  • 722
0 votes
0 answers
14 views

mailx doesn't decode Content-Type: text/plain; charset="utf-8"

I'm sending mail from python and am trying to read them on the console with mailx. As long as the body of the mail only contains ascii characters the mail is send with charset="ascii" and is ...
Goswin von Brederlow's user avatar
0 votes
0 answers
44 views

How are EXT4 metadata checksums within group descriptors calculated?

I'm looking at parsing raw EXT4-formatted block devices, just using Python, primarily as a learning exercise, but am having trouble manually generating the expected Group Descriptor checksums - there ...
genericuser99's user avatar
0 votes
0 answers
5 views

email sent to root with att.net email provider and thunderbird mua on fedora 40

I have fedora 40. I use thunderbird to receive email. I would like to receive email sent to root in thunderbird. The "account settings" section of thunderbird used to have "Add ...
William Garber's user avatar
0 votes
2 answers
30 views

What is rigid disk block (RDB) and how can I repair it?

I have a WD P10 external USB disk that is no longer being detected on macOS or Windows (on a different PC). To troubleshoot, I booted Debian (LMDE) from a Live USB and connected the WD drive again. It ...
sfxedit's user avatar
  • 113
0 votes
2 answers
19 views

Cannot connect to the Docker daemon on Debian

I try to execute docker run hello-world on a debian bullseye machine where I do not have root user rights, but where I can use sudo. I installed docker (v19.03.13) with sudo according to the docker ...
WolfiG's user avatar
  • 113
-1 votes
0 answers
29 views

[Kali]: Package gtk-sharp2 is not installed

I'm trying to install a screen monitor application on my kali machine, since it's a Debian-based distribution I have to go with the option to download the .deb package file, while installing the app ...
ALLAOUA Okba's user avatar
1 vote
1 answer
24 views

Can Ed be configured to automatically create backup files?

Is there a way to have Ed create backups of the file currently loaded into the buffer. On occasion I have inadvertently overwritten my file and found it's not recoverable. I.e. making a backup file ...
Edman's user avatar
  • 524
0 votes
0 answers
17 views

NFS permission for other - operation not permitted

I have a NFS trouble. Server: $cat /etc/exports /opt/1865/conf/ 10.10.14.196(rw,sync,no_subtree_check) $id uid=999(usr1) gid=1003(grp1) groups=1003(grp1) Client: $cat /etc/fstab | grep nfs 10.10.14....
Irbis's user avatar
  • 1
0 votes
1 answer
46 views

join a specific number of files/devices in linear mode together in a linux system

For joining in Linux files/devices in linear mode together i have this script dm-joinlinear.sh from join files/devices in linear mode together in a linux system , thanks telcoM #!/bin/sh usage() { ...
user447274's user avatar
-1 votes
1 answer
17 views

wezterm > tmux > nvim colors not forwarded through tmux correctly

I'm currently having the problem that the colors are not forwarded correctly from nvim through tmux to wezterm. I think tmux is to blame since the colors work like expected when I invoke nvim from ...
glades's user avatar
  • 99
1 vote
1 answer
29 views

After trying new distro, how to move grub back to original

This is probably a pretty common problem, but searching seems to find so many different situations and answers that complicate the process for the simple case. Perhaps there is a better way to avoid ...
Marty Fried's user avatar
4 votes
2 answers
820 views

smartctl lies that NVME has lifespan of ~2800TBW? What is the real lifespan of my NVME?

smartctl -x on my Samsung SSD 860 EVO M.2 2TB shows: Device Statistics (GP Log 0x04) Page Offset Size Value Flags Description 0x01 ===== = = === == General Statistics (rev 1) ...
Jack G's user avatar
  • 227
1 vote
0 answers
19 views

Need to expand rootfs online. Looking for alternatives

I am currently working with NXP's iMX8MP-EVK and I created a custom image using yocto. The image is 6.6GB in size and after flashing this image into eMMC and booting through it, I found the remaining ...
G-Smart's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
4810