Sent command-line output as an arguments to other command
Posted
by
pavelartlover
on Server Fault
See other posts from Server Fault
or by pavelartlover
Published on 2013-10-10T13:16:52Z
Indexed on
2013/10/27
15:54 UTC
Read the original article
Hit count: 371
command-line
|unix-shell
1) Here is the command to install special package (for example system/header)
#pkg install system/header
2) ALso we can install several packages
#pkg install system/header network/ssh package/rpm
3) Here is the command to show all available packages from special group
#pkg contents -o fmri -H -rt depend -a type=group solaris-desktop
How to install all packages from a special group in one command? (How to send output from the third command as an argument to second?)
© Server Fault or respective owner