Commit 28e66a6d authored by mouhamad.orabi's avatar mouhamad.orabi

Update file.ex2

parent 85caaca9
...@@ -16,14 +16,11 @@ for n in {1..10}; do ...@@ -16,14 +16,11 @@ for n in {1..10}; do
##or ##or
##########################b: ##########################b:
for n in {1..10}; do touch file{1..10}_{a..z}
for c in {a..z}; do
touch ~/newfile/"file${n}_${c}"
done
done
#########################c: #########################c:
find ~/newfile -name "*c" -exec sh -c 'echo "Hello Linux" > "$0"' {} \; find ~/newfile -name "*x" -exec sh -c 'echo "Hello Linux" > "$0"' {} \;
#########################d: #########################d:
......
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