Linux Fundamentals Part 1
https://tryhackme.com/room/linux1
Task 1 Intro
Read the above.
No answer needed
Deploy the machine attached to this task!
No answer needed
Task 2 Methodology
Read the above.
No answer needed
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
No answer needed
Task 4 [Section 2: Running Commands] - Manual Pages and Flags
man <command>
How would you output hello without a newline
echo -n hello
Task 5 [Section 3: Basic File Operations] - ls
What flag outputs all entries
-a
What flag outputs things in a "long list" format
-l
Task 6 [Section 3: Basic File Operations] - cat
What flag numbers all output lines?
-n
Task 7 [Section 3: Basic File Operations] - touch
Given the command touch b.txt
, b.txt would be created.
No answer needed
Task 8 [Section 3: Basic File Operations] - Running A Binary
How would you run a binary called hello using the directory shortcut . ?
./hello
How would you run a binary called hello in your home directory using the shortcut ~ ?
~/hello
How would you run a binary called hello in the previous directory using the shortcut .. ?
../hello
Task 9 Binary - Shiba1
What's the password for shiba2
pinguftw
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?
-s
Task 11 Linux Fundamentals 2
No answer needed
Last updated
Was this helpful?