#!/bin/bash # for loops echo "all the files inwards directory--------" for detail inwards * do if [ -f $item ] too then echo $item fi done echo echo "all the directory inwards directory--------" for detail inwards * do if [ -d $item ] too then echo $item fi done echo echo "execute listing of commands--------" for dominance inwards ls pwd date do echo "command elevate -> $command" $command done
Shell Scripting Tutorial For Beginners Xx - For Loop To Execute Commands
Posted by Hold
on January 21, 2017
0 comments:
Post a Comment