Exforsys
+ Reply to Thread
Results 1 to 5 of 5

Is this Possible

This is a discussion on Is this Possible within the Linux forums, part of the Operating Systems category; Is it possible to run two commands in sequence in Linux Operating system. What is the option for doing this. ...

  1. #1
    priyaraji is offline Member Array
    Join Date
    Apr 2006
    Answers
    52

    Is this Possible

    Is it possible to run two commands in sequence in Linux Operating system. What is the option for doing this. Someone kindly give a example to clear this concept.


  2. #2
    Ralph is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    114
    Not only for Linux but viewing this in a very generic angle there is an excellent solution to solve this problem by using a fantastic tool called multixterm. By using this tool users can invoke number of browser panels called as xterm windows. The number of panels depends on the users needs. The command can be typed by the user from a single panel and the running of this command can be made to be executed on these number of child panels using this tool.


  3. #3
    Sam Jepsum is offline Member Array
    Join Date
    Dec 2010
    Answers
    34
    Yes you can run two commands in sequnce with a pipe ( one of these | ) just type command 1 | command 2 into your prompt.


  4. #4
    Nagnath is offline Junior Member Array
    Join Date
    Oct 2011
    Answers
    1
    yes this is possible to run two commands sequence
    like


    useradd nagnath ; passwd nagnath

    Here, useradd and passwd are the two commands which are run one after another
    first nagnath user will be add then it will ask you for passwd but in any case you want to assign password at same time then user

    useradd nagnath ; echo "nsg" | passwd --stdin nagnath


  5. #5
    lenting is offline Junior Member Array
    Join Date
    Jan 2012
    Answers
    3
    hello everybody i'm looking sysadmin job for aix 5.3.Please anybody send the interview questions url.
    Thanks
    john peter


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...