nmcli & ip

root@root135:~# cat nmcli nmcli c nmcli c del iQOO\ Z7\ Network nmcli dev wifi nmcli dev wifi connect iQOO\ Z7 password 123456789 nmcli c del f6e0d23e-69e1-4cf3-a962-81d2d18ff17a nmcli dev nmcli r wifi off #关闭所有的wifi nmcli r wifi on #打开所有的wifi

Published
Categorized as linux

bluetoothctl

root@root135:~# bluetoothctl Agent registered [bluetooth]# devices Device D4:84:57:10:04:18 midea Device 56:F5:F5:24:82:8B 56-F5-F5-24-82-8B Device F7:AF:2D:1A:0D:91 COROS PACE 3 87902A Device 41:42:FF:28:DF:E0 S-86 Device 40:45:DA:29:C4:6A Topway Device DC:2D:04:D8:E2:DE iQOO Z7

Published
Categorized as linux

ls

有一个小技巧 ls -lth *.mp4 | grep jd -rw-r–r– 1 root135 root135 88M Jun 22 20:05 20250622jd.mp4 -rw-r–r– 1 root135 root135 72M Jun 21 20:08 20250621jd.mp4 grep jd,表示名字中含有jd的文件 如果你忘记自己记录的一些小信息,然而只记得这个文件名包含qq,这时就用grep过滤字符.ls | grep qq ls | grep qq qutamwiwcaia ykagydoabgee —————————— ls -lth | more | grep mp4 -rw-r–r– 1 root135 root135 30M Jul 7 08:06 switch语句.mp4 -rw-r–r–… Continue reading ls

Published
Categorized as linux

vim-^M

Published
Categorized as linux

Kylin->single

1)启动到选择操作系统的界面,在此界面按“e”进入编辑模式。担心手慢的,可以多按几次向下的按键。 2)找到“linux” 或 ”linuxefi“ 行,在末尾输入rw init=/bin/bash,按Ctrl+x进入单用户模式 quite rw init=/bin/bash

Published
Categorized as linux