[X Newbies] Cascading command-line commands
Kirk McElhearn
kirklists at wanadoo.fr
Mon Apr 7 01:25:56 PDT 2003
On 4/7/03 10:15, "KL" <ee7klt at sfsu.edu> wrote:
> Hi,
> If I have a few commands I have to run, and each one does a remote get to
> install certain files, is there any way I can link all these commands so
> that I can just type all of it in and they will all run, one after the
> other automatically?
As long as the commands are not dependent on each other (one command gets
certain information from the previous command), just separate them with
semi-colons:
command ; command ; command
Kirk
My forthcoming book: Unix for Mac OS X: Learning the Command Line
http://www.mcelhearn.com/unix.html
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . kirk at mcelhearn.com | http://www.mcelhearn.com . . . . . .
. . Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France . .
More information about the X-Newbies
mailing list