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

📄 ex38.sh

📁 Shall高级编程
💻 SH
字号:
#!/bin/bash. data-file    # Load a data file.# Same effect as "source data-file", but more portable.#  The file "data-file" must be present in current working directory,#+ since it is referred to by its 'basename'.# Now, reference some data from that file.echo "variable1 (from data-file) = $variable1"echo "variable3 (from data-file) = $variable3"let "sum = $variable2 + $variable4"echo "Sum of variable2 + variable4 (from data-file) = $sum"echo "message1 (from data-file) is \"$message1\""# Note:                            escaped quotesprint_message This is the message-print function in the data-file.exit 0

⌨️ 快捷键说明

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