20180608 Morning Lesson Records 27-linux

Source: Internet
Author: User
What is 1.PWD?

Displays the absolute path where you are currently

2. What is the difference between absolute and relative paths

Absolute path is starting from/directory
Relative paths are relative to where they are today

3. Switch to the previous command

CD-

4. Switch to the previous level command

Cd..

5. Switch to home directory which commands

CD CD ~

6. Create a file, what commands do you think can

VI or VIM
Touch
Other redirects

7. What are the commands and cascading creation parameters for creating a folder?

Mkdir-p

8. Check the command help, we want to see what the first line

Usage

9. Historical command and execution 55 lines

History!55

10. Do a bad thing, empty your history command, which file

. bash_history

11. Force delete a Folder command

Rm-rf

12.which xxx, then find xxx is actually from which environment variable to look for

PATH

13. Current directory search only remember the name has XXX file

Find./-name "xxx"

14. See what the process number and port number commands are

Ps-ef | grep xxx
NETSTAT-NLP |grep XXX

15. command to kill a process

Kill-9 PID

16. Machine card, which command to see which process consumes large resources

Top

17. How much memory and disk commands

Free-m
Df-h

How many 18.rwx numbers

421

19. Modify the commands for users and user groups

Chown

What are the 20.tar decompression and compression parameters?

-xzvf-cvf

21.screen tell me about your understanding.

Set up a reply

22. What is the global environment variable and the personal environment variable file, and what is the effective command?

Global/etc/profile Source/etc/profile in effect
Personal ~/.bash_profile Source ~/.bash_profile effective

20180608 Morning Lesson Records 27-linux

Related Article

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.