Category "linux"

Linux MCP decompile.sh?

I'm using Ubuntu and I have the following problem, when I want to decompile Minecraft (with decompile.sh) I get the following error: SyntaxError: Missing parent

MalformedURLException on wildfly standalone properties file path

I am trying to use UsersRolesLoginModule for one of my applications. Configuration below works perfectly fine on my windows machine. When I use the exact same c

How can I stop a symfony process which is listening on http://127.0.0.1:8000

I am trying to run a basic Symfony installation which I generated using this command : $ symfony new basic When I run the following commands : $ cd basic $

"Stale file handle" error, when process trying read the file, that other process already had deleted

I'm writing stress test suite for testing distributed file systems over NFS. In some cases when some process deletes file, while some other process attempts to

wget now automatically redirecting output to a log file, how to return back to putting output below

Whenever I used wget, the output and progress of the download would be displayed below. I just tried using it today, and it only says 'Redirecting output to &

I can´t install Anaconda on Linux

When I try to install Anaconda on Linux, I get to this point: Anaconda3 will now be installed into this location: /home/jorge/anaconda3 - Press ENTER to co

how to rsyslog reads from a socket inside a jail environment

I have two sftp servers behind a loadbalancer where users log on in a chroot environment. Sometimes the user log in server1, sometimes in server 2. Also, there

How to filter out a particular line from ansible output

I am facing an issue while running my ansible-playbook to filter out the IP address from the playbook output. Here is my code - hosts: myhost tasks: - nam

Delete all old files, but keep newest 4 files using ansible-playbook

I would like to delete all old files, and keep newest 4 files. The output isn't what i expected. Even i use absent on file modules, but it doesn't delete the fi

How to use source command within Jenkins pipeline script

I recently rewrite bash execution command into Jenkins pipeline. The old code is like ... source environment.sh //Build //Test ... Now I use pipeline script

How to automate installation of missing GPG keys on Linux

I've been working with Linux containers for several years. I am surprised that I wasn't able to find a thread about this question. Scenario: I've just added a n

System malfunctioning after uninstalling python3

I use Parrot OS v4.7, there was an issue with Pyinstaller (Dependencies problem but all the dependencies were fulfilled/installed) so I googled and tried to un

Can two processes running simultaneously share a variable?

Newbie here, I recon this may be a very foolish question. I am simultaneously running on cuda, in two distinct processes, a simple 3-layer MLP neural network ov

How to read TCP packets on a tun/tap interface?

I'm working on a simple project that listens on a tun interface and modified the packets then re-sends them to the real interface. I have tried songgao/water,

Issues installing gdal-bin (libmysqlclient21 dependency) on 20.04.3 (databricks job clusters)

I've had, in the past, gdal utilities installed successfully on a Databricks Cluster running 20.04.3 LTS (focal). $ cat /etc/os-release NAME="Ubuntu" VERSION="2

gcc cross compiling for raspberry pi /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.34' not found

On Ubuntu 22.04 LTS, I'm cross-compiling for raspberry pi. When I run any built executable on the pi, I get this linking error: /lib/arm-linux-gnueabihf/libc.so

How to select a specific input device with PyAudio

When recording audio via PyAudio, how do you specify the exact input device to use? My computer has two microphones, one built-in and one via USB, and I want t

What is the benefit of calling ioread functions when using memory mapped IO

To use memory mapped I/O, we need to first call request_mem_region. struct resource *request_mem_region( unsigned long start, u

Linux - How to count occurrences of character 'i' in a word (not a file)

How can I print the number of occurrences of "i" in Pneumonoultramicroscopicsilicovolcanoconiosis? How can I approach this with the commands grep and wc?

No cursor motion capability occurs when startup linux script execute minicom script with at commands

I have created a startup Linux script for a board that runs Debian jessie Armbian 8.1. I need at startup to run at command in a modem attached to it via USB int