2007年7月4日 星期三

shell script : variable save command result

[will@localhost ShellScript]$ cat date.sh
#!/bin/bash

ddd=`/bin/date`

echo -e "It is \""$ddd"\" now."

[will@localhost ShellScript]$

沒有留言:

網誌存檔

關於我自己