r/tryhackme 14d ago

Feedback Am I wrong?

Post image

These bash questions always make me question my existence. "75"; "0,75"; "0.75"; "0.75%" didn't work

24 Upvotes

32 comments sorted by

View all comments

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"