How do you execute more than one command or program from a single command line entry?

Answer

You can combine several commands by separating each command or program using a semicolon symbol. For example, you can issue such a series of commands in a single entry:

ls–lcd..ls–aMYWORKwhichisequivalentto3commands:ls -lcd..ls -aMYWORK

**Note that this will be executed one after the other, in the order specified.

All linux Questions

Ask your interview questions on linux

Write Your comment or Questions if you want the answers on linux from linux Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---