linux command: it is essentially a program. Many programs are written in c language, such as python, java, c + +, ruby, php, go, etc
[root@localhost ~]# Cat / etc / CentOS release to check the version of linux
CentOS Linux release 7.6.1810 (Core)
cali@cali:~$ cat /etc/issue stay Ubuntu Check the version of the system ...
Added by zalath on Thu, 17 Feb 2022 04:57:46 +0200
There are many kinds of text processors or text editors in Linux/UNIX system, including VIM editor and grep, which we have learned before.
grep, sed and awk are text processing tools often used in shell programming, which are called three swordsmen of shell programming.
1, sed editor
(1) Overview of sed editor
sed is a flow editor ...
Added by justAnoob on Mon, 14 Feb 2022 14:14:42 +0200
1. grep tool
grep is a * * line * * filtering tool; Used to filter rows based on keywords
Syntax and options
# grep [options] 'keyword' file name
-i: Case insensitive
-v: Finds a row that does not contain the specified content,Reverse selection
-w: Search by word
-o: Print matching ke ...
Real high-level usage of vim (visual mode, last line mode, edit mode)
As a powerful, reliable and efficient text editor, vim is deeply loved by users who use Linux system. It is no exaggeration to say that they will not use vim text editor. Even if sed, awk and grep swordsmen use it again 6, they are helpless in the face of massive text conten ...
vim is a lightweight editor with a powerful group of plug-ins. Its powerful user-defined shortcut key function allows you to realize various editing operations without touching the mouse.
Configuration directory of vim
. vimrc is the configuration file of vim. Users need to modify this file to personalize vim
vimrc configuration files are di ...
Added by ricmch on Sun, 06 Feb 2022 09:25:41 +0200
For vim (neovim), I spend most of my time on remote machines. It's easy to copy text from remote ssh to local. If the copied content is small, you can directly select it with the mouse and copy it. The disadvantages are also shown:
The format of the copied text has often changed. For example, the line number information has been added, and the ...
Added by dotancohen on Mon, 31 Jan 2022 06:10:41 +0200
For more sharing, please visit my personal blog
This paper introduces a flexible unit testing tool in vim.
For large-scale projects, unit testing is essential. There are many ways to do unit testing in vim. For example, using the built-in terminal, write your own test script and pass asynctasks VIM et al. Howe ...
Added by b-real on Sat, 29 Jan 2022 04:01:24 +0200
poll is a function in the character device driver in Linux. poll is essentially no different from select. It copies the array passed in by the user to the kernel space, and then queries the device status corresponding to each fd. If the device is ready, add an item to the device waiting queue and continue to traverse. If no r ...
Added by FunkyELF on Fri, 21 Jan 2022 16:21:31 +0200
1, Class notes:
su - meaning and home directory meaning?
When switching users, the configuration information of the user's home directory will be called / loaded. For example, if a command is configured for the user alone, only the user will recognize the command, and other users cannot.
Relative path and absolute path
Added by Craig_H on Sat, 08 Jan 2022 22:59:53 +0200
Significance of Neovim
vim is a very useful editor (IDE) on linux. After all, it is highly configurableIf you are a linux developer, you can quickly adapt by switching to windowsAfter the configuration is completed, you can edit files directly in powershell through vim commands, focusing on problem solving and coding, reducing the frequency of ...
Added by ccalzaretta on Fri, 07 Jan 2022 02:37:52 +0200