The tail command writes the file to standard output starting at the specified point. Using the-f option of the tail command makes it easy to see the log files that are being changed, TAIL-F filename will display the most up-to-date contents of the
The Whereis command can only be used for program name searches, and only binary files (parameter-B), man description file (parameter-m), and source code file (parameter-s) are searched. If the argument is omitted, all information is returned.Whereis
The more command, which functions like cat, the Cat command is the entire contents of the file displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is to
Modify the/etc/ssh/sshd_config file to find Clientaliveinterval 0 and Clientalivecountmax 3 and remove the annotation symbol ("#")Change the corresponding 0 of the clientaliveinterval to 60,CLIENTALIVEINTERVAL Specifies the time interval for
1.findCommand format: Find search DirectorySearch by file name: Find search directory-name file name (case insensitive: Find search directory-iname file name)Find search Directory-name ' *lee ' (search for all files at the beginning of any character
[Email protected] ~]#Where ' root ' is the login user name, ' IZKFV3ZMVCL0OMZ ' is the login hostname, ' ~ ' indicates that the current user is in the root user's home directory, ' # ' indicates that the current logged on user is the root user.Usage:
Process management One, process basic introduction
In Linux, each executed program and code becomes a process. Each process is assigned an ID number.
Each process corresponds to a parent process, which can replicate multiple child
Tag: kernel ble roc SM waits for event signal storage to get processedWhat is a process?A process is an instance of program execution and a migration process for a finite state machine. The difference between process and procedure: dynamic and
Process$top display process information and update $ps in real time displays the processes under the current shell$ps-lu username shows the process of user username$ps-AJX to show all processes in a more complete format $kill PID kills PID process
learning content from Mo python:linux TutorialNanonanois a text editing tool for Linux. We can use it to do the most basic terminal-end text editing, even write code ~ below we used to touch create a Python script. We can nano edit the text or
Linux has a lot of commands to achieve file compression, but also the existence of various extensions of compressed files. Previously saw these commands and parameters, really do not know which to choose, so the system of learning a bit today, also
11.1 rwx Permissions Detailed 11.1.1 rwx effect to file(1) "R" stands for readable (read): Can read, view.(2) "W" for Writable (write): Can be modified, but does not mean that the file can be deleted, deleting a file if you have write permission to
A string interception of Linux is useful. There are eight ways.Suppose there is a variable var=http://www.linuxidc.com/123.htm1 # Intercept, delete the left character, and leave the right character. Echo ${var#*//}where Var is the variable name and
1.Linux Desktop Environment IntroductionCompared to the current Windows system, Unix/linux itself is not a graphical interface, we usually see on the unix/linux distribution of the graphical interface is actually only run on the Linux system on a
You can view various kinds of specific information of the file: The digital form of the file permission 0664;uid, the number form of the GID's permission, etc.More Usage Reference Stat--helpLsattr test.sh to view other properties of a file:
Download MVN Package
Http://mirrors.cnnic.cn/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
Download the apache-maven-3.0.5-bin.tar.gz package and use the FTP tool to transfer it to the server.
Unpacking the
HDD Management (partition, SWAP,LVM)DPT: Partition table (64)Partition mode: MBR,GPTMSDOS: The total size of the hard disk is less than 2T (15 partitions)1 partitions occupy 16 bytes, msdos can be divided into 4 partitions. Primary partition,
1. Display the name of the current login WhoAmI or who am I2. Switch User suSU user name or Su-user name Su-rootsu after add-and no-add-what is the difference? add-After, not only to switch to other users, but also the environment variables
Before the password of the Linux server was changed, and then called the owner of the server to reset the root account (server owner in the customer's company), after resetting, the leader called the change under rootUser name and password, so I
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