[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Command strings



Can't you also seperate them with &&


as in ./configure   &&  make && 


and so on?

On Sun, 2002-12-01 at 20:08, alex wrote:
> I know that some commands can be combined into a single
> command like this: (using ; separators)
> 
> #  mount -t vfat /dev/hda1
> #  cd /mnt/hda1
> #  ls -aF --color=auto
> 
> can be done like this, using ; separators
> 
> # mount -t vfat /dev/hda1 /mnt/hda1; cd /mnt/hda1; ls -aF 
> --color=auto
> 
> 
> But, how about combining commmands where each command 
> initiates a series of steps that must be satisfied before 
> going to the next one?  I vaguely recall that this can be 
> done but have forgotten the specifics.
> 
>   $ ./configure
>   $ make
>   $ su -c make install
>        (combining)
>   $ ./configure___  make___  su -c make install
> 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]