Fetch output of Uname -a

Can anyone help me to fetch the output of “uname -a” and some more commands.

I have put below command in action script to select Script option “SH”
“uname -a > /var/tmp/abc.txt”

I need to execute this command on multiple server this command will create a single file named “abc.txt” on each server after that i need to collect the output from each server also let me know how can i collect the output in single file.

Thanks

you can do something like -

lines of file "/var/tmp/abc.txt”

1 Like