From 3057836bc026d1dd50465cac95ff2850c6c6bd2c Mon Sep 17 00:00:00 2001
From: tusharch <tusharch@umich.edu>
Date: Wed, 24 Oct 2018 23:19:08 -0400
Subject: [PATCH] ls file added

---
 _commands/basics/ls.md | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 _commands/basics/ls.md

diff --git a/_commands/basics/ls.md b/_commands/basics/ls.md
new file mode 100644
index 000000000..30024a560
--- /dev/null
+++ b/_commands/basics/ls.md
@@ -0,0 +1,38 @@
+---
+---
+
+ls
+-------
+
+`ls`  ls command lists the contents of, and optional information about, directories and files. 
+With no options, ls lists the files contained in the current directory, sorting them
+alphabetically.
+
+~~~ bash
+$ ls [option ...] [file]...
+ls [option ...] [file]...
+~~~
+ 
+ <!--more-->
+ 
+### Useful Options / Examples
+ 
+### `ls -a`
+ 
+Shows the hidden files in the directory as well.
+ 
+~~~ bash
+ $ ls -a
+ a.txt b.txt c.txt
+~~~
+ 
+### `ls -l`
+ 
+ Shows file or directory, size, modified date and time,  
+ file or folder name and owner of file and its permission.
+
+~~~ bash
+ $ ls - l
+ $ -rw-r--r--. 1 <directory>   683 Aug 19 09:59 a.txt
+ $ -rw-------. 1 <directory>   1586 Jul 31 02:17 b.txt
+~~~