Shortcut keys under the command line:DeleteCTRL + D deletes the character at the cursor location equivalent to VIM x or DLCTRL + H deletes the character in front of the cursor, which corresponds to the HX or DH in vim.Ctrl + K Delete all characters
I. The principle of communication between processesInter-process Exchange data must be through the kernel, a buffer in the kernel, process 1 to copy the data space to the kernel buffer, process 2 and then read the data from the kernel buffer. This
Http://www.cppblog.com/wolf/articles/74928.htmlHttp://www.cppblog.com/wolf/articles/77828.htmlHttp://www.jb51.net/article/34990.htmMost of the content copied from the above article.1 Classification of librariesDepending on the link period, the
Linux under Rights Management details
Chown command: Change file owner (owner)Format: chown [option] User name file (can be modified with multiple files)Option:-R for all documents in the document and in the catalogue--reference=/path
Linux under Bash configuration fileConfiguration file for 1.bash:Global configuration:/etc/profile,/etc/profile.d/*.sh,/ETC/BASHRCPersonal configuration: ~/.bash_profile, ~/.BASHRCFile for Profile class:Setting environment variablesRun a command or
Everything is a documentAll the devices in Linux are treated as a file, including our IO devices, and in general, they are placed in the/dev directoryEg:ide HDD/dev/hd[a-p] (A-p is its number)Disk partition TableA. master boot partition MBR: Install
Turn ON/offsudo ufw allow|deny [service]Open or close a port, for example:sudo UFW allow SMTP allows all external IPs to access native 25/TCP (SMTP) portssudo ufw allow 22/tcp allows all external IPs to access the native 22/tcp (SSH) port This is
Go to the Linux root (i.e. "/", the entry for the Linux filesystem, and the directory at the top level), run the "ls–l" command and you can see that the Linux system contains the following directories.1. /binContains basic commands, such as LS, CP,
Crontab (the full Name Cron Table Schedule Task List) is a tool that is used for periodic execution.Related directives:Usagecrontab [-u user] Filecrontab [- u user ] [-i] {-e |-l |-r} #可以指定编辑哪个用户的crontab without specifying the default current
Zabbix and zabbix
Based on the Environment configured in the previous article, the following describes how to execute remote commands on zabbix agent.
Remote commands are subject to some restrictions:
(1) The following sudu rules must be defined for
Linux ~ Common commands: Linux ~ Common commands
Uncle learns Linux for the purpose of deploying services on it, such as redis, mongodb, fastDFS, cat, docker, mysql, and nginx.
The following command is used to learn the mysterious operating
Linux file descriptors and redirection, operators and redirectionIntroduction
The file descriptor is an integer associated with the file input and output. When writing a script, the standard file descriptor is often used to redirect the content to
Role of Linux pipelines-Use of pipeline commands in scripts
Most administrative files in UNIX are simple text files that can be edited, printed, and read without special file-specific tools.
Most of these files are stored in the Standard
Analysis of mmap memory ing mechanism in Linux
When talking about the concept of file ing, it is inevitable that virtual memory (SVR 4 VM) is involved. In fact,File ing is the central concept of virtual storage.On the one hand, file ing provides
Linux commands (1)-lsFile Location:Ls:/bin/ls/usr/share/man/man1/ls.1.gzName:Ls = list directory contentsUsage:Ls [OPTION]... [FILE]...Description:List Files in the directory (the current directory by default ). If the-cftuvSUX or-sort parameter is
Rsyslog + loganalyzer System Log Analysis System (basic)Rsyslog + loganalyzer System Log Analysis System (basic)
Okay. First, describe it. I wanted to analyze the system logs. However, I did not expect to find that my requirements are a little high.
Install Python3.5.0 on CentOS7 and the old version Python2.7.5 coexist.
On CentOS7, install Python3.5.0 and the old version Python2.7.5 to solve the problem.Current version
[bkjia@localhost ~]$ python -VPython 2.7.5Installation instructions
We must
Install the PDF Reader Evince in Ubuntu
Evince is a lightweight Document Reader installed by default in Gnome desktop environments. It also supports multiple document formats, including PDF, Postscript, tiff, XPS, djvu, and dvi.
The main
Hard Disk partitioning for Linux and Windows systems
In Windows, hard disks are expressed by disk 0 and Disk 1, indicating the first and second hard disks, and then partitioned on disk 0, drive letters, such as drive C and drive D, are used for
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service