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

o.o

gah, i hate this one…any tips? I read the UNIX commands, they made little sense to me


ghost's Avatar
0 0

play around with chmod, rm, rm <— commands


ghost's Avatar
0 0
  1. chmod a+x <file> Change permission of file to all + excecute.

whats the a+x part?


ghost's Avatar
0 0

a + x means a=all and x=execute


ghost's Avatar
0 0

ok then how am I supposed to get this "other" files name @_@


ghost's Avatar
0 0

ok then how am I supposed to get this "other" files name @_@ to get the file names look in the dir… then use your unix commands….easy as pie


ghost's Avatar
0 0

this sounds like i need more than 3 lines of code @_@


ghost's Avatar
0 0

hmmmm i have the following commads:

$chmod $rm $rm

im convinced the rest of the commands that i didnt post are correct yet its wrong :S is there any 1 i can pm the full commands to for a lil help?


SySTeM's Avatar
-=[TheOutlaw]=-
20 0

PM you the full commands for "a lil help", PMing you the full commands would be a spoiler not "a lil help"


ghost's Avatar
0 0

ok finished it now,

system….i was goin to send some 1 the full command that i had, not just chmod or rm. i wasnt asking to be sent the full command, sry if this wasnt clear


ghost's Avatar
0 0

well this has prob been asked so many times.. im 100% sure (with me being a idiot its not much to work on :P) that this is rite.. is there someone i can pm the code and to find out what i am doing wrong?


SySTeM's Avatar
-=[TheOutlaw]=-
20 0

PM me if you want


ghost's Avatar
0 0

Okay, everything i've done so far has been straigt forward until i hit a brick wall! This is basicly down to my patience, do i need to write the whole path after the command or just the command and the file? Or just part of the path and the command? Am i right that you put a space between the command and the file? Am i right in putting a space between chmod and a+x? Am i right in putting a "$" before all the commands?

If you answer all of them questions and i'm still stuck i'm grabbing an uzi and climbing a clock tower.


ghost's Avatar
0 0

i already finished this one but what i donot understand is where do you get the track_logs.php all what i did is that i copied it from system_meltdown tutorial any one can explain , and some explaining on chmod would be great

thx anyway


ghost's Avatar
0 0

I solved this.

But I think there is a problem with the senario. I cannot understand how you can delete by just doing and all + execute to it. It should be all+write in order to have delete access to the file.


ghost's Avatar
0 0

make sure you have your spaces and the right directory


ghost's Avatar
0 0

No. I really solved the Basic 6.

I am talking about something else now. I say that this challenge is wrong. The chmod a+x should not let you use rm to delete the files. There no way in a file that you don't have write access to delete it. So the chmod a+x should made no change, and you should not have been let delete the file.


ghost's Avatar
0 0

Hello everyone. I have problems with basic 6 too.I think i have an elementary knowledge of unix shell and commands however i cannot pass this challenge…I have located the two files (logs.txt and _.* ) but when i submit the commands i keep getting redirected to invalid command page. Is there anyone to pm to ,my commands and maybe give me a clue? Thank you and appologies for my english


ghost's Avatar
0 0

wow, i just got it myself. amazing how hard you think about something that's so simple…. i was trying to use full length dir. paths in the commands :o… make sure u use the a space between the $ [cmd], that's what was killing me for so long. everthing that has been written in the articles basically tell you how to do this…. suggestion i have yet to see. use your knowledge from previous Basic tasks, this will help out too. hope that's not a spoiler, i don't think it is.


interslice's Avatar
Member
0 0

all the articles say i hav to chmod to a+x how do i write this? i hav some ideas

  1. chmod a+x file

  2. chmod file a+x

plz tell me how to write it.


ghost's Avatar
0 0

try em both, but dont forget to put in the directory and you need a $ sign, in front of the commands (leave a space though)


interslice's Avatar
Member
0 0

wat directory?


interslice's Avatar
Member
0 0

wat directory?


ghost's Avatar
0 0

the one where the file you have to affect is, its whole path. you can find that you self


ghost's Avatar
0 0

ya i dont much like this challenge….. chmod 777 should work but doesn't plus if your root shouldnt the started be '#'?


ghost's Avatar
0 0

no chmod 777 shouldnt work this is linux thing about it ,$ chmod a+x


ghost's Avatar
0 0

LOL… A bit of advice, make sure your spacing is correct, it tookme half an hour to complete because I had 2 spaces between the command and filename.


ghost's Avatar
0 0

sittingbull wrote: …. make sure u use the a space between the $ [cmd], that's what was killing me for so long.

Heii sittingbul…. thnx!!!!

I solve it but …. the challenge is really &^*%%^%$@###@!!

there is no real unix command interpreter… so every space it counts!! even between the commands…. not even 2 spaces!!! ex: $ chmod a+x XXX/xxx.log is correct… but $ chmod _ _ a+x XXX/xxx.log is not!!! or $ chmod 777 XXX/xxx.log is NOT!!! …. … nice command interpreter…


ghost's Avatar
0 0

I think tangelis1 is correct. In real life we should set the permission to +w in order to be able to delete the file


ghost's Avatar
0 0

Is the directory coughrecordscough?