linux – 业余语言练习

vim 多窗口

wim more than windows :sp 将一个窗口切分为上下两个窗口 ‘Ctrl+w’+’Shift+-‘ 将上下两个窗口其中一个窗口最大化 ‘Ctrl+w’+’=’ 将上下两个窗口均等化 :vsp 将一个窗口切分为左右两个窗口 ‘Ctrl+w’+’Shift+|’ 将左右两个窗口其中一个窗口最大化 ‘Ctrl+w’+’=’ 将左右两个窗口均等化

Published
Categorized as linux

bluetoothctl

bluetoothctl Agent registered [S-86]# help Menu main: Available commands: ——————- advertise Advertise Options Submenu scan Scan Options Submenu gatt Generic Attribute Submenu list List available controllers show [ctrl] Controller information

Published
Categorized as linux

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