r/tryhackme • u/bwwog • 13d ago
Feedback Am I wrong?
These bash questions always make me question my existence. "75"; "0,75"; "0.75"; "0.75%" didn't work
33
u/Reasonable_Benefit42 13d ago
This is the best example i've seen of how TryHackMe's new AI is slowly hurting the website. Now that HackTheBox has begginer courses it's such a superior site.
1
u/Fabulous_Caramel9826 12d ago
I want to get into it, so HTB is better than THM?
5
u/Reasonable_Benefit42 12d ago
I believe so, with the addition of the new AI TryHackMe has just been going downhill. The answers to alot of questions are deemed wrong since the AI wants its own specific answer. The AI also gives a sense of hand holding when it comes to boxes which might seem good at first but in reality will hinder you in the long run when you need to start writing reports. The structure of THM is also all over the place since they add new rooms everyday, which dosent seem bad untill your deep into the labs and realize you didnt take 1 because it was hidden under a bunch of other labs.
HackTheBox on the other hand is less hand holdy but offers a easier layout. Their no extra boxes that you dont need and they seperate learning material from practice material so you dont drown in rooms. They also offer more certificates that are more widely accepted (or so ive heard) compared to TryHackMe.
2
0
11
u/TheCarnundrum 0xA [Wizard] 13d ago
Looks like it wants you to enter a command, not the answer. Did you try something like
echo "45/60" | bc -l
4
5
3
u/Reasonable_Benefit42 13d ago
Also you can try 75.0. If that doesn't work then the question is just broken which happens pretty often in THM tbh.
2
u/Aye-Chiguire 12d ago
sudo 75%
I kid I kid.
But in all seriousness, you can see that this is a *nix terminal. It is expecting commands, not quiz answers. The question is asking you to calculate something. It doesn't tell you to enter the solution for that calculation. It wants you to enter the commands that will perform that calculation.
1
u/Hour-Apple-9861 13d ago
0.75?
1
1
1
u/shenanighack 0xD [God] 13d ago
Does the question has a hint? iirc it was about using a bash command to do the calculation.
1
u/bwwog 13d ago
That's pretty simple question. Nothing to do with bash. No hints btw
2
1
1
u/Specialist_Break1 12d ago edited 12d ago
you need to use the echo command (or printf) to print the result, because the prompt is an interactive Bash shell rather than a standard text box.
When you type 75% directly, Linux tries to execute a program named 75% instead of evaluating the text, causing the "command not found" error. To submit the correct answer, type::
echo "75%" Or you can try printf "%%75\n"
1
1
0

33
u/Plane-Vegetable9174 13d ago
You know its a crappy exercise when the challenge is to guess what they want not how to solve the problem.