From e557c263777191d9da7efbf678fbfde4ddd245ad Mon Sep 17 00:00:00 2001 From: Matthieu Keller Date: Mon, 2 Sep 2013 16:08:09 +0200 Subject: [PATCH] Create head --- cheatsheets/head | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cheatsheets/head diff --git a/cheatsheets/head b/cheatsheets/head new file mode 100644 index 0000000..5380daa --- /dev/null +++ b/cheatsheets/head @@ -0,0 +1,8 @@ +# To show the 10 first line of file +head file + +# To show the n first line of file +head -l n file + +# To show the n first bytes of file +head -b n file