A
A
Alistair O2017-08-17 14:30:23
bash
Alistair O, 2017-08-17 14:30:23

How to display the result of multiple commands on one terminal line?

Good afternoon, I need to display the result of several commands,
for example, I need to get the result such
1;3;6;web-server;Linux
as the correct command to enter?
echo 1;3;6;hostname;uname

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mystray, 2017-08-17
@box4

take commands in ` `:echo "1;3;6;`hostname`;`uname`"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question