script3
来自「understanding unix/linux programming sou」· 代码 · 共 15 行
TXT
15 行
#!/bin/sh# script3 - shows how an environment variable is passed to commands# TZ is timezone, affect things like date, and ls -l#echo "The time in Boston is" TZ=EST5EDT export TZ # add TZ to the environment date # date uses the value in TZecho "The time in Chicago is" TZ=CST6CDT dateecho "The time in LA is" TZ=PST8PDT date
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?