
Journal Com2Kid's Journal: Linux won't let me run apps in rndm directories? ed: me=stpd 5
So I was being lazy and trying to use my usr/home/desktop directory for app compilation, but lo and behold, I can't run executables from there. I was copy pasting them in Windows explorer to cygwin\bin and dropping to DOS to get them to work, but now I get it.
Irritating but it keeps the desktop neat and tidy I guess. No wonder *nix users have so much troubles understanding how Windows users use things, heh, you all are used to life being too organized!
edit: waaait, where did the files I dropped there go? Windows really needs to get hardlinks (or whatever they are called) integrated into the UI, they are so useful, but I am not quite used to them yet. *sigh* Great for organizing MP3 collections when a song fits in more than one catagory.
(us Windows users just have to make an actual copy of the song and place it, either that or use a third party utility! Ouch!)
Double edit: OOOH! So THAT is why the instructor is always typing
Very weird, doesn't Bash check the current directory for executables, then the path? Odd that it would check path statement first and then umm, nothing.
3x edit: This is one of those things that if I hadn't seen my instructor do it and wondered "wtf" I would've been lost for a looong time on.
./a (Score:1)
Re:./a (Score:1)
More orthogonal that way I guess.
Re:./a (Score:2)
Depending on the shell, it can be a built-in function - particularly in the standalone or "recovery" shells, like sash (StandAlone SHell) and busybox - but the risk that would expose you to isn't restricted to ls. A sysadmin could be examining a suspect directory and try loading the mail client to query the user about it, or fire up grep to search for something, or an archiver to compress the files rather than delet
Re:./a (Score:1)
Though nowdays windows tends to path the living daylights out of everything (and I think Winword is accessible even though I do not believe it is in the path statement. . .
Re:./a (Score:2)
Yep, there's an alternative to the PATH variable - in the Registry, an entry named "Path" in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cu r rentVersion\App Paths\Winword.exe" tells Windows where to find the