Home Linux Modules
Post
Cancel

Linux Modules

It’s a write-up about the room : Try Hack Me - Room : Linux Modules

Task 1 : Let’s Introduce

In this room we will be working with the most used commands of linux terminal. Such as :

  • du
  • grep, egrep, fgrep
  • tr
  • awk
  • sed
  • xargs
  • curl
  • wget
  • xxd
  • and some more of similar commands

Task 2 : du

About du Command

FlagDescription
-aWill list files as well with the folder.
-hWill list the file sizes in human readable format(B,MB,KB,GB)
-cUsing this flag will print the total size at the end. Jic you want to find the size of directory you were enumerating
-d Flag to specify the depth-ness of a directory you want to view the results for (eg. -d 2)
–timeTo get the results with time stamp of last modified.
This post is licensed under CC BY 4.0 by the author.