当前位置:首页>Linux>Linux——基础指令(中)

Linux——基础指令(中)

  • 2026-08-18 23:11:30
Linux——基础指令(中)

目录

1.Linux背景

2.使用XShell远程登录Linux

3.Linux下基本指令

4.Linux权限的问题


3.Linux下基本指令

3.9mv指令

mv命令是move的缩写,可以用来移动文件或者将文件改名(move(rename)files),经常用来备份文件或目录

语法:mv [选项] 源文件或目录 目标文件或目录

功能:

1.视mv命令中第二个参数类型的不同(是目标文件还是目标目录),mv命令将文件重命名或将其移至一个新的目录中。

2.当第二个参数类型是文件时,mv命令完成文件重命名,此时,源文件只能有一个(也可以是源目录名),它将所给的源文件或目录重命名为给定的目标文件名。

3.当第二个参数是已存在的目录名称时,源文件或目录参数可以有多个,mv命令将各参数指定的源文件均移至目标目录中。

常用选项:

●-f:force强制的意思,若目标文件已经存在时,不会询问而直接覆盖

●-i:若目标文件(destination)已经存在时,就会询问是否覆盖

例如:

  1. //更改名称

  2. [root@VM-0-6-centos ~]# touch myfile.txt

  3. [root@VM-0-6-centos ~]# ll

  4. total 0

  5. -rw-r--r-- 1 root root 0 Jul  921:45 myfile.txt

  6. [root@VM-0-6-centos ~]# mv myfile.txt yourfile.txt

  7. [root@VM-0-6-centos ~]# ll

  8. total 0

  9. -rw-r--r-- 1 root root 0 Jul  921:45 yourfile.txt

  10. //若当前路径存在同名文件,改名即覆盖

  11. [root@VM-0-6-centos ~]# touch myfile.txt

  12. [root@VM-0-6-centos ~]# ll

  13. total 0

  14. -rw-r--r-- 1 root root 0 Jul  921:46 myfile.txt

  15. -rw-r--r-- 1 root root 0 Jul  921:45 yourfile.txt

  16. [root@VM-0-6-centos ~]# mv yourfile.txt myfile.txt

  17. mv: overwrite ‘myfile.txt’? y

  18. [root@VM-0-6-centos ~]# ll

  19. total 0

  20. -rw-r--r-- 1 root root 0 Jul  921:45 myfile.txt

  21. //若当前路径存在同名文件,改名前可以添加i选项,让系统提出警告供用户做出选择

  22. [root@VM-0-6-centos ~]# touch yourfile.txt

  23. [root@VM-0-6-centos ~]# ll

  24. total 0

  25. -rw-r--r-- 1 root root 0 Jul  921:45 myfile.txt

  26. -rw-r--r-- 1 root root 0 Jul  921:49 yourfile.txt

  27. [root@VM-0-6-centos ~]# mv -i yourfile.txt myfile.txt

  28. mv: overwrite ‘myfile.txt’? y

  29. [root@VM-0-6-centos ~]# ll

  30. total 0

  31. -rw-r--r-- 1 root root 0 Jul  921:49 myfile.txt

  32. //mv整个文件

  33. [root@VM-0-6-centos ~]# touch myfile.txt

  34. [root@VM-0-6-centos ~]# mkdir temp

  35. [root@VM-0-6-centos ~]# ll

  36. total 4

  37. -rw-r--r-- 1 root root    0 Jul  921:55 myfile.txt

  38. drwxr-xr-x 2 root root 4096 Jul  921:55 temp

  39. [root@VM-0-6-centos ~]# mv myfile.txt temp

  40. [root@VM-0-6-centos ~]# ll

  41. total 4

  42. drwxr-xr-x 2 root root 4096 Jul  921:55 temp

  43. [root@VM-0-6-centos ~]# mv temp ../

  44. [root@VM-0-6-centos ~]# ls

  45. [root@VM-0-6-centos ~]# ls -d ../temp    //-d只显示目录本身,不显示目录内容

  46. ../temp

一键获取完整项目代码

3.10cat指令

语法:cat [选项] [文件]

功能:查看目标文件的内容

常用文件:

●-n对输出的所有行编号

例如:

  1. //测试cat基本命令

  2. [root@VM-0-6-centos ~]# echo 'hello linux'> myfile.txt

  3. [root@VM-0-6-centos ~]# cat myfile.txt

  4. hello linux

  5. //cat输出携带行号

  6. [root@VM-0-6-centos ~]# cat -n myfile.txt

  7. 1 hello linux

一键获取完整项目代码

3.11more指令

语法:more [选项]

功能:more命令,功能类似cat

常用选项:

●-n指定输出行数

●q退出more

例如:

  1. //命令行输出多行文本

  2. [root@VM-0-6-centos ~]# nano myfile.txt

  3. [root@VM-0-6-centos ~]# more myfile.txt

  4. hello linux

  5. hello me

  6. hello you

  7. hello hello linux

  8. hello me

  9. hello you

  10. hello linux

  11. hello me

  12. hello you

  13. hello linux

  14. hello me

  15. hello you

  16. hello linux

  17. hello me

  18. hello you

  19. //-n输出指定行数文本

  20. [root@VM-0-6-centos ~]# more -10 myfile.txt

  21. hello linux

  22. hello me

  23. hello you

  24. hello hello linux

  25. hello me

  26. hello you

  27. hello linux

  28. hello me

  29. hello you

  30. hello linux

  31. --More--(68%)

一键获取完整项目代码

3.12less指令

less工具也是对文件或其它输出进行分页显示的工具,应该说是linux正统查看文件内容的工具,功能及其强大

●less的用法比起more更加的有弹性,在more的时候,并没有办法向前面翻,只能往后面看

●但若使用了less,就可以使用[pageup][pagedown]等按键的功能来往前往后翻看文件,更容易用来查看一个文件的内容

●除此之外,在less里可以拥有更多的搜索功能,不止可以向下搜,也可以向上搜

语法:less [参数] 文件

功能:less与more类似,但使用less可以随意浏览文件,而more只能向前移动,却不能向后移动,而less在查看之前不会加载整个文件

选项:

-N 显示每行的行号

q:quit

例如:

  1. //测试搜索和-N等功能

  2. [root@VM-0-6-centos ~]# less -N myfile.txt

  3. 1 hello linux

  4. 2 hello me

  5. 3 hello you

  6. 4 hello hello linux

  7. 5 hello me

  8. 6 hello you

  9. 7 hello linux

  10. 8 hello me

  11. 9 hello you

  12. 10 hello linux

  13. 11 hello me

  14. 12 hello you

  15. 13 hello linux

  16. 14 hello me

  17. 15 hello you

  18. 16

  19. myfile.txt (END)

一键获取完整项目代码

3.13head指令

head与tail就像它的名字一样,它是用来显示开头或结尾某个数量的文字区块,head用来显示档案的开头到标准输出中,而tail想当然就是看档案的结尾。

语法:head [参数]… [文件]…

功能:head用来显示档案的开头至标准输出中,默认head命令打印其相应文件的开头10行

选项:

-n<行数> 显示的行数

例如:

  1. [root@VM-0-6-centos ~]# head myfile.txt

  2. hello linux

  3. hello me

  4. hello you

  5. hello hello linux

  6. hello me

  7. hello you

  8. hello linux

  9. hello me

  10. hello you

  11. hello linux

  12. [root@VM-0-6-centos ~]# head -5 myfile.txt

  13. hello linux

  14. hello me

  15. hello you

  16. hello hello linux

  17. hello me

一键获取完整项目代码

3.14tail指令

tail命令从指定点开始将文件写到标准输出。使用tail命令的-f选项可以方便的查阅正在改变的日志文件,tail -f filename会把filename里最尾部的内容显示在屏幕上,并且不断刷新,使你看到最新的文件内容。

语法:tail 必要参数 [文件]

功能:用于显示指定文件末尾内容,不指定文件时,作为输入信息进行处理。常用查看日志文件。

选项:

●-f循环读取

●-n<行数> 显示行数

例如:(重定向和管道)

  1. [root@VM-0-6-centos ~]# tail myfile.txt

  2. hello linux

  3. hello me

  4. hello you

  5. hello linux

  6. hello me

  7. hello you

  8. hello linux

  9. hello me

  10. hello you

  11. [root@VM-0-6-centos ~]# tail -3 myfile.txt

  12. hello me

  13. hello you

  14. //空行也算一行

  15. //如何显示文件的[5,10]行的内容

  16. [root@VM-0-6-centos ~]# head -10 myfile.txt | tail -5

  17. hello you

  18. hello linux

  19. hello me

  20. hello you

  21. hello linux

一键获取完整项目代码

3.15date指令

指定格式显示时间:date +%Y:%m:%d

用法:date [OPTION]… [FORMAT]

3.15.1在显示方面,使用者可以设定想要显示的格式,格式设定为一个加号后接数各标记,其中常用的标记列表如下

●%H:小时(00..23)

●%M:分钟(00..59)

●%S:秒(00..59)

●%X:相当于%H:%M:%S

●%d:日(01..31)

●%m:月份(01..12)

●%Y:完整年份(0000..9999)

●%F:相当于%Y-%m-%d

3.15.2在设定时间方面

●date -s //设置当前时间,只有root权限才能设置,其他只能查看

●date -s 20080523 //设置成20080523,这样会把具体时间设置为空00:00:00

●date -s 01:01:01 //设置具体时间,不会对日期做更改

●date -s "01:01:01 2008-05-23" //这样可以设置全部时间

●date -s "01:01:01 20080523" //这样可以设置全部时间

●date -s "2008-05-23 01:01:01" //这样可以设置全部时间

●date -s "20080523 01:01:01" //这样可以设置全部时间

3.15.3时间戳 

●时间->时间戳:date +%s

●时间戳->时间:date -d@ 1508749502

●Unix时间戳(英文为Unix epoch,Unix time,POSIX time或Unix timestamp)是从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数,不考虑闰数

  1. //显示常规时间

  2. [root@VM-0-6-centos ~]# date

  3. Sat Jul 1118:06:28 CST 2026

  4. [root@VM-0-6-centos ~]# date+%Y/%m/%d

  5. 2026/07/11

  6. [root@VM-0-6-centos ~]# date+%Y/%m/%d-%H:%M:%S

  7. 2026/07/11-18:07:25

  8. //显示时间戳

  9. [root@VM-0-6-centos ~]# date+%s

  10. 1783764501

  11. //时间戳转化成可视时间

  12. [root@VM-0-6-centos ~]# date+%Y/%m/%d-%H:%M:%S -d @0

  13. 1970/01/01-08:00:00

  14. [root@VM-0-6-centos ~]# date+%Y/%m/%d-%H:%M:%S -d @100000

  15. 1970/01/02-11:46:40

  16. [root@VM-0-6-centos ~]# date+%Y/%m/%d-%H:%M:%S -d @1000000000

  17. 2001/09/09-09:46:40

一键获取完整项目代码

3.16cal指令

cal命令可以用来显示公历(阳历)。公历是现在国际通用的历法,又称列历,通称阳历。“阳历”又名“太阳历”,系以地球绕太阳一周为一年,为西方各国所通用,故又称“西历”。

命名格式:cal 参数 [年份] 

功能:用于查看日历等时间信息,若只有一个参数,则表示年份(1-9999),如有两个参数,则表示月份和年份

常用选项:

-3 显示系统前一个月,当前月,下一个月的月历

●-j 显示在当年中的第几天(一年日期按天算,从1月1日算起,默认显示当前月再一年中的天数)

●-y 显示当前年份的日历

  1. //常规案例

  2. [root@VM-0-6-centos ~]# cal

  3. July 2026

  4. Su Mo Tu We Th Fr Sa

  5. 1234

  6. 567891011

  7. 12131415161718

  8. 19202122232425

  9. 262728293031

  10. [root@VM-0-6-centos ~]# cal 1949

  11. 1949

  12. January               February                 March

  13. Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa

  14. 11234512345

  15. 234567867891011126789101112

  16. 91011121314151314151617181913141516171819

  17. 161718192021222021222324252620212223242526

  18. 2324252627282927282728293031

  19. 3031

  20. April                   May                   June

  21. Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa

  22. 1212345671234

  23. 3456789891011121314567891011

  24. 101112131415161516171819202112131415161718

  25. 171819202122232223242526272819202122232425

  26. 242526272829302930312627282930

  27. July                  August                September

  28. Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa

  29. 12123456123

  30. 34567897891011121345678910

  31. 101112131415161415161718192011121314151617

  32. 171819202122232122232425262718192021222324

  33. 2425262728293028293031252627282930

  34. 31

  35. October               November               December

  36. Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa

  37. 112345123

  38. 2345678678910111245678910

  39. 91011121314151314151617181911121314151617

  40. 161718192021222021222324252618192021222324

  41. 232425262728292728293025262728293031

  42. 3031

  43. [root@VM-0-6-centos ~]# cal -3

  44. June 2026             July 2026            August 2026

  45. Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa

  46. 12345612341

  47. 789101112135678910112345678

  48. 14151617181920121314151617189101112131415

  49. 212223242526271920212223242516171819202122

  50. 28293026272829303123242526272829

  51. 3031

一键获取完整项目代码

3.17find指令

Linux下find命令在目录结构中搜索文件,并执行指定的操作。

Linux下find命令提供了相当多的查找条件,功能很强大。由于find具有强大的功能,所以它的到选项也很多。

即使系统中含有网络文件系统 (NFS),find命令在该文件系统中同样有效,只要具有相应的权限。

在运行一个非常消耗资源的find命令时,很多人都倾向于把它放在后台执行,因为遍历一个大的文件系统可能会花费很长时间(30G字节以上的文件系统)。

语法:find pathname -options

●功能:用于在文件树中查找文件,并作出相应处理(可能访问磁盘)

常用选项:
-name 按照文件名查找文件

其它选项需要再查,此命令较为复杂

  1. //从当前目录下搜索执行名称的文件

  2. [root@VM-0-6-centos ~]# find -name myfile.txt

  3. ./myfile.txt

  4. //在指定目录下(~,家目录)搜索执行名称的文件

  5. [root@VM-0-6-centos ~]# find ~ -name myfile.txt

  6. /root/myfile.txt

一键获取完整项目代码

3.18which指令

功能:搜索系统指定的命令

例如:

  1. [root@VM-0-6-centos ~]# which ls

  2. alias ls='ls --color=auto'

  3. /usr/bin/ls

  4. [root@VM-0-6-centos ~]# which pwd

  5. /usr/bin/pwd

一键获取完整项目代码

3.19whereis指令

功能:用于找到程序的源、二进制文件或手册

例如:

  1. [root@VM-0-6-centos ~]# whereis ls

  2. ls: /usr/bin/ls /usr/share/man/man1/ls.1.gz /usr/share/man/man1p/ls.1p.gz

  3. [root@VM-0-6-centos ~]# whereis libc.so

  4. libc: /usr/lib64/libc.so /usr/share/man/man7/libc.7.gz

  5. //libc:C标准库

  6. //.so:shared object动态共享库

一键获取完整项目代码

3.20alias指令

功能:设置命令的别名

例如:

  1. [root@VM-0-6-centos ~]# alias hello='ls -a -l'

  2. [root@VM-0-6-centos ~]# which hello

  3. alias hello='ls -a -l'

  4. /usr/bin/ls

  5. [root@VM-0-6-centos ~]# hello

  6. total 84

  7. dr-xr-x---.  7 root root  4096 Jul  922:03 .

  8. dr-xr-xr-x. 19 root root  4096 Jul 1120:26 ..

  9. -rw-------   1 root root 20131 Jul 1120:26 .bash_history

  10. -rw-r--r--.  1 root root    18 Dec 292013 .bash_logout

  11. -rw-r--r--.  1 root root   176 Dec 292013 .bash_profile

  12. -rw-r--r--.  1 root root   176 Dec 292013 .bashrc

  13. drwxr-xr-x   4 root root  4096 Mar 2202:55 .cache

  14. drwxr-xr-x   3 root root  4096 Mar  72019 .config

  15. -rw-r--r--.  1 root root   100 Dec 292013 .cshrc

  16. -rw-------   1 root root    69 Jul  423:17 .lesshst

  17. -rw-r--r--   1 root root   162 Jul  922:09 myfile.txt

  18. -rw-r--r--   1 root root    44 Mar 2022:54 .npmrc

  19. drwxr-xr-x   2 root root  4096 Jul  221:41 .orca_term

  20. drwxr-xr-x   2 root root  4096 Mar 2022:54 .pip

  21. -rw-r--r--   1 root root    73 Mar 2022:54 .pydistutils.cfg

  22. drwx------   2 root root  4096 Mar 2023:34 .ssh

  23. -rw-r--r--.  1 root root   129 Dec 292013 .tcshrc

一键获取完整项目代码

3.21grep指令

语法:grep [选项] 搜索字符串 文件

功能:在文件中搜索字符串,将找到的行打印出来

常用选项:

●-i:忽略大小写的不同,所以大小写视为相同

●-n:顺便输出行号

●-v:反向选择,即显示出没有'搜索字符串'内容的那一行

  1. //文件内容

  2. [root@VM-0-6-centos ~]# nano tmp.txt

  3. [root@VM-0-6-centos ~]# cat tmp.txt

  4. hEllo Linux

  5. hello Linux

  6. heLlo Linux

  7. Hello Linux

  8. hello Linux

  9. hellO Linux

  10. hello Linux

  11. hello Linux

  12. hello Linux

  13. hello Linux

  14. hello Linux

  15. //基本查找

  16. [root@VM-0-6-centos ~]# grep 'hello Linux' tmp.txt

  17. hello Linux

  18. hello Linux

  19. hello Linux

  20. hello Linux

  21. hello Linux

  22. hello Linux

  23. hello Linux

  24. //忽略大小写的不同,所以大小写视为相同

  25. [root@VM-0-6-centos ~]# grep -i 'hello Linux' tmp.txt

  26. hEllo Linux

  27. hello Linux

  28. heLlo Linux

  29. Hello Linux

  30. hello Linux

  31. hellO Linux

  32. hello Linux

  33. hello Linux

  34. hello Linux

  35. hello Linux

  36. hello Linux

  37. //顺便输出行号

  38. [root@VM-0-6-centos ~]# grep -n 'hello Linux' tmp.txt

  39. 2:hello Linux

  40. 5:hello Linux

  41. 7:hello Linux

  42. 8:hello Linux

  43. 9:hello Linux

  44. 10:hello Linux

  45. 11:hello Linux

  46. //反向选择,即没有'搜索字符串'内容的那一行

  47. [root@VM-0-6-centos ~]# grep -v 'hello Linux' tmp.txt

  48. hEllo Linux

  49. heLlo Linux

  50. Hello Linux

  51. hellO Linux

  52. [root@VM-0-6-centos ~]# grep -nv 'hello Linux' tmp.txt

  53. 1:hEllo Linux

  54. 3:heLlo Linux

  55. 4:Hello Linux

  56. 6:hellO Linux

  57. 12:

  58. [root@VM-0-6-centos ~]# grep -nvi 'hello Linux' tmp.txt

  59. 12:

一键获取完整项目代码

3.22top

1 top -d 1 -n 5

-d:刷新的时间间隔

-n:刷新的次数

q:退出

3.23zip/unzip指令

语法:zip dst.zip src(可以是目录或文件)

功能:将目录或文件压缩成zip格式

常用选项:

●-r:递归处理,将指定目录下的所有文件和子目录一并处理

例如:

将test文件压缩:zip test.zip test.txt

将test目录压缩:zip -r test.zip test

解压到root目录:unzip test.zip -d /root

关于sz/rz

这个工具用于Windows机器和远端的Linux机器通过XShell传输文件,安装完毕之后可以通过拖拽的文件将文件上传过去。

安装指令:sudo yum/apt install -y lrzlz

也可以用指令传输文件

将test.zip从Linux传输到Windows:sz test.zip

将test.zip从Windows传输到Linux:rz

3.24tar指令

打包/解包,不打开它,直接看内容

语法:tar [-cxtzjvf] dst.tgz src

常用选项:

●-c:建立一个压缩文件参数指令(即create)

●-x:解开一个压缩文件的参数指令

●-t:查看tarfile里面的文件

●-z:是否同时具有gzip的属性?亦即是否需要用gzip压缩?

●-j:是否同时具有bzip2的属性?亦即是否需要用bzip2压缩?

●-v:压缩的过程中显示文件!这个常用,但不建议用在背景执行过程!

●-f:使用档名,在f之后利己接档名!不要再加参数

●-C:解压到指定目录

例如:

示例一:将整个/etc目录下的文件全部打包成'/tmp/etc.tar'

[root@linux ~]$ tar -cvf /tmp/etc.tar /etc <==仅打包,不压缩!

[root@linux ~]$ tar -zcvf /tmp/etc.tar.gz /etc <==打包后,以gzip压缩

[root@linux ~]$ tar -jcvf /tmp/etc.tar.bz2 /etc <==打包后,以bzip2压缩

特别注意,在参数f之后的文件档名是自己取的,习惯上都用.tar来作为辨识。

若加z参数,则以.tar.gz或.tgz来代表gzip压缩过的tar file 

若加j参数,则以.tar.bz2来作为附档名

示例二:查阅上述/tmp/etc.tar.gz文件内有哪些文件?

[root@linux ~]$ tar -tzvf /tmp/etc.tar.gz

由于使用gzip压缩,所以要查阅该tar file内的文件时,就要加上z这个参数!

示例三:将tmp/etc.tar.gz文件解压缩在/usr/local/src底下

[root@linux ~]$ cd /usr/local/src

[root@linux ~]$ tar -xzvf /tmp/etc.tar.gz

也可以直接

[root@linux ~]$ tar -xzvf /tmp/etc.tar.gz -C /usr/local/src

