running multiple command in a single line

Hi

Can we run the linux command and per script in a single command

[/efare1/home/qabuild] $ cd /usr/local/adm/ ;ctsv scmtest_qabuild ;cspec.pl scmtest

This is a combination of linux and clearcase command and last one is perl script with argument.
I can see the first and 2nd coomand is executing but last i.e. perl script is not running.

Please suggest.

You have to run perl script as

[/efare1/home/qabuild] $ cd /usr/local/adm/ ;ctsv scmtest_qabuild ;perl cspec.pl scmtest

--Shirish

No its not running this way I tried it but no luck

does it run separately . if its running then whats the error that you are getting during combined run ??

yes it run separately fine but when I try it with multiple coomands it does not provide the same result.this perl script actually set the configuration of any branch.

for e.g

element * CHECKEDOUT
element * .../apr0512-dev/LATEST
element * APR0512-BASE -mkbranch apr0512-dev
element * .../pub-int/0 -mkbranch apr0512-dev
element * /main/0 -mkbranch pub-int

for which brnach I am trying

element * CHECKEDOUT
element * SCMTEST-BASE -mkbranch scmtest-dev
element * .../pub-int/0 -mkbranch scmtest-dev
element * /main/0 -mkbranch pub-int

That it is showing 4 lines whereas after setting it it should show 5 lines

try #!/bin/perl in the 1st line of script.

This is alreay mentioned in the sript

[/usr/local/adm] $ less cspec.pl
#! /usr/atria/bin/Perl