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

Command strings



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


What should be the separators in ___ ?






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