1
I'm trying to delete the file ~$bgka.mod
from my current directory in Cygwin shell. When I list all my files in that directory it shows up:
$ ls
~$bgka.mod CaBK.mod hcdist.hoc mcdist.hoc pbc.hoc
500net ccanl.mod hcell.bcell mcell.bcell pgc.hoc
50knet.hoc gcdist.hoc hcell.gcell mcell.gcell phc.hoc
bcdist.hoc gcell.bcell hcell.hcell mcell.hcell pmc.hoc
bcell.bcell gcell.gcell hcell.mcell mcell.mcell ppsyn.mod
bcell.gcell gcell.hcell hyperde3.mod mod_func.c README.html
bcell.hcell gcell.mcell ichan2.mod mosinit.hoc run50knet.bash
bcell.mcell Gfluct2.mod inhsyn.mod nca.mod screenshot.jpg
bgka.mod gskch.mod LcaMig.mod parameters.dat tca.mod
when I try rm ~$bgka.mod
I get the following error:
$ rm ~$bgka.mod
rm: cannot remove ‘~.mod’: No such file or directory
Also, I have tried deleting the file from Windows Explorer and Windows cmd.exe
but it doesn't show up in either of these windows.
How can I delete it?
Do you see any of your Cygwin files in Windows (Explorer or
cmd
)? Try looking inC:\cygwin\home\kfolw
(if that's your actual login name). The top-level directory might be something likeC:\cygwin64
instead ofC:\cygwin
. – G-Man Says 'Reinstate Monica' – 2015-02-19T22:36:08.193