How to Bash? Help, Cygwin (SOLVED)

A place where you can chat about anything that isn't to do with games!
Post Reply
User avatar
Ed Oscuro
Posts: 18654
Joined: Thu Dec 08, 2005 4:13 pm
Location: uoıʇɐɹnƃıɟuoɔ ɯǝʇsʎs

How to Bash? Help, Cygwin (SOLVED)

Post by Ed Oscuro »

Stinking Cygwin. Did the regular (smaller) 'net install of Cygwin. I have a program (rarcrack, Win32 ver., fails hardcore in Windows command line) that I need (well, actually just "want," but it would be good certainly) to run in it. Infos:

-I have successfully changed directory to the executable's location (i.e. /cygdrive/c/Documents\ and\ Settings/.../rarcrack-0.2/)
-I believe I have input the string correctly, which would be like so:
$ rarcrack FILE.EXT --type TYPE

And yet it's kicking out "command not found" - what...da fuck...DID I DO RONG?! /arnold
Last edited by Ed Oscuro on Fri May 29, 2009 6:46 am, edited 1 time in total.
User avatar
croikle
Posts: 426
Joined: Thu Aug 07, 2008 12:45 am

Post by croikle »

Maybe ./rarcrack ? By default bash won't look in the current directory for executables, but giving it the path will run it.
User avatar
Ed Oscuro
Posts: 18654
Joined: Thu Dec 08, 2005 4:13 pm
Location: uoıʇɐɹnƃıɟuoɔ ɯǝʇsʎs

Post by Ed Oscuro »

That done it!

I actually ran across that tip earlier, but apparently doing two things at once is too much for my brain to process (then again, anybody who has looked at my hiscores can confirm this :lol: ).

Edit: lol this is super slow though. I'll have to play around with the number of threads or sumfin'.
User avatar
null1024
Posts: 3823
Joined: Sat Dec 15, 2007 8:52 pm
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Contact:

Post by null1024 »

If you don't want to have to type the ./ part, add the folder with the program to your path enviroment variable [in Bash].
Come check out my website, I guess. Random stuff I've worked on over the last two decades.
Post Reply