mkdir Creating a DirectoryCD Entry DirectoryTouch Create file Touch oldboy.txtVI Editor, equivalent to Notepad, with edit function, weakerVim complex editor, equivalent to, emeditor,editplus,notepad++TAB key Auto-completeVI, enter a or I into the
Before installing, verify that the compilation package and some dependent packages are installed if they are not installed:
Yum Install pcre*Yum Install openssl*Yum Install zlibYum Install Zlib-develYum Install wgetSee if RPM-QA is already
Function: In Linux system programming, Setitimer is a function that is used frequently to realize the function of delay and timing.Header file: sys/time.hFunction Prototypes:int setitimer (int which, conststruct itimerval *New_value,
First, the environmentUbuntu 14.04A PC with serial port (number PC1, Debug machine)Another PC connects the PC1 (number PC2, the machine that initiates the debug command) via USB to serial cableSecond, serial line configuration and testingInstalling
Cron: Automatically executes a script file on a regular basis.-u specifies a user, without adding the current user-e Make a scheduled task-L List Scheduled Tasks-R Delete Scheduled TasksEX:CRONTAB-E (writing a scheduled Task)3 echo "OK"
1. White List FormRequirements: Only allow 192.168.0.1 and 192.168.0.11 Login All other forbiddenRealize:1 Vim/etc/hosts.allow//Add the following contentsshd:192.168.0.1,192.168.0.102 Vim/etc/hosts.deny//Add the following contentsshd All2. Blacklist
The current version of Linux has been upgraded to the 7.x version, although the enterprise still uses the 6.x version, but the future trend is certainly in the direction of 7, a lot of training institutions or some school courses are also updated 7
What is sed (Stream EDitor):SED was originally a non-conversational text editor on Unix systems (Non-interactive stream editor). When SED reads the file to be edited, it will edit the file according to the editing command.Sed-i ' $d ' fileAs with
Many times the software source is modified, but the update is still very slow, look, for example, there is a security, obviously the main source is still in the ubuntu,ubuntu itself abroad, so very slow, so consider replacing the domestic
1.DF view the total capacity of mounted disks, using capacity, remaining capacity (k)"-I" View inodes usage status"-h,-k,-m" is displayed using the appropriate unit, e.g. ' G '"/dev/shm" is a memory mount pointDu viewing a file or directory taking
function Introduction to Commands:Defining functions1 . Command format:Function name {Content #内容}OrFunction Name ( ) {Content #内容}The calling function can only be entered where it needs to be called.2 . Command function:Makes the script concise
Tag: Name path port CHAR conf exp ever command line with the same nameGCC generates. A static library and. So Dynamic library (reprint)We usually make some common functions into libraries for other programs to use. function library is divided into
1 Introduction2 Simple compilation2.1 Preprocessing2.2 Compiling to Assembly code (compilation)2.3 Assembly (Assembly)2.4 Connection (linking)Compilation of more than 3 program files4 Error detection5 Library file connections5.1 Compiling into an
Introduction to the top command:Real-time display of system process status1 . Command format:Top [option] to view system running status in real time2 . Command function:real-time display of system process status .3 . Command parameters:Top Common
This article mainly explains the Grub interface:Reboot the CentOS system first and press any key when you start reading the second:When the interface appears, press E650) this.width=650; "Src="
Rpm-qa |grep vsftpdYum Search vsftpdYum Install vsftpdTo see if it has been started:Service VSFTPD StatusStart:Service VSFTPD StartEnter address access in the browser: Remember to turn off the firewall beforeClick on My Computer, enter the FTP
Linux file management commands in a detailed and continued:I. Copying and moving filesCP:CP SRC DEST-r: Copy directory to file-F: Forced replication-I: Interactive-P: Keep the original file attributes unchanged-A: Archive replication, often used for
How Linux views the disk's remaining space[Email protected] var]# DF-HLFile system capacity has been used with available% mount points/DEV/HDB2 75G 75G 0 100%//DEV/HDB1 99M 9.2M 85M 10%/bootNone 251M 0 251M 0%/dev/shmWhat does that mean, how much
[Linux] redirection and pipeline, linux redirectionRedirect redirection
Each Command has the Input Source and output destination. The default act is standard input and standard output. In most cases, the standard input is the keyboard and 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