Skip to content

Hev's Blog

Across the Great Wall we can reach every corner in the world.

February 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  
« Jan    

Pages

  • Profile
  • Guestbook

Categories

  • Android (33)
  • Arch (28)
  • ARM64 (2)
  • Assembly (6)
  • C/C++ (64)
  • Debian (6)
  • DIY (6)
  • FreeBSD (5)
  • Gjs (2)
  • Java (9)
  • Linux (167)
  • LoongArch (1)
  • Loongson (13)
  • LS3A (2)
  • MIPS (19)
  • Python (2)
  • Shell (2)
  • Ubuntu (15)
  • Unix (2)
  • Vala (10)
  • Windows (6)
  • x86 (5)
  • 业余通信 (4)
  • 密码学 (2)
  • 应用程序 (61)
  • 感知融合 (1)
  • 操作系统 (11)
  • 无线通信 (10)
  • 架构 (7)
  • 网络相关 (129)
  • 计算机 (7)
  • 软件开发 (71)
  • 默认分类 (149)

Recent Posts

  • 2023-: Pandora’s box is reopening
  • Run OpenWrt 22.03 in systemd-nspawn container
  • Stack clash style attacks
  • VirtManager connect remote service
  • Network TSO/GSO
  • Irreducible loop
  • OpenWrt: Set policy routing
  • SSH: Use legacy SCP protocol

Recent Comments

  • hev on Nginx 模块 HTTP OwnerMatch
  • aj on Nginx 模块 HTTP OwnerMatch
  • awei on Guestbook
  • 郭晓 on 在线生成莫尔斯电码音频文件
  • eras on 同文郑码安卓版
  • hev on Linux recovery移除签名校验
  • 2639696626 on Linux recovery移除签名校验
  • hev on 解决小米4电信4G版刷LineageOS信号问题

Category: Shell

Shell 语言

Turning laptop touchpad on/off

Turning On

cd /sys/devices/platform/i8042/serio2
echo -n manual > bind_mode
echo -n none > drvctl

Turning Off

cd /sys/devices/platform/i8042/serio2
echo -n auto > bind_mode
echo -n reconnect > drvctl

Over!

Posted on 2012年05月7日Categories Linux, Shell, 软件开发Tags 原创3 Comments on Turning laptop touchpad on/off

Linux 批量重命名将大写转小写

for i in `ls`
do
    mv -f $i `echo $i | tr A-Z a-z`
done

Over!

Posted on 2010年01月31日2010年02月7日Categories Linux, ShellTags 原创6 Comments on Linux 批量重命名将大写转小写
Proudly powered by WordPress