The free command shows how much memory is being used in the current system in the following format: Free[-m/-g]
Displays the current memory usage in units of M
[Email protected]/]# free-m
Total amount of memory consumed the amount of memory that the process shares in the memory volume of the disk cache Cache
Who commands to view the number of users currently logged into the system
Last command to view all system log-in record formats: last[parameters]
History command to view all executed commands in the system
The history is saved to the ". Bash_history" file in the user's home directory; Files beginning with (.) in Linux represent hidden files, usually system files; ~ Indicates home directory
Empty All command history that the user has performed on this computer:
[Email protected]/]# history-c
LINUX-10 basic Commands view memory usage-free,history,who,last