Commit 0c71dc00 authored by aghead.asaad's avatar aghead.asaad

Exercise2

parent f030fbf0
cd home
su
mkdir newfolder
cd newfolder
touch file{1..10}_{a..z}
find -type f -name "*x" -exec sed -i 's/^/hello linux/g' {} \;
mkdir {a..z}
for i in {a..z}; do find -type f -name "*$i" -exec mv {} $ /; ;done
find -type f -name "*3*" -o -name "*4*" -exec rm {} \;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment