当前位置:首页>Linux>Linux 必备!50 个高频命令速查!

Linux 必备!50 个高频命令速查!

  • 2026-02-04 19:56:20
Linux 必备!50 个高频命令速查!

作为Linux运维工程师,日常工作中离不开各类基础命令。今天整理了50个高频常用的Linux命令,涵盖系统信息、文件操作、文本处理、网络管理、用户管理等核心场景,每个命令都标注了核心作用、常用参数和实操示例,新手也能轻松上手!


一、系统基础信息类

1. arch

作用:查看系统架构(如x86_64、aarch64等)

常用参数:无核心常用参数

[root@localhost ~]# archx86_64

2. uname

作用:查看系统内核、主机名、架构等基础信息

常用参数

  • -a:显示所有系统信息

  • -r:仅显示内核版本

  • -m:显示硬件架构

[root@localhost ~]# uname -aLinux localhost.localdomain 5.14.0-284.30.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 10 11:42:47 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux[root@localhost ~]# uname -r5.14.0-284.30.1.el9_2.x86_64

3. lscpu

作用:查看CPU硬件信息(架构、核心数、主频等)

常用参数

  • -e:以易读格式显示CPU详细信息

  • -p:以可解析格式显示CPU拓扑信息

[root@localhost ~]# lscpuArchitecture:            x86_64CPU op-mode(s):        32-bit, 64-bitCPU(s):                  2Core(s) per socket:      2Socket(s):               1...

4. free

作用:查看系统内存使用情况

常用参数

  • -h:以人类可读单位(KB/MB/GB)显示

  • -m:以MB为单位显示

  • -t:显示内存+交换分区总计

[root@localhost ~]# free -h               total        used        free      shared  buff/cache   availableMem:           1.9Gi       322Mi       1.2Gi       12Mi       415Mi       1.5GiSwap:          2.0Gi          0B       2.0Gi

5. lsblk

作用:查看块设备(硬盘、分区、U盘等)信息

常用参数

  • -f:显示文件系统类型和UUID

  • -p:显示设备完整路径

[root@localhost ~]# lsblk -fNAME   FSTYPE FSVER LABEL UUID                                 MOUNTPOINTsda├─sda1 xfs          /     8a7b6c5d-4e3f-897a-1234-567890abcdef /└─sda2 swap         swap  12345678-1234-5678-90ab-cdef01234567 [SWAP]

6. date

作用:显示/修改系统日期和时间

常用参数

  • +%F:以YYYY-MM-DD显示日期

  • +%T:以HH:MM:SS显示时间

  • -s:设置系统时间

[root@localhost ~]# date +%F_%T2024-05-20_15:30:25[root@localhost ~]# date -'2024-05-20 15:30:00'Mon May 20 15:30:00 CST 2024

7. cal

作用:查看日历

常用参数

  • -y:显示全年日历

  • -3:显示前/当前/后一个月日历

[root@localhost ~]# cal -3      April 2024               May 2024              June 2024Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa    1  2  3  4  5  6   1  2  3  4  5  6  7         1  2  3  4  5...

8. last

作用:查看用户登录历史记录

常用参数

  • -n 10:仅显示10行登录记录

  • -i:显示登录IP而非主机名

[root@localhost ~]# last -n 5 -iroot     pts/0        192.168.230.1    Mon May 20 15:20   still logged inroot     pts/1        192.168.230.1    Mon May 20 15:10   still logged in...

9. hostname

作用:查看/临时修改系统主机名

常用参数

  • -i:显示主机对应的IP地址

  • -f:显示完整域名(FQDN)

[root@localhost ~]# hostnamelocalhost.localdomain[root@localhost ~]# hostname test-server  # 临时修改

10. hostnamectl

作用:查看/修改系统主机名(永久生效)

常用参数

  • status:查看主机名信息

  • set-hostname:设置永久主机名

[root@localhost ~]# hostnamectl set-hostname linux-server[root@localhost ~]# hostnamectl status Static hostname: linux-server       Icon name: computer-vm         Chassis: vm...

二、系统服务与开关机类

11. systemctl

作用:系统服务、进程、电源等管理的核心命令

常用参数

  • start/stop/restart:启动/停止/重启服务

  • enable/disable:设置服务开机自启/关闭

  • status:查看服务运行状态

[root@localhost ~]# systemctl start sshd[root@localhost ~]# systemctl enable sshd[root@localhost ~]# systemctl status sshd● sshd.service - OpenSSH server daemon     Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: enabled)     Active: active (running) since Mon 2024-05-20 15:00:00 CST; 30min ago...

12. reboot

作用:重启服务器

常用参数

  • -f:强制重启,不调用shutdown流程

[root@localhost ~]# reboot[root@localhost ~]# reboot -f  # 强制重启
13. shutdown

作用:安全关闭/重启服务器

常用参数

  • -h now:立即关机

  • -r now:立即重启

  • -c:取消已计划的关机/重启

[root@localhost ~]# shutdown -h 10  # 10分钟后关机[root@localhost ~]# shutdown -r now  # 立即重启[root@localhost ~]# shutdown -c      # 取消计划

三、网络管理类

14. systemctl status sshd

作用:查看SSH服务运行状态

常用参数:无核心附加参数(直接执行)

[root@localhost ~]# systemctl status sshd● sshd.service - OpenSSH server daemon     Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: enabled)     Active: active (running) since Mon 2024-05-20 15:00:00 CST; 30min ago...

15. netstat

作用:查看系统网络连接、监听端口及对应进程

常用参数

  • -antlp

  • -a(所有)、

  • -n(数字显示)、

  • -t(TCP)、

  • -l(监听)、

  • -p(进程)

[root@localhost ~]# netstat -antlpActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program nametcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      932/sshd: /usr/sbin...

16. ss

作用:Linux下替代netstat的高性能网络状态查询命令

常用参数

  • -antlp:同netstat对应参数

[root@localhost ~]# ss -antlpState          Recv-Q         Send-Q                  Local Address:Port                   Peer Address:Port         ProcessLISTEN         0              128                           0.0.0.0:22                          0.0.0.0:*             users:(("sshd",pid=932,fd=3))...

17. ifconfig

作用:查看网卡IP地址、硬件地址等网络配置信息

常用参数:无核心附加参数(直接执行)

[root@localhost ~]# ifconfigens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500        inet 192.168.230.44  netmask 255.255.255.0  broadcast 192.168.230.255        ether 00:0c:29:81:23:63  txqueuelen 1000  (Ethernet)...

18. ip

作用:查看/管理网卡IP地址(ifconfig升级版)

常用参数

  • a/addr:查看IP配置

  • add:添加IP地址

  • del:删除IP地址

[root@localhost ~]# ip a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00    inet 127.0.0.1/8 scope host lo       valid_lft forever preferred_lft forever...[root@localhost ~]# ip addr add 192.168.230.50/24 dev ens160  # 添加IP

四、文件操作类

19. echo

作用:将指定内容打印到终端,也可写入文件

常用参数

  • -n:输出后不换行

  • -e:解析转义字符(如\n换行)

[root@localhost ~]# echo -e "Hello\nLinux"HelloLinux[root@localhost ~]# echo "test content" > test.txt  # 写入文件

20. pwd

作用:显示当前工作目录的绝对路径

常用参数

  • -P:显示实际物理路径(忽略符号链接)

[root@localhost ~]# pwd/root[root@localhost ~]# cd /usr/bin && pwd -P/usr/bin

21. ls

作用:列出目录中的文件/目录信息

常用参数

  • -a:显示所有文件(含隐藏文件)

  • -l:长格式显示(权限、大小等)

  • -h:人类可读单位显示大小

[root@localhost ~]# ls -lahtotal 28Kdr-xr-x---.  5 root root  146 May 20 15:00 .drwxr-xr-x. 18 root root  235 May 20 10:00 ..-rw-------.  1 root root 1.2K May 20 10:39 anaconda-ks.cfg...

22. ll

作用:ls -l的别名,长格式列出文件/目录详细属性

常用参数

  • -h:易读单位显示大小

  • -a:显示隐藏文件

[root@localhost ~]# ll -htotal 4.0K-rw-------. 1 root root 1.2K May 20 10:39 anaconda-ks.cfgdrwxr-xr-x. 2 root root    6 May 20 15:00 test_dir

23. mkdir

作用:创建新目录

常用参数

  • -p:递归创建多级目录

  • -m:创建时指定权限

[root@localhost ~]# mkdir test_dir[root@localhost ~]# mkdir -p /data/app/log  # 递归创建[root@localhost ~]# mkdir -m 700 private_dir  # 指定权限

24. rmdir

作用:删除空目录

常用参数

  • -p:递归删除空目录

[root@localhost ~]# rmdir test_dir[root@localhost ~]# rmdir -p /data/app/log  # 递归删除空目录

25. stat

作用:查看文件/目录的详细状态(inode、时间戳等)

常用参数

  • -L:跟随符号链接显示目标文件信息

[root@localhost ~]# stat test.txt  File: test.txt  Size: 0          Blocks: 0          IO Block: 4096   regular empty fileDevice: fd00h/64768d    Inode: 123456      Links: 1Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)Access: 2024-05-20 15:00:00.000000000 +0800Modify: 2024-05-20 15:00:00.000000000 +0800Change: 2024-05-20 15:00:00.000000000 +0800 Birth: -

