The 20 most commonly used Linux commands-general Linux technology-Linux technology and application information. For more information, see the following. For more information, see
The result is:
1 1641 23.4462% ls
2 786 11.2302% cd
3 568 8.11545% ll
4 445 6.35805% make
5 381 5.44363% less
6 324 4.62923% man
7 301 4.30061% vim
8 186 2.65752% cat
9 112 1.60023% rm
10 100 1.42878% exit
11 99 1.41449% gcc
12 85 1.21446% mplayer
13 73 1.04301% find
14 55 0.785827% connect. sh
15 48 0.685812% gvim
16 48 0.685812% g ++
17 45 0.642949% echo
18 42 0.600086% myftp. sh
19 42 0.600086% mpiexec
20 41 0.585798% disconnect. sh
The first ls and the second cd are basically true for every UNIX-like system user. Traditionally, pwd should also be among the top three, but most systems now like to put the current path in the prompt, so pwd is left empty.
The number of retained commands in bash is determined by the HISTSIZE environment variable. Generally, the number is equal to 512, which leads to a large statistical error. At the beginning of the month ~ /. Changed it to 8192 in bashrc, and more than 6000 records have been accumulated today. The error is relatively small.
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