Mailinglist Archive: opensuse (5100 mails)
| < Previous | Next > |
Re: [SLE] How to find PID
- From: Anders Johansson <andjoh@xxxxxxxxxx>
- Date: Wed, 2 Jun 2004 03:20:20 +0200
- Message-id: <200406020320.20211.andjoh@xxxxxxxxxx>
On Tuesday 01 June 2004 20.18, C Hamel wrote:
> Wow!! I'm really impressed with the number of people who find it difficult
> to see the work SCRIPT!! <LOL>
and I'm impressed by the number of people who haven't a clue what a script is.
A script is a sequence of one or more shell commands.
ls
is a script
killall
is a script
if you want to put your script in a file, you should put #!<command> on the
first line, where <command> is the program you want to execute your sequence
of commands. That's it. That's what a script is.
> Wow!! I'm really impressed with the number of people who find it difficult
> to see the work SCRIPT!! <LOL>
and I'm impressed by the number of people who haven't a clue what a script is.
A script is a sequence of one or more shell commands.
ls
is a script
killall
is a script
if you want to put your script in a file, you should put #!<command> on the
first line, where <command> is the program you want to execute your sequence
of commands. That's it. That's what a script is.
| < Previous | Next > |