From 54bd1f5ce55994a19fa3b40676425c564644c518 Mon Sep 17 00:00:00 2001 From: Dylan Rees Date: Mon, 28 Dec 2015 22:47:17 -0500 Subject: [PATCH 1/3] Create file.md --- pages/common/file.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/file.md diff --git a/pages/common/file.md b/pages/common/file.md new file mode 100644 index 0000000000..be33dfd15f --- /dev/null +++ b/pages/common/file.md @@ -0,0 +1,16 @@ +# file + +> Determine file type + +- Give a description of the type of the specified file + +`file {{readme}}` +`file {{python3.so.1}}` + +- Look inside a zipped file and determine the file type(s) inside + +`file -z foo.zip` + +- Display a quick guide to various flags that can be used + +`file --help` From 59c3491787483c40bd20af5a6cb4608dbdecce1a Mon Sep 17 00:00:00 2001 From: Dylan Rees Date: Tue, 29 Dec 2015 00:33:04 -0500 Subject: [PATCH 2/3] Update file.md --- pages/common/file.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/common/file.md b/pages/common/file.md index be33dfd15f..4af468d2a2 100644 --- a/pages/common/file.md +++ b/pages/common/file.md @@ -2,14 +2,13 @@ > Determine file type -- Give a description of the type of the specified file +- Give a description of the type of the specified file. Works fine for files with no file extension. -`file {{readme}}` -`file {{python3.so.1}}` +`file {{filename}}` - Look inside a zipped file and determine the file type(s) inside -`file -z foo.zip` +`file -z {{foo.zip}}` - Display a quick guide to various flags that can be used From 5d62c6374bad858bac3501d943f109839af78c91 Mon Sep 17 00:00:00 2001 From: Dylan Rees Date: Tue, 29 Dec 2015 12:35:28 -0500 Subject: [PATCH 3/3] Update file.md --- pages/common/file.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pages/common/file.md b/pages/common/file.md index 4af468d2a2..fe096da381 100644 --- a/pages/common/file.md +++ b/pages/common/file.md @@ -9,7 +9,3 @@ - Look inside a zipped file and determine the file type(s) inside `file -z {{foo.zip}}` - -- Display a quick guide to various flags that can be used - -`file --help`