Skip to content

Commit

Permalink
Merge pull request #206 from RCReddyN/markdown-edit
Browse files Browse the repository at this point in the history
made changes to the ls command
  • Loading branch information
arshadkazmi42 authored Jul 7, 2022
2 parents ac40637 + 506d53c commit 3f9bfe7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion commands/linux/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ The `ls` command is used to list files or directories in Linux and other Unix-ba

### Example

- List all the contents of the directory

`ls`

- List all the files of the directory with size details in `Megabytes`

`ls -l --block-size=M`

### Demo

<img src="../../gifs/ls.gif" alt="Linux ls"/>
<img src="../../gifs/ls.gif" alt="Linux ls"/>

0 comments on commit 3f9bfe7

Please sign in to comment.