On 16Mar2013 20:03, highskywhy@yahoo.de <highskywhy@yahoo.de> 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 <cs@zip.com.au>
Call for a cop, call for an ambulance, and call for a pizza.
See who shows up first. - J. Snyder _A Nation of Cowards_
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (2) |
No comments:
Post a Comment