Linux Learning Note 01

Source: Internet
Author: User
Tags clear screen

1.Linux file types are not distinguished by extension
2. Storage devices must be mounted before they can be used
Programs under 3.Windows cannot be installed and run directly on Linux

First, the management of the server pre-configuration
The role of the Linux directory:
/bin/the directory where the system commands are stored, both ordinary and super users can perform
/sbin/
/user/bin/
/user/sbin/
/boot/Startup file Directory
/dev/Hardware Devices
/etc/Configuration File Save location
Server Considerations:
1. Remote server does not allow shutdown, only reboot
2. The service should be turned off when restarting

Ii. Common Commands
Command common format: command "-Options" "Parameters"
1. Directory processing command LS-A//display all files in the current directory
Ls-l//Show details of the files in the current directory
Rights rw--r--r (U owner--g belongs to group--o others) R Read, W write, X Execute
2.mkdir command
Create folder directly: Mkdir/tmp/jiejie//Create Jiejei Directory
If you create a folder under a nonexistent folder: Mkdir-p/jianhua/jiejie//The Jianhua folder is created automatically at this time
3.CD command
You can toggle the current directory: Cd/tmp/jiejie
4.PWD command, display current directory
5.rmdir command, delete empty directory
Rmdir/tmp/jijie
6.CP Copy command
CP-parameters [source file] [destination path]
Parameter-r Copy directory
Parameter-P Save the properties of the copied file
Multiple files can be copied to the target directory at the same time
Renaming files while copying files Cp-r/tmp/jiejie/root/jiahua
7.MV Cut and rename
MV-parameters [source file] [destination path]
8.RM Delete
RM-parameters [FileName]
-F Force Delete
-R Delete Directory
It is best to back up the files before deleting
Clear screen Operation Ctrl+l

Linux Learning Note 01

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.