Greetings and salutaions..
Mike Jeays
mj001 at rogers.com
Wed Feb 25 04:20:47 PST 2004
On Tue, 24 Feb 2004 20:57:12 -0800 (PST)
Sharif Dayan <bimasena at mdp.net.id> wrote:
> Greetings...
>
> I am new to this list. I am sorry if my first mail does not look well.
>
>
> At 18:37 23-02-2004 +0100, "Benjamin Walkenhorst" wrote:
>
> >command-line and shell-scripting.
>
> I know "command-line", because I once used DOS, but what is "shell-scripting" ?
>
>
> Sharif Dayan
>
> _______________________________________________
> freebsd-newbies at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"
Shell scripts are the equivalent of DOS "batch" programs, written
as a file containing a series of command lines. They are usually
given a '.bat' extension in DOS.
Unix shell scripts can have any file name, but it is quite common'
to use '.sh' as the extentsion. There are several different command
interpreters, known as "shells". The basic one supplied with most
Unixes is the original 'sh', but there are later versions with
many more options.
Shell scripts must be marked as executable before they can be
run - use the command "chmod +x yourscript.sh".
Read up on the 'bash' shell for much more detail. It is FAR
more powerful than the DOS command line.
--
Personal : Mike.Jeays -at- rogers.com Phone : 613-724-4510
Work : Mike.Jeays -at- statcan.ca Phone : 613-951-9929 FAX 613-951-0395
Web page : http://members.rogers.com/mike.jeays
More information about the freebsd-newbies
mailing list