页面

2012-03-04

bash output redirection

here's a good lesson on bash output redirection:
all about redirection

if one want to cause output redirection in a script, the script had better start as:
#!/bin/bash

exec &> ./script.log

没有评论: