CD commandThe CD is used to change the user's directory after the same as nothing will go directly to the currentThe user's root directory can only be followed by a directory name, not a file namecd– indicates the last directory in which it was
1.1ls-a explicit all files, including hidden files1.2 Ls-l List-form explicit file name1.3 ls-l-H list the explicit size and name can also be written LS-ALH (-can be omitted) redirect Ls-alh >xx.txt write information to xx.txt >>xx.tx append
Today we will work with you to learn the commands of the basic command line inside the Linux system.1. The composition of the command is basically divided into command words + options + parameters2. Command word: Common basic commands3. Option: Make
Linux general use rules for,command+ "options" + Parameters ;1, options: can be divided into long options, short options, function : Modify the command execution characteristics.2, parameter: Specifies the action object of the command3, directory
1) grep text filterSyntax: grep [options] mode or keyword file list--clolor color display matches to the keyword-I ignores case-V Take reverse^ Start with a keyword$ ends with a keyword^$ Empty LineThe number of rows to which the-C statistic matches-
Common commands:Files and directories:# cd/home into the ' home ' directory# CD: Return to the top level directory# CD: /.. Return to the top level two directory# CD-Back to the last directory# cp file1 file2 copy file1
The direction of the arrows is the flow of data,Number Description: 0 for standard input, 1 for standard correct output, and 2 for standard error output. The 2&1> or 2&1>> indicates that the standard correct output is the same as the standard error
Linux Basic command format:-rw- r-- r--- file Type (-: File D: Directory L: Soft link file) (Block device file, character device file, socket file and pipe file)rw- : U owner. r-- : G belongs to group r--: o other person. R: Read x: Write x:
Reference: "Bird's-brother Linux private Cuisine" The first seven chapters, 17/12/5 review
File permissions
Rwx421;-r recursion; user, user group, other
Umask View default directory: 0002, that is, the other took off the
1. View your current working directoryPwd2. View the current system timeDate3. See who is online (who logged in to the server)Who view current onlineLast view recent log in history4. LS/view child nodes (folder and file) information in the root
Course IntroductionThis course is a Linux learning course that starts with getting started and is suitable for beginners to read. The case is rich and easy to understand. It mainly involves the basic system operation and the application, deployment
due to work needs , recently reviewed the basics of Linux, read the Marco video, listen to listen, or do a note, deepen the impression it. Share the knowledge points of learning. About choosing a release, personal preference for CentOS, fully
1. Linux basic installation Linux operating system Linux file system Linux common commands Linux startup process detailed explanation familiar with Linux services able to install Linux operating system independently able to skillfully use basic
Basics of getting Started with Linux
Linux birth
Linux Release Notes
Linux official website
Linux Kernel official website
A more famous Linux distribution
Virtual machine (VM), a virtual system, system installed in the
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
Embedded learning steps-general Linux technology-Linux programming and kernel information. The following is a detailed description. Embedded learning steps
1. Linux Basics
Install Linux operating system Linux File System Linux Common commands Linux
KaKa notes-Linux basic commands-Linux general technology-Linux technology and application information. The following is a detailed description. LS
# Ls [parameter] [directory or file name]
[Root @ localhost root] # ls? L long format output
[Root @
Title, I want to go to php back-end direction, optimistic about the recruitment to understand Linux, want to know in advance
Reply content:Need to learn, very important.
At least the following points are required:
1. Common commands: CD, LS, CP,
Use of grep and sed in Linux
Common commands in Linux.
1. grep command
Grep is used to filter the content you need. The syntax is as follows:
Grep Mayuyu -- color
Filter out all rows containing Mayuyu. The grep also supports regular expressions.
2.
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.