Labels

Linux (46) network (13) troubleshoot (13) command (10) virtualization (10) ubuntu (9) Windows (8) cisco (7) security (7) router (6) Tools (5) software (5) vmware (5) ospf (3) eigrp (1) zimbra (1)

2011年5月16日

Delete comment using grep

grep -v ^\# myfile.conf | grep . > nocommentfile.conf

沒有留言:

張貼留言