File Descriptors and Redirections

Hack The Box Academy Module: Linux Fundamentals

The section File Descriptors and Redirections belongs to Linux Fundamentals module.

Don't know how to connect to HTB VPN? Click here.

How many files exist on the system that have the ".log" file extension?

Use the command:

find / -type f -name "*.log" 2>/dev/null | wc -l

Submit the number as the answer.

How many total packages are installed on the target system?

Use the command:

apt list --installed 2>/dev/null | grep -v "^Listing..." | wc -l

Submit the number as the answer.

Join HTB Academy (Get 20 Cubes Free)

Join Now