Java - Extracting ISO to location using 7zip in Linux

So I am making an application which extracts iso to location (mainly usb mount point i.e /media/kp/mount_point) pzip-full package is installed on my machine. So the relevant code for extracting iso

View details »

What OS (Android) Do We Use For own Product And its Hardware?

I have some experience about internet of things and MCU programming. I wanted to know to build a product like mirror or tonal or something like them. Android TV or Car monitor. What operating system

View details »

Backup download from server

So, i have a situation. I have some databases, files etc on a server. Crontab is in charge to backup files and databases. Problem is that server gets full quickly, and i need to download backups and

View details »

C programming: write() integers to a text file

I m trying to write a couple of integers on a text file using write() sys call, but insead of numbers i got strange symbols (00\00\00\00\00\00). Gedit is telling me that there is an issue with enco

View details »

Replace certificates

I have some expired certificates in etc/ssl/certs and I have a folder with new certificates. Is it possible to create a loop to check every certificate in certs folder and if the certificate is exp

View details »

Set up a authorized passphrase-free pair of ssh keys limited to rsync copies to/from that directory

Name this key pair websiteKey and websiteKey.pub. This should not be a key pair that you have used for other purposes, and you should not reuse it for other purposes in the future. mkdir ~/.ssh ch

View details »

How to create a regex to verify the linux path and allow variables to be used

How to create a regular expression to verify the linux path and allow variables in the path like: $JOB_Name/WORKSPACE/bin

View details »

Using RUN command in Dockerfile on Windows and Linux

In my Dockerfile I have FROM microsoft/dotnet:2.1-sdk COPY devops/scripts/setup.sh . RUN ls RUN chmod +x ./setup.sh RUN ./setup.sh WORKDIR /app Step 3 I am using just to show that file is actual

View details »

Why is the interruptible version of down() not used in scull's poll system call?

According to the scullpipe source code, in the poll system call, down() is used instead of down_interruptible() like everywhere else in the file. Why is it important not to have the interruptible version?

View details »

Search from a website and download the files

Please help me with this.I want to write a linux code to Go to this link https://www.sigmaaldrich.com/safety-center.html and do a "SDS Search" with the sequence i have in the text file (sequence A3

View details »

What do I really call, when call memcpy in Linux application

Linux have memcpy syscall, and also glibc have its memcpy version. When I call memcpy in my application, which function I called, and which function have better performance ?

View details »

The executable permission of file after downloading is getting changed. Is there any protocol or way to intact the permission?

I have deployed a Django application on AWS EC2 and application is targeted for Linux desktop users. There are some files which get downloaded in browser when clicking some links and are meant to be

View details »

Ubuntu Server 18.04 Unmanaged Wifi

I'm working on Ubuntu Server 18.04 and I'm trying to setup the Wifi. When I do nmcli d to have the list of available network interfaces, I have the following output: DEVICE TYPE STATE

View details »

Decryption problem when using linux cookies on windows

When I try to use Cookies file (sqlite fomatted) on Linux (Ubuntu) and Windows I fall into troubles with decryption of 'encrypted_value'. Is there any chance to make Cookies file compatible with two

View details »

Build docker multi stage with files from the first stage

i’ve the following docker file which works OK, I use multistage build and the “runner” uses FROM golang:1.11.4-alpine3.8 FROM golang:1.11.4-alpine3.8 AS builder ENV SOURCES /github/myapp RU

View details »

Multiple ip on same interface in Docker container

Is that possible to have multiple IPs on eth0 in a Docker container? I would like having 5 IPs on eth0 in a Docker container interface. I am using "ip" utility. Executing ip address add 172.20.0.20

View details »

Rest Api Scheduler with interface

Has anyone come across a tool with web interface that I can install on a server (open source) to schedule restapi requests and process the output (I.e send to another http address or save to file)

View details »

Does the Linux Kernel offer a mechanism for driver developers to handle low power situations?

I'm working on an battery operated device that has a number of custom peripheral drivers. I would like my system to gracefully lower power consumption as the battery is low by informing the device d

View details »

Extract wildcard from file name bash [duplicate]

Given a filename in the form someletters_12345_moreleters.ext, I want to extract the 5 digits and put them into a variable. So to emphasize the point, I have a filename with x number of characters

View details »

Yocto enabling multiple systemd services with one recipe file

I've taken over a project which uses Yocto to generate a customized Linux image. I'm modifying a .bb recipe file which already creates and enables a systemd service. I need to create another system

View details »