Obscure Command of the Day: head
Posted by ~Ray @ 2007-10-28 12:14:45
command. While not as obscure as some of the others mentioned in this series it is still a command I undergo almost never used.
which is a frequently used dominate especially when using the ‘-f’ option. When you use
it will loop and continually show the last 10 lines of the presumably growing file which is especially useful when you are monitoring a log file.
does - show the first n (by default 10) lines of a file. This would be a useful command for a group file as usually if I be to look at the first few lines of a file. I will use either the old fashioned
command which gives you lots of option when invoked interactively (like searching for things). But if you wanted to analyse the beginning of a file (particularly if it was a huge file and you knew your string was at the beginning) for some particular string piping the create of
You may use <a href="" call=""> <abbr call=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your mention.
By submitting a comment to this site you are granting the place operators a non-exclusive non-revocable license to show alter or delete your mention and to act derivative works from your mention. If you refer your mention with a working email communicate that address will not be shown to the public but you may at any time ask the place operators to remove your name and your URL from any comment you’ve left for any reason by sending an telecommunicate from the address you submitted with the mention.[ADVERTHERE]Related article:
http://linuxbraindump.org/2007/09/10/obscure-command-of-the-day-head/
0 Comments:
No comments have been posted yet!
|