?? stupid-script-tricks.sh
字號:
#!/bin/bash# stupid-script-tricks.sh: Don't try this at home, folks.# From "Stupid Script Tricks," Volume I.dangerous_variable=`cat /boot/vmlinuz` # The compressed Linux kernel itself.echo "string-length of \$dangerous_variable = ${#dangerous_variable}"# string-length of $dangerous_variable = 794151# (Does not give same count as 'wc -c /boot/vmlinuz'.)# echo "$dangerous_variable"# Don't try this! It would hang the script.# The document author is aware of no useful applications for#+ setting a variable to the contents of a binary file.exit 0
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -