Questions tagged [linux]

NOTICE: All Linux questions must be related to programming; those that aren't will be closed. Use this tag only if your question relates to programming using Linux APIs or Linux-specific behavior, not just because you happen to run your code on Linux. If you need Linux support you can try https://unix.stackexchange.com or the specific Linux distribution's Stack Exchange site like https://askubuntu.com or https://elementaryos.stackexchange.com/

216,977 questions
-1votes
0answers
9views

Record audio and video simultaneously with ffmpeg in raspberry pi

I am saving audio and video in separate files using Raspberry Pi and USB microphone connected to Raspberry Pi. My project is to record audio and video simultaneously and save in .flv file using ffmpeg....
0votes
0answers
9views

perf-report reports cache misses in [unknown] shared object with address 0

Samples: 3M of event 'cache-misses', Event count (approx.): 35941375181 Children Self Command Shared Object Symbol ...
-1votes
1answer
15views

how to use bash output as variable [duplicate]

I am creating a job that would first initiate an API checking what is the next available ip in a subnet with some parameters. Then i want to run "ping" check on the output (that is an IP), ...
0votes
0answers
24views

How do I efficiently select ports in multi process C++ linux servers?

I am using Amazon Gamelift to manage a c++ game server in an Amazon Linux 2 environment. This service will launch multiple instances of the same game server on the same machine at nearly the same time....
  • 1,458
-1votes
0answers
8views

I require help to create shell script for get current date log file in particular path

I require help to create shell script for get current date log file in particular path if current date log File is not available in path then give echo file not found else current date log file is ...
-1votes
0answers
14views

find filenames that are inside txt file [closed]

I have a txt file that as several filenames, example: file1.jar file2.jar etc. i do do find / -name xxx.jar to find it, but 1 by 1. Is there a way to create something to read a txt file and execute ...
0votes
1answer
26views

How to fix pip that it points to the correct python?

So i just installed python3.10 on Ubuntu 20.04 and made it default. After that tried to run a program which imports pygame and get an Error ` " ModuleNotFoundError: No module named 'pygame.base' ...
0votes
0answers
14views

Error with redis protocol (RESP) during bulk load when data contains UTF-8 characters

I have to do simple structured bulk load on my redis database. However there are also some UTF-8 characters and when I'm trying to load in data with them I am getting ERR Protocol error: expected '$', ...
0votes
0answers
27views

What is libpython3.9.a and what is used for?

I've searched the web and couldn't find an answer. One day, when a colleague ran a python command in one of python environments of the production server, it gives a libpython3.x.a not found error and ...
  • 6,125
0votes
0answers
16views

How do I detect a TCP connection that didn't close properly in a linux platform?

I am using the '/proc/net/tcp' file to follow the TCP connections in my machine and want to know if at some point one of these connections didn't close properly. Is there a way to do that? Thank you ...
0votes
0answers
11views

zabbix agent install not working on open SUSE 42.3

I am trying to install zabbix-agent on openSUSE 42.3 but it gives me the following error (view attached image): Repository 'openSUSE-Leap-42.3-Apache' is invalid. [openSUSE-Leap-42.3-Apache|http://...
0votes
0answers
17views

Selenium Webscraper-PyVirtualDisplay XVFB configuration with Docker

Overview: Using this base docker file: RUN yum install -y unzip && \ curl -Lo "/tmp/chromedriver.zip" "https://chromedriver.storage.googleapis.com/103.0.5060.53/...
-3votes
0answers
16views

Are there any easy to setup and use alternatives for Crontab [closed]

Currently I am using Crontab to schedule jobs Are there any other alternatives that are easy to set up and use? I have looked into AWS Batch and Celery What other services are out there? I am running ...
0votes
0answers
18views

AWS ami cannot execute file from attached volume

I have created ami with two volumes attached as following: [[email protected]***** ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 ...
0votes
1answer
16views

Turtle python library not importing

I am pretty new with python and programming. I started using the turtle library but when I installed the library with pip, this error showed: ERROR: Command errored out with exit status 1: ...

153050per page