See related link.
There is no "default" Unix shell. Different Unix vendors shipped different shells.
Shell scripts are plain text files; they do not need to be compiled. To make these scripts executable, you need to add an executable flag using chmod. Consider the following example: $ chmod +x myscript
it is a command in unix and unix like operating systems that places a string on the computer terminal.It is typically used in shell scripts and bath files screen or a file.
Shell scripts are interpreted files that contain commands and logic sequences to do things. They are similar to programs in that they contain logic and sequencing, and call other programs to accomplish tasks. You use shell scripts to automate tasks in Unix, run tasks periodically, create repeatable tasks, etc.
For windows, you might use .cmd, .bat as common file extensions. Unix doesn't use file extensions as associations, so no file extension needs to be used in the Unix environment. A shell script in Unix is simply a text file with any name that is readable and executable. However, file extensions are typically used in Unix as a documentation aid that states that the file is a shell script. Common extensions are .sh, .csh, .ksh, .tcsh, .zsh, etc.
Some of your options are as follows: Open Solaris. It is based on Sun's Solaris Unix operating system. You can get it from http://opensolaris.org/os/ FreeBSD livecd http://livecd.sourceforge.net/ However, if your only goal is to learn shell scripting all the Linux/Unix variants use the same shells (usually some version of bash, sh, csh, tcsh, or zsh). The bash shell is the same if ran on Linux, Unix, or even Windows.
There are many possible Unix shells that users have access to. Some of these are: sh - Bourne shell (the original shell) ksh - Korn shell bash - Bourne-again shell csh - C shell tcsh - variant of the C shell and other features zsh - the 'z' shell rsh - Restricted shell ksh93 - '93 version of ksh
A Unix shell can be obtained in Cygwin, a Unix compatibility layer used to compile Unix programs and run them on Windows. Microsoft also makes a shell known as "Windows PowerShell" which incorporates more Unix-like features than the standard command prompt.
The first shell was 'sh', the Bourne Shell
The a default Unix shell is the shell that comes with and is activated initially with your distribution of Unix. The shell is essentially the program the runs the command line interface allowing someone to interact with their computer. Some examples are the Bourne-Again shell (bash) or the Bourne shell (sh).
The Korn shell.
No, scripts are slower than compiled program, and shell scripts are especially slow, for they keep running external commands.