TryHackMe: Linux Fundamentals Part 2 Walkthrough

Suraj Dhamak
2 min readApr 1, 2021

--

Hello everyone,

I welcome you all to the walkthrough for the Linux Fundamentals Part 2 Lab at TryHackMe. You can access this lab through the link given below:

https://tryhackme.com/room/linux2

Task 1: Intro

  1. Read the above
    No answer needed

Task 2: SSH-Intro

  1. Read the above
    No answer needed

Task 3: Putty and SSH

  1. SSH into server
    No answer needed

Task 4: [Section 4: Linux Operators]: “&&”

  1. Read the above
    No answer needed

Task 5: [Section 4: Linux Operators]: “&”

  1. Read the above
    No answer needed

Task 6: [Section 4: Linux Operators]: “$”

  1. How would you set nootnoot equal to 1111
    export nootnoot=1111
  2. What is the value of the home environment variable
    /home/shiba2

Task 7:[Section 4: Linux Operators]: “|”

  1. Read the above
    No answer needed

Task 8: [Section 4: Linux Operators] — “;”

  1. Read the above
    No answer needed

Task 9: [Section 4: Linux Operators]: “>”

  1. How would you output twenty to a file called test
    echo twenty > test

Task 10: [Section 4: Linux Operators]: “>>”

  1. Read the above
    No answer needed

Task 11: Binary — shiba2

  1. What is shiba3’s password?
    happynootnoises

Task 12: [Section 5 — Advanced File Operations]: Intro

  1. Read the above
    No answer needed

Task 13 [Section 5 — Advanced File Operators]: A bit of background.

  1. Read the above
    No answer needed

Task 14: [Section 5: Advanced File Operations]: chown

  1. How would you change the owner of file to paradox
    chown paradox file
  2. What about the owner and the group of file to paradox
    chown paradox:paradox file
  3. What flag allows you to operate on every file in the directory at once?
    -R

Task 15: [Section 5: Advanced File Operations]: chmod

  1. What permissions mean the user can read the file, the group can read and write to the file, and no one else can read, write or execute the file?
    460
  2. What permissions mean the user can read, write, and execute the file, the group can read, write, and execute the file, and everyone else can read, write, and execute the file.
    777

Task 16: [Section 5: Advanced File Operations]: rm

  1. What flag deletes every file in a directory
    -r
  2. How do you suppress all warning prompts
    -f

Task 17: [Section 5: Advanced File Operations]: mv

  1. How would you move file to /tmp
    mv file /tmp

Task 18: Linux Fundamentals 3

Join the Linux Fundamentals 3 room.

This was all from my side regarding this room. If you face any issues while completing this room feel free to reach out on LinkedIn or Twitter. If you enjoyed reading this article then you can follow me on medium for further updates. Your suggestions are always welcomed in the comment section.

Happy Hacking!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Suraj Dhamak
Suraj Dhamak

Written by Suraj Dhamak

IT Geek | Cyber Security | Data Science

No responses yet

Write a response