linux

How to pass the result of the Expect operation to a bash script

There is a bash script that executes Expect internally. The short meaning is that a bash script hangs on the crown, which co ... ы надо вернуть в bash #Завершение выполнения expect: expect eof " The call to expect is done like this: expect -c "$COMM"

How do I log in to MySQL Server in Docker container?

I built an image based on this Dockerfile:https://github.com/mysql/mysql-docker/tree/mysql-server/8.0 docker build . --tag my ... if it is ready mysqladmin --defaults-extra-file=/healthcheck.cnf ping else # Initialization still in progress exit 1 fi

How do I change the theme in Elementary OS?

Is there an application like "Themes" with linux mint, only for elementary? Thanks)

Connect to remote mysql in Ubuntu terminal

Error when connecting to a remote mysql database. I am trying to connect to Ubuntu via the console utility "mysql". In the fu ... meta_desc','meta_keys','0','0','0','0','1','6','1','','0','pagetitle','','com_content_read.tpl'); EOF The answer is the same

How can I install grub in Linux mint via the terminal?

The question is: after installing Linux mint, the system logo itself is displayed when the system boots! and the system itself is fully loaded and functions only the grub interface is missing.

Installing KDE over LXDE Lubuntu

How can I install KDE over LXDE on Lubuntu? Thank you in advance.

Installing windows 98 on a modern laptop

We have: a corei5 laptop, 4gb of RAM two 500gb HDDs each 1st HDD:|100mb-reserved by the system| / 36gb-NTFS for Windows 7||39 ... option, I think to install a clean DOS in conjunction with FAR manager. DOS it seems to be still alive, and used somewhere.

steam does not load linux mint

I installed steam from the mint off repository, after installing and launching steam, a "transparent" authorization window ap ... cia) kernel 5.3.0-46-generic (#38~18.04.1-Ubuntu SMP Tue Mar 31 04: 17:56 UTC 2020) Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz

C# GUI application for Linux

A similar question seems to have been 3 years ago, but maybe something has already changed... MS Visual Studio 2017 Enterpri ... is the application under Linux that is the task. Does Visual Studio 2017 Enterprise Edition support the C# GUI for Linux ?

Intercepting python console output

There is a certain console application Linux, for example top. It is necessary to use the python script to pull some lines from there. Is this possible? How to implement it? Throw in some ideas, and then something I can't understand at all how it is.

How to build stack traces of specific threads with sample interval ± 100ms

There is OpenJDK8. There is a pool of ExecutorService threads, for example, size 40. The principle of operation is as follo ... ate -i 100ms, the withdrawal occurred approximately once per second and the RMI thread consumed one CPU core per second. 90%.

How do I make sure that the screen in Linux Ubuntu does not close?

Launching php - script like this: #!/bin/bash screen -A -m -S mobiled su - www-data -c "php $DEMON_PATH/demon.php $1 $2 $3 ... ng is fine, but if the script fails, then in the console only [screen is terminating] How do I make screen not close?

how to implement " ps ax | grep init " in C

I am very poorly versed in Linux, but I need to solve a single problem, the answer to which I can not find on the Internet, p ... d grep commands to C? I need to write in C "ps ax | grep init", but I don't really understand how to properly implement this

Using the OpenCV library in php

Good day to all, tell me how to use the opencv library in php? At least on the example of this code? #include <cv.h> #i ... o look in this case? P. p. s. In general, I have a script written in c++, maybe you can also come up with something with it?

Working with javax. comm on linux

Hello. Does anyone know how to properly install javax. comm in ubuntu? I need this library to work with COM ports. In the Int ... to install RXTX. Maybe someone knows the current tutorials on installing this good in Linux? Linkanite or tell pliz. Thanks.

Linux masked archiving, where is the error?

I plan to archive files by mask find /mnt/smb-share/ -type f \( -name "*.rtf" -o -name "*.txt" \) -exec tar -cv /var/ftp/arc ... mes /mnt/smb-share/акт.rtf Archives the last hovered file name inside the archive for some reason in the form of * act. rtf

Running a python script after connecting to a LINUX wi-fi

There is a task to run a python script that requires the Internet after turning on the computer. The connection is made via w ... initializing wlan0 and crashes. Tell me, what are the other options for running the script after connecting to the Internet?

ADB can't see the phone

I use the operating system Kali Linux. I tried to connect the phone to Android Studio and to ADB directly. Debugging mode via ... e sees it. I tried to modify the file /etc/udev/rules.d/51-android.rules, tried something else, but did not achieve anything.

Can there be a TTY without Bash. How does the interaction with the kernel work?

I decided to figure out how Linux interacts with the OS itself, not counting syscalls. In my view, we have ttys, to which pse ... s of syscalls. Or I don't understand something, but I can't run another tty without a command interpreter (bash or not bash)

How do I install Docker on Centos 6.10?

Executed commands to install Docker on Centos 6: # yum install epel-release # yum install docker-io In the terminal, the dock ... I want to run these commands # service docker start # service docker status # chkconfig docker on Writes unrecognized service