Linux commands 01

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

Nginx installed under Linux

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

Linux system programming-setitimer functions

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,

Debug the Linux kernel with a serial line

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

LINUX System planning tasks (focus)

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"

The IP method of restricting remote login on Linux

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

Linux Basics-Installation Chapter

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

The last line in the file is deleted directly from Linux by command

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

Linux Replace the default security source

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

Linux Disk Management

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

How Linux virtual machines are connected in NAT mode Xshell

Tag:xshell    Port map    nat mode connection ssh    Open Virtual Network editor   Select NAT Settings 650) this.width=650; "Src=" http://s1.51cto.com/wyfs02/M00/8A/F8/ Wkiol1haghgassahaactdmmhdia240.png-wh_500x0-wm_3-wmp_4-s_3755592291.png

Linux commands: Functions of Function Script programming

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

For Linux. A,. So and. o Files---mark, please.

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

LINUX--GCC usage

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

Linux commands: Top process Management

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

How Linux forgets the root password and finds it back

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="

Linux (13) __VSFTPD Server

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

[Bird Brother Linux Video tutorial finishing]02_04_linux file management commands in detail cont. 2

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

Linux Common commands

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 redirection

[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

Total Pages: 5467 1 .... 3922 3923 3924 3925 3926 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.