Electronics Programming
Linux Posts, Programming Posts, Atmega Posts and others.
Search This Blog
Tuesday, February 10, 2009
Display file without empty lines and comments
[This will display file contents, but dont displays the empty files and lines starting with # i.e comments]
grep -v '^#' /root/Desktop/chk_services.sh | grep -v '^$
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment