2013年12月5日

[quote]HowTo Format Date For Display or Use In a Shell Script

摘要: From http://www.cyberciti.biz/faq/linux-unix-formatting-dates-for-display/SyntaxThe syntax is date +FORMATOR date +"%FORMAT"OR date +"%FORMAT%FORMAT"OR date +"%FORMAT-%FORMAT"Task: Display date in mm-dd-yy formatOpen a terminal and type the following date command: $ dat 阅读全文

posted @ 2013-12-05 21:08 Shawn X.Y. Bai 阅读(299) 评论(0) 推荐(0)

[quote] standard Input and Output Redirection

摘要: From http://sc.tamu.edu/help/general/unix/redirection.htmlStandard Input and Output RedirectionThe shell and many UNIX commands take their input from standard input (stdin), write output to standard output (stdout), and write error output to standard error (stderr). By default, standard input is con 阅读全文

posted @ 2013-12-05 21:05 Shawn X.Y. Bai 阅读(367) 评论(0) 推荐(0)

导航