TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Neil Heller
from: William McBrine
date: 2003-05-24 22:05:40
subject: Re: Linux and GCC

-=> Neil Heller wrote to William McBrine <=-

 NH> One question, though.  Is there any presumed extension (like "EXE",
 NH> "COM", etc.) that's presumed and doesn't have to be typed when
 NH> executing the program?

Absolutely not. As Winston already mentioned, executables in Unix are
indicated by the executable bit(s) being set on the file (the "x"
in "rwx"  
you see from ls -l), and by nothing else. The DOS "file extension" system
is IMHO a kludge, and the sooner you unlearn it, the better. :-)

 NH> If not, need the full filename be typed at the command line every time 
 NH> when launching an app?

That would seem to follow logically from a "no" answer to the first
question. No? Of course, there are sometimes alternatives to typing
everything out: aliases, tab completion, etc. But I'm not really sure what
you're getting at here. If your filename is too much to type, just shorten
it.

BTW, if you're using Linux (or Unix), you're already launching apps that
way all the time. Do a listing of /bin or /usr/bin and see the filenames
there -- they're also commands. Even "ls" is an external command, /bin/ls.
(Try "which" to find out just where in the path a command is;
e.g., "which
gcc".)

... Predestination was doomed from the beginning.
--- MultiMail/Linux v0.44
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 633/267 270
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.