在预设情况下,可以将压缩档任何地方解开。另外,若进入/usr/local/src/etc会发现,该目录下的文件属性与/etc可能会有所不同。

示例四:在/tmp下,只想将tmp/etc.tar.gz内的etc/passwd解开

[root@linux ~]$ cd /tmp

[root@linux ~]$ tar -xzvf /tmp/etc.tar.gz etc/passwd

也可以直接

[root@linux ~]$ tar -xzvf /tmp/etc.tar.gz/passwd -C /tmp

可以通过tar -ztvf来查阅tar file内的文件名称,若单只要一个文件,就可以通过这个方式来下达。注意,etc.tar.gz内的根目录/是被拿掉了!

3.25bc指令

bc命令可以很方便的进行浮点运算

3.26uname -r指令

语法:uname [选项]

功能:uname用来获取电脑和操作系统的相关信息

补充说明:uname可显示Linux主机所用的操作系统的版本、硬件的名称等基本信息。

常用选项:

●-a或-all详细输出所有信息,依次为内核名称,主机名,内核版本号,内核版本,硬件名,处理器类型,硬件平台类型,操作系统名称

●lsb_release -a:查看操作系统版本

3.27重要的几个热键

●[Tab]按键---具有【命令补全】和【档案补齐】的功能。快速摁两下。

●[Ctrl]+c按键---让当前的程序【停掉】

●[Ctrl]+d按键---通常代表着:【键盘输入结束(End Of File,EOF或End Of Input)】的意思;它也可以用来取代exit。退出当前用户

●[上下键]---查看历史命令

●[Ctrl]+r按键---搜索历史命令

3.28关机

语法:shutdown [选项]

常见选项:

●-h:将系统的服务停掉后,立即关机

●-r:在系统的服务停掉之后就重新启动

●-t sec:-t后加秒数,即【过几秒后关机】的意思

3.29扩展命令

●安装和登录命令:login、shutdown、halt、reboot、install、mount、umount、chsh、exit、last;

●文件处理命令:file、mkdir、grep、dd、find、mv、ls、diff、cat、ln;

●系统管理相关命令:df、top、free、quota、at、lp、adduser、deluser、groupadd、kill、crontab;

●网络操作命令:ifconfig、ip、ping、netstat、telnet、ftp、route、rlogin、rcp、finger、mail、nslookup;

●系统安全相关命令:passwd、su、umask、chgrp、chmod、chown、chattr、sudo ps、who;

●其它命令:tar、unzip、gunzip、unarj、mtools、man、unendcode、uudecode。

3.30shell命令以及运行原理

Linux严格意义上说的是一个操作系统,我们称之为“核心(kernel)”,但对用户来说,不能直接使用kernel。而是通过kenel的“外壳”程序,即shell,去与kernel沟通。如何理解?为什么不能直接使用kernel?

从技术角度,Shell的最简单定义:命令行解释器(command interpreter)主要包含:

●将使用者的命令翻译给核心(kernel)处理

●同时,将核心的处理结果翻译给使用者

对于windows GUI,操作windows不是直接操作windows内核,而是通过图形接口,点击,从而完成相应的操作(如进入D盘的操作,通常是双击D盘盘符,运行应用程序也可以如此)。

shell对于Linux,有相应的作用,主要是对我们的指令进行解析,解析指令给Linux内核。反馈结果再通过内核运行出结果,通过shell解析给用户。

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-08-21 19:59:37 HTTP/2.0 GET : https://f.mffb.com.cn/a/507750.html
  2. 运行时间 : 0.209661s [ 吞吐率:4.77req/s ] 内存消耗:4,634.70kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=a44fc7907b6932fc96f9bb4704695445
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.001061s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001277s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000825s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.002294s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001250s ]
  6. SELECT * FROM `set` [ RunTime:0.000658s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001370s ]
  8. SELECT * FROM `article` WHERE `id` = 507750 LIMIT 1 [ RunTime:0.003016s ]
  9. UPDATE `article` SET `lasttime` = 1787313577 WHERE `id` = 507750 [ RunTime:0.027186s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 67 LIMIT 1 [ RunTime:0.014625s ]
  11. SELECT * FROM `article` WHERE `id` < 507750 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001173s ]
  12. SELECT * FROM `article` WHERE `id` > 507750 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000938s ]
  13. SELECT * FROM `article` WHERE `id` < 507750 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001817s ]
  14. SELECT * FROM `article` WHERE `id` < 507750 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.002063s ]
  15. SELECT * FROM `article` WHERE `id` < 507750 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.001538s ]
0.213003s