How can you run multiple commands at once in terminal ( Ubuntu terminal tutorial )

in blurtutorials •  4 years ago  (edited)

We have seen lots of terminal command so far and we will do it more and more until i can give everything i know about terminals.

Today I will show how you can easily run multiple commands using the terminal. So follow along to learn it yourself.

We will create a directory and switch to that directory at once so let's see how we will do it.

The command we will use is quite simple , it's "&&".
syntax : command1 && command2.

Step 1 : Open the terminal.

Screenshot from 2020-12-10 00-15-06.png

Step 2 : Write two commands and use &&. ex: mkdir folder && cd folder.

Screenshot from 2020-12-10 00-15-25.png

Step 3 : Press enter and you will see a folder is created and also we are inside the folder as well.

Screenshot from 2020-12-10 00-15-31.png

You can try different multiple commands as well and learn.

So that's all for this tutorial , I hope you all must have liked this one.

Please support me by voting for my witness if you like my work.
Vote on following link : https://blurtwallet.com/~witnesses?highlight=kamranrkploy

Thank You

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!