Linux operation and maintenance needs to master the command summary

  
                

As a Linux operation and maintenance, you need to understand the basic use and management knowledge of the Linux operating system. The following is a small series of system users to introduce the commands that need to be mastered in Linux operation and maintenance. You can learn to be a Linux operation and maintenance friend.

1. Delete 0 byte file

code is as follows:

find -type f -size 0 -exec rm -rf {} \\;

2. View Process

Sort by memory from large to small

The code is as follows:

ps -e -o “%C : %p : %z : %a”

Copyright © Windows knowledge All Rights Reserved