Linux Fundamentals Part 1

https://tryhackme.com/room/linux1

Task 1 Intro

Read the above.

Deploy the machine attached to this task!

Task 2 Methodology

Read the above.

Task 3 [Section 2: Running Commands] - Basic Command Execution

Type echo hello, and press enter and you'll see your input echoed back at you.

Read the above

Task 4 [Section 2: Running Commands] - Manual Pages and Flags

man <command>

How would you output hello without a newline

Task 5 [Section 3: Basic File Operations] - ls

What flag outputs all entries

What flag outputs things in a "long list" format

Task 6 [Section 3: Basic File Operations] - cat

What flag numbers all output lines?

Task 7 [Section 3: Basic File Operations] - touch

Given the command touch b.txt, b.txt would be created.

Task 8 [Section 3: Basic File Operations] - Running A Binary

How would you run a binary called hello using the directory shortcut . ?

How would you run a binary called hello in your home directory using the shortcut ~ ?

How would you run a binary called hello in the previous directory using the shortcut .. ?

Task 9 Binary - Shiba1

touch noot.txt
./shiba1

What's the password for shiba2

Task 10 su

For example if you wanted to switch to shiba2 while you're the user shiba1, you would type su shiba2 . You would then be prompted for a password and if you entered shiba2's password you would then become shiba2

Note: Typing su on its own is equivalent to typing su root.

How do you specify which shell is used when you login?

Task 11 Linux Fundamentals 2

Join the Linux Fundamentals 2 room, and continue your learning journey: https://tryhackme.com/room/linux2

Last updated

Was this helpful?