In this program 2 children process are forked, then one send string to another through pipe. When communication finished, the parent get stuck in waiting the ex
I want to create a tun device with the code, so before creating it I want to check if the tun device already exists Right now I'm doing this by determining if t
Python Socket Listener error with connecting to bash reverse shell - bash: cannot set terminal process group (1057): Inappropriate ioctl for device I am workin
Hello we have custom rk3399 based board which runs debian image that we compiled with the help of this resource : https://wiki.radxa.com/Rockpi4/dev/Debian. We
I'm trying on to use the man pages on RHEL. Every time I'm searching for manuals, I'm getting this error message: # man ls No manual entry for ls I've tried th
I'm attempting to read from a process that's backed by a PTY in Rust, but once all bytes have been read from the process then reading from the process returns a
I wanted to understand how the DMAR range is defined in the linux. We are assigning VT-D (intel vitualization technology) bar address range 16K for each root br
The following code will generate errno 12 cannot allocate memory #include <sys/mman.h> #include <stdio.h> #include <stdlib.h> #include <fcn
last year I had to install Linux on my laptop, however, due to some issues I couldn't install it on other drives and it was forcing me to install it on the c dr
I am having problems in execution a sepefic sed command. I have a bunch of files which will be target to several "find and replace" via sed. In the file_test th
I run multiple supervisor processes sometimes due to server overload some processes Stop indefinitely until you manually restart them. Is there a way I can writ
python version:3.6.9 and 64-bit At the beginning, i can't download tensorflow ,i use pip install tensorflow,then it throw error ERROR: Could not find a version
I'm running an Arch Linux KDE PC, and I like to listen to calming music before sleeping. What command/script that I can run on my PC to make the device go to sl
I installed cron and FROM python:3.9.5 ENV PYTHONUNBUFFERED 1 RUN apt-get update && apt-get install -y netcat && apt-get inst
I've got a very huge project (~180 libs, ~1Mio LOC, CMake but exclusively developed with VS2017 + permissive, ~30 third-parties) that needs to get ported to Lin
I am trying to remove a directory /path/to/dir using the rm -rf command. Unfortunately I get the error rm: cannot remove '/path/to/dir/.nfsdda293a660f276ca00000
I have a node-server running at WSL2 Ubuntu-20.04. netstat -tulpn in WSL shows the following ports: The ports specified as 0.0.0.0:8080 can be accessed in both
I am using linux, and it returns none instead of the co-ordinates. import pyautogui as p a=p.locateCenterOnScreen('like.png',confidence=.5) print(a) Did I di
I have been assigned a task to automate the deployment process using digital ocean droplets. I am using doctl for creating the subdomain "A" record from my term
I am trying to build a objective-c library integrated to a swift project on linux. I have this Package.swift for my main project: // swift-tools-version:5.5 //