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

1 Answer

0 votes

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 –l cd .. ls –a MYWORK which is equivalent to 3 commands: ls -l cd.. ls -a MYWORK

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

Related questions

0 votes
0 votes
asked Jun 22, 2019 in PHP by SakshiSharma
0 votes
asked Nov 26, 2019 in React JS by AdilsonLima