⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stupid-script-tricks.sh

📁 一本完整的描述Unix Shell 编程的工具书的所有范例
💻 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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -