Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

6 bytes added, 08:28, 18 March 2021
FOR LOOP USING COMMAND SUBSTITUTION
====FOR LOOP USING COMMAND SUBSTITUTION====
Let’s issue the '''for''' loop with a '''list ''' using '''command substitution'''.<br>In the example below, we will use command substitution to issue the ls command and<br>have that output (filenames) become arguments for the for loop.<br><br>
''Example:''
13,420
edits

Navigation menu