Linux basic commands--Learning Records

Source: Internet
Author: User
Tags echo command

1, mkdir-p recursive create directory (-p parameter for recursive creation);

2, touch create file;

3. Cat View

5, VI Editor

6. Echo > (direct overlay) or << (append later) line append

Cat appends multiple lines of content

7. Cp-ap Copy Directory

8, MV Mobile

9. grep pipe (exclude)

10, head-2 file name display the first few lines

11, sed (important. Linux Three Musketeers)

12. Awk (important. Linux musketeers, need to be summarized separately)

13. Alias aliases

14. Seq Generate command (seq 100>ett.txt like ett.txt file append 1--100 number)

15. Head and tail opposite

16. Sed

17. redirect

18. Echo Command append content to file

19. Find (delete 7 days ago file)

20. Ifup + network card: Start Network card command

21. Setup (SET command)

22. Uname-r (view Linux kernel version)

23. diff Vimdiff (Linux comparison tool)

24. Optimization

Create a user name and password

Yum installation source changed to domestic

Modify the default port to prevent hacker intrusion

RPM to see if the installation

25. SELinux Closed

26, NTSYSV or Setup to set up the interface, cancel the boot service or chkconfig--list |grep 3:on

27. Visudo (The root user performs the assigned permissions)

Sudo-l Query Permissions

28, which can command the location (such as query which Useradd)

29. Echo $PATH command The road to be put here

30.

31. Modify the default user and port

32. Modify the system character set

33. Synchronization system Time

34, build their own time server (Crontab-l to perform timing synchronization time)

35. Add File Descriptor

36.

37, adjust the kernel parameter file (need to know sysctl.conf parameter meaning)

Linux basic commands--Learning Records

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.