Hey, yes there is a space. I edit it later, when I'm back @ home. Thanks guys. I will report in some hours.
Good evening, now I edittoCode:
in the first line of the wkg.sh file. And nothing is different.:(Code:
I hope that I'm right to edit nothing in any file right?
And I boot bt4 everytime over my usb-stick is no problem too?
Sorry for all the questions in this thread.:o But I don't know whats wrong. I only load the arichve -> unzip -> put the wk folder on my stick -> put the folder on my bt4 desktop
very stranger ...
I downloaded the WK.tar.gz
Into /root folder , I decompress archive: tar zxvf WK.tar.gz
I edited wkg.sh and it really had a space ...
but i don't make any change ...
I only executed
and work ...
are you testing it in BackTrack 4?
:D Yes, I'm using the Backtrack4 pre final .iso
It's not installed, I boot over my usb-stick. I unzip the archive under windows7 with winzip without any errors.
the WK folder must be in /root
enter into a folder and
# bash wkg.sh
you mentioned the man page of dos2unix ?
So .. when he decompress archive with winrar the format it was on dos format ?
I not understand very well.
But the problem is because are he running script on vfat filesystem ?
Thanks in advanced
That was my first thought about the problem. But the OP did not say anything that would actually have indicated this. But since he did mention that he unpacked the archive using windows by guess would be that some how the above happened. As such dos2unix can convert the text file so that it will work with *nix based systems.
Again check the man page for more info on dos2unix.
Now granted this may not help things at all but based on the above posted info, I believe it will resolve the problem.
If it does not then one could take the script and manually delete the carat and m manually ( by hand) with vim.
Hope that helps.
Now I understand the point :)
I agree with you
we can check thus:
cat -vet wkg.sh