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.

For those who have problems with Basic 6


ghost's Avatar
0 0

Hi guys, i'm really really tired of trying multiple answers to basic 6, i know my commands are right but it's just the syntax maybe or some punctuation error, can i pm somebody all my guesses in order he/she could tell me what am i doing wrong??

Thanks!

[EDIT] Oh i passed this challenge, and it's really frustrating to see that message every time i hit submit… so, without posting any spoiler, to all of you who have the same problem as i had, just a few tips:

-Don't forget the $. -Put a SPACE after the $ symbol. -Don't put ./ nor / before the directory name. -Don't put " ".

I hope this will end with the problems of this mission.

SiPOX


ghost's Avatar
0 0

Thank you very much! This helped a lot for me. I got pretty frustrated when I knew I had the right linux syntax. Turns out it was the space that I needed between $ and the commands!:happy:


ghost's Avatar
0 0

whew so that that's it. This doesn't really seem realistic, though, does it? In my experiences with linux/unix, I've never had to put the $ in, because that's part of the bash. Is there ever a time when I have to do this?


mickimaus's Avatar
Member
0 0

don't know why I should use a $, just because of the comment in the text… I would concat it with && or use something like ls *.php | xargs chmod … && rm … …. but I know what pain it is to parse strings… sorry, but if this challange has not the goal to teach me how to bypass php forms I have no time to figure out what pattern the linux command has to be formatted to…

btw. does the $ stand for a parameter the bash/sh gets passed? from what I read here it does not really matter?


spyware's Avatar
Banned
0 0

I believe the dollar sign indicates a new line full of commands waiting to be executed. In most linux builds this dollar sign is there always, in this challenge you have to put it there.

The space however, is technically incorrect. At least, I think it is. I am merely a simple Windows user. I cannot be too sure about the exact technical command-line implementations in the various linux shells.


mickimaus's Avatar
Member
0 0

No, the space is technically correct. Most linux systems I came accross hab something like user@hostname:/path/to$_ user@hostname:/path/to#_

where _ represents the space and # represets root shell

if you write interactive scripts with "expect", you have even to expect the space in your expecting pattern. But on normal shell interaction, you don't have to write the space. Its already at the prompt to separete your command from the bash prompt.

anyone is welcome to correct me if I am wrong.