greetings
来自「UNIX+shell范例精解(第4版)代码」· 代码 · 共 11 行
TXT
11 行
#!/bin/sh# This is the first Bourne shell program of the day.# Scriptname: greetings# Written by: Barbara Bornecho "Hello $LOGNAME, it's nice talking to you."echo "Your present working directory is `pwd`."echo "You are working on a machine called `uname -n`."echo "Here is a list of your files."ls # List files in the present working directoryecho "Bye for now $LOGNAME. The time is `date +%T`!"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?