Linux Shells | TryHackMe — Writeup

Jynxx
1 min readNov 4, 2024

--

Task 1

Who is the facilitator between the user and the OS?

Shell

Task 2

What is the default shell in most Linux distributions?

Bash

.

Which command utility is used to list down the contents of a directory?

ls

.

Which command utility can help you search for anything in a file?

grep

Task 3

Which shell comes with syntax highlighting as an out-of-the-box feature?

Fish

.

Which shell does not have auto spell correction?

Bash

.

Which command displays all the previously executed commands of the current session?

history

Task 4

What is the shebang used in a Bash script?

#!/bin/bash

.

Which command gives executable permissions to a script?

chmod +x

.

Which scripting functionality helps us configure iterative tasks?

loops

Task 5

What would be the correct PIN to authenticate in the locker script?

7385

Task 6

Which file has the keyword?

authentication.log

.

Where is the cat sleeping?

under the table

--

--

No responses yet