Member-only story
Linux Strength Training Tryhackme Writeup
24 min readAug 28, 2024
https://tryhackme.com/room/linuxstrengthtraining
Room link: https://tryhackme.com/room/malstrings
Note: This room is free
Task 2: Finding your way around linux — overview
As a security researcher you will often be required to find specific files/folders on a system based on various conditions ranging from, but not limited to the following:
- filename
- size
- user/group
- date modified
- date accessed
- Its keyword contents
Therefore, we can do this using the following syntax:-
Find files based on filename
find [directory path] -type f -name [filename]
find /home/Andy -type f -name sales.txt
Find Directory based on directory name
find [directory path] -type d -name [filename]
find /home/Andy -type d -name pictures
Find files based on size
find [directory path] -type f -size [size]
find /home/Andy -type f -size 10c(c…