26. touch

作用:创建空文件,或修改文件访问/修改时间

常用参数

  • -d:指定修改的时间

  • -a:仅修改访问时间

  • -m:仅修改修改时间

[root@localhost ~]# touch test.txt  # 创建空文件[root@localhost ~]# touch -d "2024-05-20 15:00:00" test.txt  # 修改时间

27. rm

作用:删除文件/目录(谨慎使用)

常用参数

  • -f:强制删除,无确认提示

  • -r:递归删除目录及内容

[root@localhost ~]# rm -f test.txt  # 强制删除文件[root@localhost ~]# rm -rf test_dir  # 强制删除目录

28. cp

作用:复制文件/目录到指定位置

常用参数

  • -r:递归复制目录

  • -a:归档复制(保留权限、时间戳等)

  • -f:强制覆盖目标文件

[root@localhost ~]# cp test.txt /tmp/  # 复制文件[root@localhost ~]# cp -r test_dir /tmp/  # 复制目录[root@localhost ~]# cp -a /data /backup/  # 归档复制

29. mv

作用:移动文件/目录,或重命名文件/目录

常用参数

  • -f:强制覆盖目标文件

  • -v:显示移动/重命名过程

[root@localhost ~]# mv old.txt new.txt  # 重命名[root@localhost ~]# mv new.txt /tmp/  # 移动文件

30. cat

作用:查看/拼接文件内容,创建简单文件

常用参数

  • -n:显示行号

  • -b:仅非空白行显示行号

[root@localhost ~]# cat -n test.txt  # 带行号查看[root@localhost ~]# cat > new.txt << EOF  # 创建文件> hello linux> EOF

31. nl

作用:显示文件内容并标注行号(仅非空白行)

常用参数

  • -b a:所有行(含空白行)显示行号

[root@localhost ~]# nl test.txt     1  hello linux     2  test content

32. tac

作用:逆向显示文件内容(从最后一行到第一行)

常用参数:无核心附加参数

[root@localhost ~]# tac test.txttest contenthello linux

33. more

作用:分屏查看文本文件内容(仅向下翻页)

常用参数

  • -n 20:每页显示20行

[root@localhost ~]# more /var/log/messages  # 分屏查看日志

34. less

作用:分屏查看文本文件(支持上下翻页、搜索)

常用参数

  • -N:显示行号

  • -i:搜索时忽略大小写

[root@localhost ~]# less -N /var/log/secure  # 带行号查看安全日志

35. head

作用:显示文件开头部分内容(默认前10行)

常用参数

  • -n 5:显示前5行

  • -c 50:显示前50个字节

[root@localhost ~]# head -n 5 /etc/passwdroot:x:0:0:root:/root:/bin/bashbin:x:1:1:bin:/bin:/sbin/nologindaemon:x:2:2:daemon:/sbin:/sbin/nologinadm:x:3:4:adm:/var/adm:/sbin/nologinlp:x:4:7:lp:/var/spool/lpd:/sbin/nologin

36. tail

作用:显示文件结尾部分内容(默认最后10行)

常用参数

  • -n 20:显示最后20行

  • -f:实时跟踪文件新增内容

[root@localhost ~]# tail -f /var/log/messages  # 实时监控日志[root@localhost ~]# tail -n 20 /var/log/messages  # 显示最后20行

五、文本处理类

37. find

作用:在指定路径下查找文件/目录,支持执行操作

常用参数

  • -name:按名称搜索(支持通配符)

  • -type f/d:按类型(文件/目录)搜索

  • -size +100M:按大小搜索(大于100M)

  • -exec:对结果执行命令

[root@localhost ~]# find . -name "*.txt"  # 查找txt文件[root@localhost ~]# find /var/log -name "*.log" -mtime +7 -delete  # 删除7天前的日志

38. locate

作用:基于数据库快速查找文件(比find快)

常用参数

  • -i:忽略大小写

  • -c:仅显示匹配数量

[root@localhost ~]# locate passwd  # 查找含passwd的文件[root@localhost ~]# updatedb  # 更新locate数据库

39. which

作用:查找命令对应的可执行文件路径

常用参数

  • -a:显示所有匹配的路径

[root@localhost ~]# which ls/usr/bin/ls[root@localhost ~]# which -a python/usr/bin/python/usr/local/bin/python

40. tee

作用:将内容同时输出到终端和文件

常用参数

  • -a:追加内容到文件(默认覆盖)

[root@localhost ~]# echo "test" | tee test.txt  # 输出+写入[root@localhost ~]# ls -l | tee -a log.txt  # 追加到文件

41. grep

作用:文本搜索工具,匹配符合条件的行

常用参数

  • -n:显示匹配行行号

  • -i:忽略大小写

  • -v:反向匹配(显示不匹配行)

  • -r:递归搜索目录

