TryHackMe: Linux Fundamentals Part 3 Walkthrough

Understand Linux advanced file operators, users & groups (permissions) and get an introduction to shell scripting; essential skills to have in cyber security.
You can access the room through this link: https://tryhackme.com/room/linux3

Hi everyone, I am Mrinal Prakash aka EMPHAY and today I would take you to the walkthrough of the room “Linux Fundamentals Part 3” on TryHackme which is a beginner friendly room and the third and final part of the linux fundamental series.

Lets go ahead and deploy the machine and then we will see out first task what does it say.

This room is the third part in the Linux Fundamental rooms designed to teach you about various Linux concepts, and in-built tools

TASK 1: Intro

  1. Read the above.
    No Answers needed
  2. Deploy the machine attached to this task!
    No Answers needed

TASK 2: [Section 5: Advanced File Operations] — cp

  1. Read the above.
    No Answers needed

TASK 3: [Section 5: Advanced file Operations] — cd && mkdir

  1. Using relative paths, how would you cd to your home directory.
    cd ~
  2. Using absolute paths how would you make a directory called test in /tmp
    mkdir /tmp/test

TASK 4: [Section 5: Advanced File Operations] ln

  1. How would I link /home/test/testfile to /tmp/test
    ln /home/test/testfile /tmp/test

TASK 5: [Section 5 — Advanced File Operations]: find

  1. How do you find files that have specific permissions?
    -perm
  2. How would you find all the files in /home
    find /home
  3. How would you find all the files owned by paradox on the whole system
    find / -user paradox

TASK 6: [Section 5: Advanced File Operations] — grep

  1. What flag lists line numbers for every string found?
    -n
  2. How would I search for the string boop in the file aaaa in the directory /tmp
    grep boop /tmp/aaaa

TASK 7: Binary — Shiba3

  1. What is shiba4’s password
    test1234

TASK 8: [Section 6: Miscellaneous]: Intro

  1. Read the above
    No Answers needed

TASK 9: [Section 6: Miscellaneous]: sudo

  1. How do you specify which user you want to run a command as.
    -u
  2. How would I run whoami as user jen?
    sudo -u jen whoami
  3. How do you list your current sudo privileges(what commands you can run, who you can run them as etc.)
    -l

TASK 10: [Section 6: Miscellaneous]: Adding users and groups

  1. How would I add the user test to the group test
    sudo usermod -a -G test test

TASK 11: [Section 6: Miscellaneous]: nano

  1. Read the above
    No Answers needed

TASK 12: [Section 6: Miscellaneous]: Basic shell scripting

  1. Read the above
    No Answers needed

TASK 13: [Section 6: Miscellaneous]: Important Files and Directories

  1. Read the above
    No Answers needed

TASK 14: [Section 6 — Miscellaneous]: Installing packages(apt)

  1. Read the above
    No Answers needed

TASK 15: [Section 6: Miscellaneous]: Processes

  1. Read the above
    No Answers needed

Hope you all enjoyed going through this walkthrough. If you like my article clap for me and do follow me as well. Till then goodbye and Happy Hacking.

Hacker || Student || CTF Player || Coder || Editor at A&M Publications

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store