Uname is mainly used to query the current operating system of some version information, often used in infiltration, by querying the corresponding kernel version of the corresponding buffer overflow vulnerability to the right to do so!Basic usage
Some of these functions work exactly the same way, except for different parameters. (maybe a lot of familiar C + + friends can immediately associate with the function overload, but do not forget that the Linux core is written in C, so it can only be
System Status Detection commands1. ifconfig : Used to obtain network card configuration and networking status information, format: ifconfig [network Devices] [parameters]One of the following lo is a local loopback port2. uname : Used to view the
------------------------------------------------------------------------2017.08.11MV//Move commands, or rename foldersWhen moving a folder, if the destination path exists, move to the inside of the destination pathIf the destination path does not
Hello everyone! This article introduces the search tools for Linux: Locate, find, and more precise finder. Before we learned LS |grep can also achieve the function of searching files, but LS is based on file name lookup, although collocation grep
The compressed package file format on Linux, in addition to Windows most common *.zip, *.rar,. 7z suffix for compressed files, as well as. GZ,. XZ,. bz2,. Tar,. tar.gz,.tar.xz,tar.bz2File Suffix Name description*.zip zip program packing compressed
How do I change the character set?
To view the current character set:[Email protected] ~]# echo $LANGZh_cn. UTF-8Modify the character set to English[Email protected] ~]# sed-i ' s#zh_cn#en_us#g '/etc/sysconfig/i18n[Email protected] ~]#
First, the header fileGCC looks for the required header files at compile time:* Search will start from -I※ then find the environment variable of GCC C_include_path,cplus_include_path,objc_include_path※ Find the default catalogue
1
A real-time log tracking active refresh to ensure that you see the latest archive content.Format: tail-f filename Full name By default it displays the last ten lines of the file.Such as:Cd/app/log/passageTail-f Passage.log Real-time log
This example is a signal-based synchronization mechanism that enables parent-child processes to change the values in a file in turn.Taticvolatilesig_atomic_t Sigflag;Staticsigset_t Newmask,oldmask,zeromask;Static voidSIG_USR (intSigno)
Date display/Set system time+ A format displays dates in some formatFormat: +%f 2017-08-20 ====== +%y-%m-%d+%w Show weeks 0 Sunday 1-6 weeks one to Saturday+%t: minutes: Seconds ====== +%h:%m:%s-D Displays the date according to your description-D
Part I: The MMAP system call directly maps the device memory to the address space of the user process.Part II: Direct access to memory pages of user space across borders. Some related drivers require this capability (how user-space memory maps to
When unsure of the current location, PWD is used to determine the exact location of the current directory within the file system.1. Command format:PWD [Options]2. Command function:View the full path to the current working directory3. Common
Original address: 1190000003063859What is the difference between synchronous IO and asynchronous Io, what is blocking IO and non-blocking IO respectively? The answers given by different people in different contexts are different. So first limit the
Inter-process Communication overview Process communication purposes
Transferring DataA process needs to send its data to another process. The amount of data sent is between one byte and a few m bytes
Sharing DataMultiple processes want
First, upload the required documentsConnect to the server via SECURECRT, upload using the sftp feature, file upload is located in the/~ directory.Second, install the libvent kit firstYum-y Install LibeventThird, install the libfastcommonV1.0.7
Transferred from: http://www.cnblogs.com/laov/p/3541414.html#zhilingIntroduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux
1. Write a script to find the last created time is three days ago, the suffix is *.log file and deleted.Answer:Find dir/-mtime +3-type f-name ". *.log"-exec rm-rf {} \;2. Write a script to move files larger than 100k in a directory
1. Environment:Lsb_release-a[Email protected]:~$ lsb_release-aNo LSB modules is available.Distributor Id:ubuntuDescription:ubuntu 16.04.3 LTSrelease:16.04Codename:xenial2. Install Docker first and run it (already written and not repeat)3. Pull the
How to check Centos context switching: centos Context1. What is Context Switch )?
Context switching, also known as process switching or task switching, refers to switching the CPU from one process or thread to another process or thread.
The
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