Linux expect error prompt: bash: spawn: command not found; couldn't read file|expect installation | expect detailed explanation | expect exquisite case
[root@RHEL7 expect]# . ssh.exp
bash: spawn: command not found...
couldn't read file "{": no such file or directory
bash: yes/no: No such file or directory
Key point: first, let's talk about the root cause of the problem.
1. Make sure that expect's dependent tcl is installed
2. Make sure expect is installed
Root cause of the problem: w ...
Posted by bryson on Fri, 01 Oct 2021 15:12:11 -0700
Conditional statements for shell programming
catalogue
preface
1, Condition test
1.test command
2. Document test
3. Integer value comparison
4. String comparison
5. Logic test
2: if conditional statement
1. Single branch structure
2. Double branch structure
3. Multi branch structure
3, case multi branch structure
summary
preface
There are many ...
Posted by notepad on Fri, 01 Oct 2021 12:03:15 -0700
Introduction to Docker Basics
reference resources
[crazy God talking about Java] Docker's latest super detailed tutorial is easy to understand
preface
Take notes and review later
Docker installation
Basic composition of Docker
Image:
The Docker image is like a template, which can be used to create container services. The tomcat image - > Run - > tomacat01 con ...
Posted by TodManPlaa on Fri, 01 Oct 2021 11:42:17 -0700
Docker technology practice - 02
Docker image operation practice
1. Download Image -- docker pull image name
docker pull hello-world
2. View the image file
docker images
[root@localhost docker]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest feb5d9fea6a5 7 days ago 13.3kB
3. View image details ...
Posted by Garcia on Fri, 01 Oct 2021 11:14:32 -0700
CentOS 7 firewall opening and closing and opening strategy
Article references: Installing firewall in Centos7 https://www.cnblogs.com/anxminise/p/9650104.html
Firewalls (firewalld and iptables) https://blog.csdn.net/weixin_40658000/article/details/78708375
Operation commands of CentOS7 firewall https://www.cnblogs.com/leoxuan/p/8275343.html https://blog.csdn.net/wangleiqqaaaaa/article/details/1034086 ...
Posted by Cynix on Thu, 30 Sep 2021 17:20:55 -0700
Deploy YUM warehouse and NFS shared services
I. overview of YUM
1. Introduction to Yum warehouse
Software update mechanism of YuMe... za ● software update mechanism based on RPM package ● dependencies can be resolved automatically ● all software packages are provided by the centralized YUM software warehouse yum is a software update mechanism based on RPM package (short for red hat ...
Posted by jil on Thu, 30 Sep 2021 17:19:04 -0700
Nginx -- nginx module
preface
Nginx module is a great advantage of nginx compared with apache. The module can provide more functions for nginx to meet the daily needs of operation and maintenance. When there are some requirements, we just need to compile a new module and restart nginx.
1, Common nginx web modules
1. Random Homepage_ index_ module
(1)mkd ...
Posted by qteks200 on Thu, 30 Sep 2021 15:53:46 -0700
mplayer music player of IMX6ULL-QT project - cross compiling mplayer
After installing mplayer in linux environment, open QT in ubuntu. QT installed version 5.12.9. The icons on QT interface are basically pictures collected by punctual atoms. For the implementation method, refer to the teaching in station B
Brief introduction to mplayer command:
Key operation: Volume reduction: /, 9   ...
Posted by greenber on Thu, 30 Sep 2021 14:01:21 -0700
Seven ways to read Linux text files
Linux text file reading
describe
Text viewing and reading of any operating system is the most basic function; There are mainly seven commands (cat/tac/nl/more/less/head/tail) involved in text reading in linux system
cat command
Command purpose
Read all information from the fileLink and print the contents of multiple files to standa ...
Posted by Frag on Thu, 30 Sep 2021 12:00:56 -0700
Introduction to irace paratonics
Installation and usage of irace
Since many of the functions of irace can only be implemented on GNU/Linux systems, it is recommended that you run this tuning tool on Linux, which is also described below for Linux.
Note: The irace runtime requires the R language runtime environment. The R language runtime environment dependency may co ...
Posted by cvsherri on Thu, 30 Sep 2021 10:33:00 -0700