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
+1 vote
asked May 10, 2021 in Linux by rajeshsharma
0 votes
asked Jan 15, 2021 in Cassandra by SakshiSharma