Common Linux Operations one.

Source: Internet
Author: User

Linux is a common operation that must be understood.

1, LS and ll list the directory of files.

2, Tail-f XXX view files.

3, Chmod-r 777 Xxx.jar grant permission

4, Cat view file-n number of rows. Cat-n A.log

5, PS show the dynamic of the instantaneous stroke-a shows all the itinerary,-aux Show all the other users of the itinerary below is a

Description: au (x) output format:
  
USER PID%cpu%MEM VSZ RSS TTY STAT START time COMMAND

USER PID%cpu%MEM VSZ RSS TTY STAT START time COMMAND
User: Owner of the itinerary
Pid:pid
%CPU: CPU Usage consumed
%MEM: Usage of memory consumed
VSZ: Virtual Memory size occupied
RSS: Size of memory consumed
TTY: Secondary device number for the terminal (minor device numbers of TTY)
STAT: The status of the trip:
D: Non-interruptible static (through throb-AV b for I/O action)
R: Executing in progress
S: Stationary state
T: Pause execution
Z: Not present but cannot be eliminated temporarily
W: Not enough memory paging to allocate
<: High-priority stroke
N: Low-priority stroke
L: Memory paging is allocated and locked in memory (real-time system or I/O)
Start: Trip start time
Time: When it was executed
Command: the command executed

Aux is important, remember.

Common Linux Operations one.

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.