DevOps Realtime Working Tutorials
DevOps Realtime Working Scenarios && Solutions for Issues
Sunday, July 28, 2019
List files in a directory using a shell script
#!/bin/bash
while
read
line
do
echo
"
File:
"
$line
done
< <(
ls
-1 /someDir)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment