How do i run more than one command on the shell prompt?



  • One of the reasons Unix & Linux are successful is the ability to perform tasks with ease.

    For example, you can run multiple commands on the shell prompt instead of typing them on a separate line, by separating each command with a semi-colon.

    $ whoami;pwd;date
    whoami;pwd;date
    trainer
    /home/trainer
    Tue Jan 21 09:04:06 BST 2015
    


© Lightnetics 2024