'ls' content from text file?
Is it possible to list content from text file? Fro example, if the text file contains something like this:
Code:
/etc/mysql |
Quote:
|
I think i found a way: ls -al `cat text_file". It seems to do what i want.
|
try this
Code:
grep -rnw '/path/to/somewhere/' -e "pattern" find grep redirection > helpers xargs -print0 I'd have to experiment myself until I figured that out. |
while read -r line; do ls -al "$line"; done < text_file
|
Code:
for i in `cat foo`; do bar ; done |
Quote:
What szboardstretcher said http://mywiki.wooledge.org/BashFAQ/001 |
All times are GMT -5. The time now is 02:19 PM. |