Category "linux"

conda activate does not accept more than one argument:

I have conda 4.8.4, on my Linux server and still see this issue. $ /opt/anaconda3/bin/conda shell.posix activate taking the arguments $1 $2 $3 $4 passed to the

linux fcntl file lock with timeout

the standard linux fcntl call doesn't provide a timeout option. I'm considering implement a timeout lock with signal. Here is the description of blocking lock

How to create user for connect to database

ERROR : [FATAL] [DBT-05509] Failed to connect to the specified database (cdb21). CAUSE: OS Authentication might be disabled for this database (cdb21). ACT

react-native cannot find android studio

It's usual that react-native cannot find android SDK. My problem is different... Android ✓ JDK ✖ Android Studio - Required for building and inst

Linux Bash to mysql: Select or delete record with external value

I have a MariaDB (mysql) database with a table which looks like this: MariaDB [DevicesPool]> show columns from Dirs_and_Names; +-----------------+-------

Need help forming python-ldap query to list group members

Running this script on linux machine with openldap WHY DOES THIS NOT LIST USERS WITHIN THE GROUPS... it only lists groups...no one can seem to figure this out.

Jenkins unable to find npm

On this linux server, I have a user named "myuser". For this user, when echoing the path, I get this: /home/myuser/bin:/home/myuser/.local/bin:/home/myuser/.nv

"In-source builds are not allowed" in cmake

I'm new to cmake, and I'm only using it to install opencv on my ubuntu linux. Here's the command I ran: cmake -DCMAKE_BUILD_TYPE=Release DCMAKE_INSTALL_PREFIX=/

How to detect the 'service stop' command in Linux

I'm writing a C application to drive a LED strip on a Linux machine: the application listens on a TCP socket port to receive commands. If the connection is term

Remove Files whit name '\' [duplicate]

I make mistake file with this name '' and i do not know how to clear this file How to remove the file with this name '' ? rw-r--r-- 1 root ro

Get kernel symbol name in Golang

I’m trying to use bpf_get_stackid in the eBPF to query the kernel stack with the flag BPF_F_FAST_STACK_CMP. In the stacks map(BPF_MAP_TYPE_STACK_TRACE typ

Segmentation fault (core dumped) on ubunto WSL

I am trying to access the core dumped file to start debugging but it never shows. I tried many solutions such as: Giving it a size ulimit -c unlimited making t

PyGIWarning: Gtk and Rsvg were imported without specifying a version first. Use gi.require_version

$ python -c 'from gi.repository import Gtk' -c:1: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before

Flutter PDF Viewer for Linux desktop

I developing some kind of chat application with PDF viewing functions on Flutter for Android and Linux desktop platforms. So i want to embed PDF viewer in flutt

How to replace double spaces with one space in filenames (also subdirectories) (CloudLinux Server release 6.10)

I want to replace double spaces with one space in the filenames of a lot of photos. These photos are located in directory /foto and it's subfolders. How to do t

How to link shared library on linux using cmake?

How to link shared library on linux platform? I downloaded sfml library using apt cmd and I tried to run simple example: main.cpp #include <SFML/Graphics.hpp

How to truncate Tomcat Catalina.out log to 3 months back

My company wants us to save logs from the past 3 months. Catalina.out is getting too large on the linux server (Red hat). How can I remove everything in the log

Keras installation failed with Rstudio RcppTOML had non-zero exit status

I am struggling to install keras on my Rstudio version 2021.09.2 Build 382 (R version 3.6.0 (2019-04-26)) on Linux Centos 7. I am having this error message: ERR

How to allow others to have access to my local gitlab?

I am new to Linux and command line, so sorry if my question is way too rookie for this community but i installed Ubuntu 16.04 on Virtual Box and configured git

Replace same occurrence of word with different words using sed

I want to replace 2 same words in file(app.properties) with 2 different words using sed command. Example: mysql.host=<<CHANGE_ME>> mysql.username=te