System Information

Hack The Box Academy Module: Linux Fundamentals

The section System Information belongs to Linux Fundamentals module.

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

First ssh to the spawned IP address with the following command:

ssh htb-student@<ip-address> # Use password: HTB_@cademy_stdnt!

You should now be at the target's terminal prompt.

Find out the machine hardware name and submit it as the answer.

Type:

uname -m

And submit the output as answer.

What is the path to htb-student's home directory?

Type the following command in the terminal (you can also use pwd if you did not yet changed the directory):

echo $HOME

And submit the output as answer.

What is the path to the htb-student's mail?

Type the following command in the terminal:

echo $MAIL

Which shell is specified for the htb-student user?

Type the following command to get the shell path:

echo $SHELL

Which kernel release is installed on the system? (Format: 1.22.3)

Use the uname command to get the kernel release:

uname -r

What is the name of the network interface that MTU is set to 1500?

Use the ifconfig command for this:

ifconfig

then manually search for the line containing mtu 1500 or use the following command:

ifconfig | grep "mtu 1500"

The name of the interface is in the beginning of the line.

Stuck? See detailed solution video:

Join HTB Academy (Get 20 Cubes Free)

Join Now