greetings

来自「UNIX+shell范例精解(第4版)代码」· 代码 · 共 11 行

TXT
11
字号
#!/bin/ksh# This is the first Korn shell program of the day.# Scriptname: greetings# Written by: Karen Kornyprint "Hello $LOGNAME, it's nice talking to you."print "Your present working directory is $(pwd)."print "You are working on a machine called $(uname -n)."print "Here is a list of your files."ls	    # List files in the present working directoryprint "Bye for now $LOGNAME. The time is $(date +%T)!"

⌨️ 快捷键说明

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