Re: Greetings and salutaions..

From: Mike Jeays (mj001_at_rogers.com)
Date: 02/25/04

  • Next message: John Murphy: "Re: Greetings and salutaions.."
    Date: Wed, 25 Feb 2004 07:19:38 -0500
    To: freebsd-newbies@freebsd.org
    
    

    On Tue, 24 Feb 2004 20:57:12 -0800 (PST)
    Sharif Dayan <bimasena@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@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@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
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    

  • Next message: John Murphy: "Re: Greetings and salutaions.."

    Relevant Pages

    • Re: How to get the arg immediately afterwards?
      ... [This followup was posted to comp.unix.shell] ... > # Obtain any command line parameters which adjust the settings above. ... Here is a simple shell scripts that demonstrates how to use "getopts" ...
      (comp.unix.shell)
    • Re: Chaos on a Linux box!
      ... some shell scripts, executed the command: ... telnet. ... I suspect that he used a wrong variable value (there must've ...
      (comp.os.linux.misc)
    • Re: The Brain-Eater
      ... I'm using vi on a UNIX engine. ... command pipes text through arbitrary filters. ... but it involves shell scripts and stuff I could've understood ... running on a unix box, no extra scripting, just incantation. ...
      (rec.arts.sf.written)
    • Re: want to start tomcat from php
      ... danish wrote: ... sheel scripts...i normally use the shell scripts from the command line ... to start and stop the tomcat server..... ...
      (comp.lang.php)
    • Re: [sound driver ] cs4235 linux driver
      ... does linux support batch command files in the same ... Linux makes extensive use of shell scripts. ... Run this command to see the script: ... like you would enter at a command line or put into a BAT file in a dos ...
      (comp.os.linux.hardware)