linux的系统管理 ? 1,创建一个文件date程序,要求运行/root/date时能显示“Hi,用户名,today is … Have a good day!” 同时要有注释。该怎么做?
------解决方案--------------------
Python code
#!/bin/bash
echo "Hi, `whoami`, today is `date`, Have a good day!"
------解决方案-------------------- #! /bin/bash #file date echo "Hi,`whoami`,today is `date` Have a good day!"