You can simply use date command inside shell script similar to use on the command prompt. Create a bash script getDateTime.sh with the following content.
確定! 回上一頁