How to run multiple Unix commands in one shot

后端 未结 3 1676
终归单人心
终归单人心 2020-12-04 00:37

I am trying to execute multiple commands in one shot but to my surprise only the first command is getting executed and the rest are skipped. And the command is



        
3条回答
  •  春和景丽
    2020-12-04 01:32

    I don't have access to Clearcase to try things out but sometimes from past experience, you will need to RTFM, such tools with either accept a reverse pipe or an input script file, look in the documentation for syntax such as:

    Cleartool < echo command_sequence

    echo command_sequence | Cleartool - or

    Cleartool -f inputfile or command sequence or

    Cleartool -c inputfile or command sequence or

    Cleartool run inputfile or command sequence or

    If you do find some variant of the above does the trick please let us know by posting your own answer so that the next person with the problem can benefit.

提交回复
热议问题