Skip to content

Commit

Permalink
ubuntu note update
Browse files Browse the repository at this point in the history
- find file by filename
  • Loading branch information
dev-graduan committed May 30, 2019
1 parent f5da59e commit fc098b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Ubuntu/cheat_sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ Change to root when login as any user with root privileged

`du -hs * | sort -rh | head -5`

## Find file by filename

`find <location> -iname "filename"`

Leave empty if want to search current_directory recursively

eg:

`find -iname "photo.jpg"`

## Delete oversize directory

Delete huge file count inside folder
Expand Down

0 comments on commit fc098b9

Please sign in to comment.