Category "linux"

How to start an android emulator in ubuntu 16.04?

I have android sdk installed, I've looked up directions which say to run ~/android-sdk-linux/tools/android and then click on a tools menu, but there is no tools

Run wget command via ssh remotely but connection timeout

I've been struggling with this for 2 days already. I have 2 linux machines A and B and trying to run the following command from A remotely (as it would be done

replacement for readlink() function in windows

readLink() is present in linux and is defined in unistd.h,is there any similar type function in windows please provide or else if we can make a function with si

C# execute a terminal command in linux

I want my c# application (which I execute on a raspberry pi) to run a bash script whenever it starts.. basically : the script is located in /etc/init.d and is n

Python zipfile does not unzip folders for windows zip archive

I have a zip file which was created on Windows machine using this tool System.IO.Compression.ZipFile (this zip archive contains many files and folders). I have

problem installing nloptr 2.0.0 on debian 9 with R 4.2.0 and cmake 3.23.1

on my machine debian 9 (stretch), i have installed R4.2.0 from source. i have problem to install nloptr 2.0.0 using syntax: if (!require("nloptr", quietly = TRU

How to create folder and cd into it with one command

I forget a command,could someone tell me? for example, $ makdir project-one-business-dev-2 $ cd project-one-business-dev-2 I don't want to type project's na

Сan't automatically connect to RDS via the script on EC2?

Im use terraform to create infrastr. in AWS. I'm using script on ec2 userdata, that connects to rds.But this script doesn`t work. #! /bin/bash yum update -y yu

Linux high cpu usage - htop shows 90% to 100% cpu usage

I installed a fresh Manjaro Linux on my laptop and it works okay but I noticed high CPU usage when i ran the htop command. One of the cores were constantly busy

SocketCAN in dotnet core

I am writing software for the device on Linux, and which should work with the CAN interface. Ideally, I would like to work with the interface without connecting

get mtu C++ portable way

Is there a way to get mtu C++ portable way? Like from both Linux and Windows ? I know in Linux this is the code : sys_get_mtu(const char *ifname) { struct

Run a native X86 binary from inside an ARM chroot

I have setup a chroot for an aarch64 rootfs. I am using qemu-aarch64-static as an emulator. This works. I can login to the chroot and execute aarch64 binaries.

Error: ENOSPC: System limit for number of file watchers reached angular

I am getting this error while doing my Angular 10 project. Error from chokidar (/myProject): Error: ENOSPC: System limit for number of file watchers reached, w

What is difference between arm64 and armhf?

Raspberry Pi Type 3 has 64-bit CPU, but its architecture is not arm64 but armhf. What is the difference between arm64 and armhf?

Including <termios.h> and <asm/termios.h> in the same project

What I want to achieve: I want to set custom baud rate values for some tty*-like UART-mapped terminals. How: The only way I found by far is to use the struct t

Running parallel jobs in slurm

I was wondering if I could ask something about running slurm jobs in parallel.(Please note that I am new to slurm and linux and have only started using it 2 day

replace special character [ and ] including . using sed

I would like to replace the [sample]. with space in all my document.Could someone let me know how can I do this.I tried the below command but it doesn't work.th

How to replace "00" in data with "N/A" skipping first row in sed?

I'm working with GWAS data, My data looks like this: IID,kgp11004425,rs11274005,kgp183005,rs746410036,kgp7979600 1,00,AG,GT,AK,00 32,AG,GG,AA,00,AT 300,TT,AA,00

SystemD service script will work on Systemctl start {service script} but not on reboot

I am trying to right a systemd service script to perform a task on reboot. Below is the script and it works when I run 'systemctl start script.service but not w

Dependency error while installing mysql workbench on ubuntu 12.04

I am trying to install mysql workbench. I am getting below error. It seems that it looks for mysql in some default directory. I have all the required things ins