How to use tmux

How to use tmux 1. The role of tmux (1)It allows simultaneous access to multiple sessions in a single window. This is useful for running multiple command-line programs at the same time. (2) It allows new windows"Access"Session already exists. (3)It allows multiple connection windows per session, so multiple people can share the session in rea ...

Posted by lewisstevens1 on Fri, 26 Nov 2021 05:06:11 -0800

return and job management of SaltStack

1. return of saltstack component The return component can be understood as the SaltStack system stores or returns the data returned by Minion to other programs. It supports a variety of storage methods, such as MySQL, MongoDB, Redis, Memcache, etc. through return, we can record each operation of SaltStack and provide a data source for futu ...

Posted by scottshane on Thu, 25 Nov 2021 22:00:55 -0800

shell learning notes network operation example

From Chapter 5 of Linux Shell script introduction, a mess? No such thing! Parsing website data $ lynx -dump -nolist http://www.johntorres.net/BoxOfficefemaleList.html |grep -o "Rank-.*" | sed -e 's/ *Rank-\([0-9]*\) *\(.*\)/\1\t\2/' | sort -nk 1 > actresslist.txt 1 Keira Knightley 2 Natalie Portman 3 Monica Bellucci The website is ...

Posted by CavemanUK on Thu, 25 Nov 2021 19:58:18 -0800

Linux system programming - file IO

  man has nine volumes. System programming is the content of Volume II, and volume V is file format and specification open function Function prototype Parameter pathname file name Macro with parameter flags as access mode: o_ Rdonly (read only), O_ Wronly, O_ Rdwr (read write) these three must be added O_ Append, O_ Creat, O_ Excl ...

Posted by OriginalBoy on Thu, 25 Nov 2021 17:04:16 -0800

Network Programming --- subprocess module, struct module, glue package, UDP protocol, socket_server module

Reproduced from: Network Programming --- subprocess module, struct module, glue package, UDP protocol, socket_server module - Remaining person. - Blog Park Network Programming --- subprocess module, struct module, glue package, UDP protocol, socket_server module   Catalog subprocess modulestruct moduleSticky package Sticking prob ...

Posted by radar on Thu, 25 Nov 2021 10:03:01 -0800

kubernetes core practice --- namespace

kubernetes core combat1. Resource creation methodCommand line creationyaml file creation2,namespaceNamespace is the organization mechanism provided by Kubernetes, which is used to classify, filter and manage any group of objects in the cluster. Each workload added to the Kubernetes cluster must be placed in a namespace.Namespace gives scope to ...

Posted by david-remone123 on Wed, 24 Nov 2021 17:51:02 -0800

(Linux) Common Linux operations

1. View the current user's home directory # Switch to Home Directorycd ~# View Home Directory Location pwd 2. Check whether the server is maliciously logged on # Ubuntu # 1. View recent successful password logins: grep "password" /var/log/auth.log | grep -v Failed | grep -v Invalid # 2. View recent login failures IP And each IP Number of fa ...

Posted by sebnewyork on Wed, 24 Nov 2021 12:46:04 -0800

scala -- operator + bit operation + inverse code, complement code and original code

1. Arithmetic operator 1.1 introduction to operators The symbol used to splice variables or constants is called: operator, and the formula connected by operators is called: expression. We often use it in practical development For example: 10 + 3 is an expression, and the + sign is an operator Note: in Scala, operators are not only operator ...

Posted by Scummy12 on Wed, 24 Nov 2021 12:37:04 -0800

Test RT thread dynamic module

      It is said that RT thread OS developed by Chinese people has been for some time and has not been tried. After all, learning a new platform takes a lot of time and energy. The main purpose of testing RT thread this time is to use its dynamic library function. Now the Cortex-M series Arm processor is very powerful. However, ...

Posted by Jay_Seagrave on Wed, 24 Nov 2021 08:19:01 -0800

Linux C/C + + learning 3: the role of extern "C"

1. Overview of extern "C" The main function of extern "C" is to implement other C codes in C++ code. The format is as follows: cplusplus is the default macro defined by the C + + compiler, and the code block part is the C language implementation code. Extern "C" instructs the compiler to compile this part of ...

Posted by kbaker on Wed, 24 Nov 2021 07:59:53 -0800