The Linux system has 7 runlevel (runlevel):
RunLevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normally
RunLevel 1: Single User working status, root privilege, for system maintenance,
grep is a powerful text search tool that uses regular expressions to search for text and print matching lines.grep common usage' Search String ' The filename option and parameter:-A: The number of times the binary file is searched for the data '
first, Linux common commands1. View the Help documentA.--helpLinux command comes with help informationExample: LS--help # View the Help information for LSB.manMan is a handbook provided by Linux that contains most of the commands, function
1, by grasping the package to determine the approximate number of visits#time tcpdump-nn-i eth0 ' tcp[tcpflags] = Tcp-syn '-C 10000 >/dev/nullAccording to the real time to determine the amount of traffic, if the value is very small, indicating a
Managing Partitions ? ? ?? List block devices?????????????? Lsblk????????????????? Example with a few hard drives on the CENTOS6???????????????????????? [[Email protected] ~] #lsblk??? Not recognized.???????????????????????? [[Email protected] ~]
1. Disable Yum update kernel upgrade.Backup first: #cp/etc/yum.conf/etc/yum.conf.bakTo modify the configuration file for Yum: #vi/etc/yum.confAdd exclude=kernel* at the end of [main]Directly with the Yum command#yum--exclude kernel* Update2,
What is NAT?NAT (Network address translation) is a transition solution that can be used to reduce the need for a global legal IP address. In a nutshell, Nat is the use of internal addresses in an internal private network, and when internal nodes are
Buffer Overflow Vulnerability experiment one, experimental introduction 缓冲区溢出是指程序试图向缓冲区写入超出预分配固定长度数据的情况。这一漏洞可以被恶意用户利用来改变程序的流控制,甚至执行代码的任意片段。这一漏洞的出现是由于数据缓冲器和返回地址的暂时关闭,溢出会引起返回地址被重写。II. Preparation of the experimentSystem User Name ShiyanlouThe lab
/dev/null : Represents an empty device file> : Where does the delegate redirect to, for example: echo "123" >/home/123.txt1 : Indicates stdout standard output, system default is 1, so ">/dev/null" is equivalent to "1>/dev/null"2 : indicates stderr
/
root directory, the general root directory only, do not store files, / etc , /bin , / Dev , /lib , /sbin should be placed in a partition with the root directory
/bin
Binary This directory holds the most frequently used
Linux System User Group management Linux supports user groups, which are collections of users with the same characteristics; A group can contain multiple users, and each user can also belong to a different group user group to logically organize
System parameter check:df-h [Enter] check hard disk spaceTIP: Use man df to see instructions for the command; Q Exit.Free Check Memory usage:free [Enter] TIP: Use man free to view the instructions for using the command; Q Exit.The top command
FFmpeg official website: http://www.ffmpeg.orgWebsite Introduction
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux,
demux,
stream,
filter and
play pretty much anything that
In the Linux terminal, we will display the following when we enter Date:Then the blogger also expands on the basic usage of date:Date + "%-":%y the rear 2 bits of the output year;%y output full year%m output month;%d output date (days)%H output
2012-10-12 16:01 by Supremacy, 20381 reading, 7 Reviews, favorites, compilation Why do I need to use virtual memoryAs you all know, the code and data that the process needs to use are in memory, much faster than in external memory. The problem is
01-.tar Formatunpacking: [*******]$ tar xvf filename.tarpackage: [*******]$ tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )02-.gz Formatdecompression 1:[*******]$ gunzip filename.gzdecompression 2:[*******]$ gzip-d
Download the Python installation packageHTTPS://WWW.PYTHON.ORG/FTP/PYTHON/3.6.3/PYTHON-3.6.3.TGZ (optional version you want)Download it and upload it to the Linux system and start the installation
2. Unzip the fileTAR-XZVF python-3.6.3.tgz3.
General Win7 or WIN10 system the ISO file we are in is ghost and cannot be installed directly by the virtual machine.1 Advanced settings under CD/DVD option to change the startup item to the last one is to have the system boot from the optical drive
36. Linux driver debugging-locate the error code line based on oops, 36. linuxoops
1. When a drive error occurs, for example, if the accessed memory address is invalid, a large string of oops will be printed.
1.1 Use LED driver as an Example
Block
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