POSIX recommends the use of ____ instead of archaic `command ` for command substitution.

Ánh Dương

New member
POSIX recommends the use of ____ instead of archaic `command ` for command substitution.
A. |
B. #
C. %
D. $
 
Answer: d
Explanation: POSIX recommends the use of the form $(command) instead of archaic `command` for command substitution. For example, to display the date using command substitution use the following command:
Code:
$ echo The date is $(date)
Output: The date is  Sat  Jan 05 17:25:41  IST 2017
 

Tìm kiếm

Back
Top