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

1 Answer

0 votes
by

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
...