Cygwin commands don't work -


i'm sorry question seems rather vague entire problem i'm facing. tried installing rpm package on cygwin after downloading website same error

-bash: rpm: command not found 

and have reinstalled twice, same problem, , it's not that, can't use simple commands ls. if write ls no output. screen looks like.

user@user-pc ~ $ rpm -ivh avr-binutils-2.17tinyos-3.cygwin.i386.rpm -bash: rpm: command not found  user@user-pc ~ $ locate rpm | grep bin  user@user-pc ~ $   user@user-pc ~ $ ls  user@user-pc ~ $ 

what do fix this?

first, locate not auto-update itself; must run updatedb periodically current list of files. optimal speed , usability, add --prunepaths , --prunefs switches.

second, try echo $path see current path, , call ls fully-qualified pathname: /bin/ls -l

i suspect ls set invalid alias or internal function (bad command parameters). check contents of ~/.bash_profile, ~/.bashrc, , ~/.profile .


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -