terminal - what is the use of parentheses in linux command -


i run following command in linux terminal. can tell me use of parentheses in linux terminal , following command ?

$(echo "get / http/1.0";echo "host: www.google.com"; echo) | nc www.google.com 80

( list )
placing list of commands between parentheses causes subshell environment created, , each of commands in list executed in subshell. since list executed in subshell, variable assignments not remain in effect after subshell completes.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -