Difference between revisions of "Read (Bash buildin)"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  echo "First command" [[&&]] read && echo "Second command"
 
  echo "First command" [[&&]] read && echo "Second command"
  
   echo "First command" [[&&]] (read; echo "Press any key to continue or [[Ctrl+C]] to abort") && echo "Second command"
+
   echo "First command" [[&&]] (echo "Press any key to continue or [[Ctrl+C]] to abort"; read) && echo "Second command"
  
 
== Related terms ==
 
== Related terms ==

Revision as of 08:24, 24 March 2022

Advertising: