Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Basic 6


ghost's Avatar
0 0

Hello all,

I'm having trouble with this. Whilst not an expert with Unix I do know some basic shell commands and even after reading some of the articles I still don't get it.

If I were sat in front of a BASH shell, I would first do "ls" and navigate to find the logs.txt file. I would then use chmod a+x to change the file permissions. Then I would rm it. However, I don't understand this challenge because it seems as though you need to enter three commands to complete it and then press the submit button so how do you find the files you need to rm? I looked at the html source but can't find any hints there. I hope it's not a case of randomly entering directory paths…


ghost's Avatar
0 0

i wonder where the logs would be stored


ghost's Avatar
0 0

What I don't understand is this:

  1. Am I restricted to just the chmod and rm commands?
  2. Do I need to enter text in all three boxes before I hit the submit button?

And…

  1. If so, how do I find out the name/location of the other file I need to delete?

ghost's Avatar
0 0

ok the answers to ur questions are

  1. Am I restricted to just the chmod and rm commands?: that is how u beat the challenge
  2. Do I need to enter text in all three boxes before I hit the submit button? :yes you do and dont forget to put $ and a space before the commands

And…

  1. If so, how do I find out the name/location of the other file I need to delete? :think about where the logs would be stored

hope that helps if u need more help pm me


ghost's Avatar
0 0

I have just beat this task.

To anybody reading this topic looking for answers: I neglected to do a really very obvious thing and was banging my head against a brick wall in the process. Use ALL the tools at your disposal is all I can say and remember to use some of the techniques from previous challenges as well :D


ghost's Avatar
0 0

most of the mission that i have beaten on this site that requires logs, you just have to guess where the logs would be (the most obvious place possible).


ghost's Avatar
0 0

I have the logs .. and prolly everything right as I do in real linux shells… but I dunno why it isnt working ,,, Can anyone check my commands ??


kaden's Avatar
Out-Of-Idea's Man!
20 0

you can pm me. i had some trouble to. :D


ghost's Avatar
0 0

@ dontspitonme, no , normally logs would be in /var/logs , this challenge is just WEIRD but yeah you can pm me with what you have and ill help you