On 16Mar2013 20:03, [email protected] <[email protected]> wrote:
| What is bat  com exe in Linux?
| 
| What is the name of these filetypes in Linux.
| I think sh and bat is the same?

Please be more verbose in your questions. I'm making a lot of guesses
here about what you might actually mean.

In Windows and MSDOS .bat files are script files containing commands
for the normal scripting command (COMMAND.COM, CMD.EXE? No real
idea - I try not to touch Windows).

On a UNIX system, the standard command interpreter is /bin/sh (every
UNIX system has that). The syntax is very different (and much better)
than the syntax in a DOS .bat file.

Many users run a command shell compatible with /bin/sh (i.e. accepting
the same commands and syntax) but with extra extensions for usability
(command line editing, command history etc). Such command shells
include zsh and bash.

Executable files in UNIX usually DO NOT have externsions like ".sh"
and so forth. The kernel inspects them when someone tries to execute
them and decides what to do. They may be shell scripts (or script
in other languages as specified by their opening "#!" line) or
compiled executables.

A UNIX command compiled to machine code will usually be the equivalent
to a DOS .exe file.
-- 
Cameron Simpson <[email protected]>

Call for a cop, call for an ambulance, and call for a pizza.
See who shows up first. - J. Snyder _A Nation of Cowards_


------------------------------------

To unsubscribe from this list, please email 
[email protected] & you will be removed.Yahoo! Groups 
Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to