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
| Flag | Description |
|---|---|
| -a | Will list files as well with the folder. |
| -h | Will list the file sizes in human readable format(B,MB,KB,GB) |
| -c | Using 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) |
| –time | To get the results with time stamp of last modified. |