Category "linux"

Kestrel error: address already in use (dotnet core)

Summary: it works as dotnet run, but it doesn't work as dotnet myappname.dll. My linux skills are limited, but I am trying to go by the book so I don't mix thi

Tired of creating /run/postgresql and setting read and execute writes after every reboot

I'm running Arch Linux, I installed PostgreSQL as any other arch package. I'm running postgres with a local database located in my user directory. (postgres -D

How do I delete all except the latest 5 recently updated/new files from AWS s3?

I can fetch the last five updated files from AWS S3 using the below command aws s3 ls s3://somebucket/ --recursive | sort | tail -n 5 | awk '{print $4}' Now

Aur package Showing Permission denied

Hello folks actualy i'm making an AUR package for arch linux and i have made the PKGBUILD file with reference through various YouTube videos and Blog post and O

How to display list of running processes Python?

How to display list of running processes Python with full name and active status? I tried this command: pgrep -lf python

No schema has been selected to create in ... error

I am working on a Linux server that is hosted on Amazon's server and I have completely set up the server. The final thing I am trying to do is host one of my ol

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,