Category "linux"

Am I using grep properly?

I am new here and need help with a problem I can't seem to solve. I am working on my class project and analyzing a log file, so far I have been successful up to

Unit Testing Works in VSCode on Windows but not Linux

I'm having trouble debugging Xunit unittests in .NET6 running on Ubuntu 20.04 in VSCode (1.66.2). These run in VisualStudio and VSCode in Windows. I can run (no

Unable to start TeamCity Build agent on Docker

I'm trying to create a TeamCity build agent on docker. i pulled the official image and tried to start it with default configurations with below command docker r

Why can't I start the top command in batch mode, stop it, and then resume it with fg?

I don't know why, so I would like to ask Gen... $ top -b and then Ctrl + Z to stop it, and then bring it back to foreground with $ fg %1 It does not work as des

summarise NA data from datafile on command line in linux / bash

I have a data file with missing values I want to summarise this data and find out how many NA there are in the whole data file and in certain specific cols I ha

Why do system calls use a different stack?

Here is a question about the details happening during system call. However, one thing surprises me that the TSS maintains different stacks for different privili

How to run a Java download command using shell in ansible

I want to download and install Java in one our VMs using Ansible. I tried with yum and that was successful but, as part of requirement I was asked to do it anot

How do i get code completion for C# scripts in VSCode for Unity on Linux/Ubuntu?

I recently came back to unity, as i found out that it does now support installation linux. It works, but when editing the scripts with vscode i do not get code

Install talib on docker

FROM python:3 USER root RUN apt-get update RUN apt-get -y install locales && \ localedef -f UTF-8 -i ja_JP ja_JP.UTF-8 RUN wget http://prdownloads

Why SCHED_FIFO threads are assigned to the same physical CPU even though idle CPUs are available?

While debugging some performance issue in app I'm working on, I found out weird behaviour of kernel scheduler. It seems that busy SCHED_FIFO tasks tend to be sc

Authentificate users of another active directory using first active directory using Tomcat and LDAP on Linux

I have two active directories ad1 and ad2 that are trusted by each other. Ad1 has groups that contain both users of ad1 and ad2. Using a Tomcat realm of a Linux

Does Linuxptp support IEEE802.1AS 2020 standard?

Could anyone please tell me if the linuxptp is planning to release IEEE802.1AS-2020 support for linuxptp stack Is there any plan/timeline for this release? If a

copy files from folder based on csv file list

I want to copy certain files from a folder based on a list stored in a .csv file. Previously I used rsync to do this using rsync -a /source/directory --files-fr

Duplicate camera stream not working with custom frame width and height

I have been able to duplicated my webcam stream on ubuntu with gst-launch-1.0 v4l2src device=/dev/video0 ! tee name=t ! queue ! v4l2sink device=/dev/video2 t.

Duplicate camera stream not working with custom frame width and height

I have been able to duplicated my webcam stream on ubuntu with gst-launch-1.0 v4l2src device=/dev/video0 ! tee name=t ! queue ! v4l2sink device=/dev/video2 t.

How to create an alias composed of many commands?

Commands are: git checkout master git remote add upstream [email protected]:minio/console.git git fetch upstream git checkout master git rebase upstream/master Wh

"sleep 5" doesn't delay script for five seconds [closed]

When I use the sleep command and execute the script the sleep doesn't work. The code just gets executed without stopping for the expected 5 se

Splitting a file based on number of records and file size

I have a file which contains 100 records... Each record has different size, like some are 1 KB while some are 1 MB. I want to split the file based upon number o

Raspberry pi 64 bit Os showing Unable to locate package libjasper-dev. how to fix this?

I am using a raspberry pi 4. And I installed a 64-bit (not 32-bit) Raspberry Pi OS. When I tried to install libjasper-dev using the command 'sudo apt-get instal

run script when chrony steps clock

I need to start a certain service after system clock was correctly stepped by crony. System time is maintained by chrony (chronyd (chrony) version 3.5 (+CMDMON