Please follow the Linux basic commands as required on the machine.CD command: Switch directories(1) Switch to directory/usr/localCd/usr/local(2) Go to the current upper directoryCd...(3) Go back to your home folderCD ~ls command: View files and
File Class Operation command:Touch 123 "Create File"CP file name-directory name "copy files to the specified directory"Cp-r Directory Name-directory name "copy directory to specified directory"Cp-p "Keep the properties of the original file unchanged"
First, user-defined variables (the place name)User-defined variables are only valid in the current shell1 Defining variables Name= "Zheng Huiwei"Aa=1232 Variable Overlay Aa= "$AA" 456aa=${aa}7893 variable Invocation Echo $nameEcho $AA4
Under Linux, get the 10 processes that consume the most CPU resources, using a combination of the following commands:PS Aux|head-1;ps aux|grep-v pid|sort-rn-k +3|headUnder Linux, get the 10 most memory-intensive processes, which can be combined
1./bin is a binary abbreviation for storing Linux common commands2./lib This directory is used to store system dynamic link shared libraries, and almost all applications will use shared libraries in that directory.3./dev This directory contains all
A brief overview of Linux file system and LVMDirectory(1) What is a file system(2) file system basic operation(3) LVM Logical volume concept and basic operation (1) What is a file systemConcept:A file system is the method and data structure used
When you are finished, enter the following command##@##:~/Source ~/.BASHRCThen the BASHRC file can be used!Note: When using SSH to login to the shell, the system will not automatically call the. bashrc file, but will automatically read the following
1. All we learned before was the character device driver, just remember.Character Device driver:When our application layer reads and writes (read ()/write ()) character device drivers, the data is read and written by Byte/character, there is no
1. Basic Concepts:Linux Device Driver Development (Song Baohua):The difference between a character device and a block device I/O operation is as follows.(1) Block devices can only accept input and return output in blocks, while character devices are
User Group Management commands:Useradd , the command is used to create a new user, in the format: "useradd [option] User name".Parameters: Function:-D Specify the user's home directory (default/home/username)-D Show default values-e account valid as
Purpose:Display certain line or lines from a text file, such as:
Display the
t h
Line from File Message.log
Or
Display the lines between and 1020 from file Message.log
solution:using sed:sed -n ‘1000,1
The maximum number of sub-processes allocated in 512MB memory will fail when the system area memory is no longer requested for a new process3331[[email protected] 05]# ./test5-1 50000expect 50000 sub process[[email protected] 05]# 1000 sub process
11.25 Configuring the anti-theft chain
background : Sometimes we don't want to allow other websites to access documents, images, audio and other documents that are located on our website by means of Web links, which can be implemented by
Summary of Common commands in linux and summary of Common commands in linuxClear terminal screen
Clear terminal screen usageClearCommand orCtrl + LCombination of shortcut keys. However, this operation does not actually clear the screen. If you
Linux: yum command description, linuxyum command description
Yum commandRpm-Based Software Package Manager in Fedora, RedHat, and SUSE, which enables system administrators to interact and automate the management of RPM software packages, the RPM
How can I remedy the problem after 777 Linux permissions ?, Linux777How can I remedy the problem after 777 Linux permissions?
I am not careful about using the/var 777 script. After one day of recovery, it is estimated that there is still a pitfall.
Install mysql under ubuntu16.04 and enable remote access. ubuntu16.04mysqlI. Installation
Apt-get install mysql-server2. Local Connection
The local connection is enabled for mysql by default.
Use mysql-uuser-p and enter the password to access3.
Tomcat log cutting and Regular deletion
In the Tomcat software environment, if we allow unlimited growth of log files, the disk will be full one day (nonsense ). Especially when log files grow rapidly, it is necessary to cut and delete log files by
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