[root@localhost ~]# grep "root" /etc/passwd  # 搜索含root的行[root@localhost ~]# grep -ni "test" test.txt  # 忽略大小写+行号

42. cut

作用:截取文本的指定列/字符

常用参数

  • -d:指定分隔符

  • -f:指定截取列

  • -c:指定截取字符范围

[root@localhost ~]# cut -d ":" -f 1 /etc/passwd  # 截取用户名[root@localhost ~]# echo "hello" | cut -c 1-3  # 截取前3个字符

43. sort

作用:对文本内容按规则排序

常用参数

  • -n:按数字大小排序

  • -r:反向排序

  • -u:去重

  • -k 3:按第3列排序

[root@localhost ~]# sort -t ":" -k 3 -n /etc/passwd  # 按UID数字排序[root@localhost ~]# sort -ru test.txt  # 反向排序+去重

44. uniq

作用:去除连续重复行(需先排序)

常用参数

  • -c:统计每行重复次数

  • -d:仅显示重复行

[root@localhost ~]# sort test.txt | uniq  # 排序去重[root@localhost ~]# sort test.txt | uniq -c  # 统计重复次数

45. wc

作用:统计文本行数、单词数、字符数

常用参数

  • -l:仅统计行数

  • -w:仅统计单词数

  • -m:仅统计字符数

[root@localhost ~]# wc -l /etc/passwd  # 统计行数45 /etc/passwd[root@localhost ~]# wc -m test.txt  # 统计字符数

46. xargs

作用:将管道参数转换为命令参数列表

常用参数

  • -n 2:每次传递2个参数

  • -i:用{}代替参数

[root@localhost ~]# find . -name "*.txt" | xargs rm -f  # 删除txt文件[root@localhost ~]# echo "a b c d" | xargs -n 2 echo  # 每次传2个参数

六、压缩解压类

47. tar

作用:Linux核心打包/压缩/解压缩工具

常用参数

  • -cvf:仅打包

  • -zcvf:打包+gzip压缩

  • -zxvf:解压gzip压缩包

  • -C:指定解压目录

[root@localhost ~]# tar -zcvf test.tar.gz /home/test/  # 打包压缩[root@localhost ~]# tar -zxvf test.tar.gz -C /tmp/  # 解压到/tmp

七、用户管理类

48. id

作用:查看用户UID、GID、所属组信息

常用参数

  • -u:仅显示UID

  • -g:仅显示主组GID

  • -n:显示名称(配合-u/-g)

[root@localhost ~]# id rootuid=0(root) gid=0(root) groups=0(root)[root@localhost ~]# id -nu  # 显示当前用户名root

49. useradd

作用:创建新用户

常用参数

  • -u:指定UID

  • -g:指定主组

  • -G:指定附加组

  • -s:指定默认shell

[root@localhost ~]# useradd -g users -G wheel -s /bin/bash testuser  # 创建普通用户[root@localhost ~]# useradd -r -s /sbin/nologin nginx  # 创建系统用户

50. passwd

作用:管理用户密码

常用参数

  • -l:锁定用户

  • -u:解锁用户

  • -e:强制下次登录改密码

[root@localhost ~]# passwd testuser  # 设置testuser密码[root@localhost ~]# passwd -l testuser  # 锁定用户[root@localhost ~]# passwd -u testuser  # 解锁用户

最后

以上50个命令覆盖了Linux日常运维的核心场景,建议收藏备用。命令的熟练使用在于多练,新手可以逐个实操,逐步掌握~


最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-02-08 08:31:45 HTTP/2.0 GET : https://f.mffb.com.cn/a/468241.html
  2. 运行时间 : 0.202321s [ 吞吐率:4.94req/s ] 内存消耗:4,538.68kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=a61a6122eaf1d327825b1c0fd09c9a6d
  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.001132s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.001424s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000688s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000662s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001307s ]
  6. SELECT * FROM `set` [ RunTime:0.000586s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001423s ]
  8. SELECT * FROM `article` WHERE `id` = 468241 LIMIT 1 [ RunTime:0.002362s ]
  9. UPDATE `article` SET `lasttime` = 1770510705 WHERE `id` = 468241 [ RunTime:0.018239s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 67 LIMIT 1 [ RunTime:0.000578s ]
  11. SELECT * FROM `article` WHERE `id` < 468241 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001054s ]
  12. SELECT * FROM `article` WHERE `id` > 468241 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001089s ]
  13. SELECT * FROM `article` WHERE `id` < 468241 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.003641s ]
  14. SELECT * FROM `article` WHERE `id` < 468241 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.002341s ]
  15. SELECT * FROM `article` WHERE `id` < 468241 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.004251s ]
0.206064s