Hi Friends,
I want to add "AAAAAAAAAAAAAAAAAAAAAAAAAA" in the last line of each .txt files in a particular directry. How to do this ?
Thanks In advsnce
Hi Friends,
I want to add "AAAAAAAAAAAAAAAAAAAAAAAAAA" in the last line of each .txt files in a particular directry. How to do this ?
Thanks In advsnce
for FILE in *.txt
do
echo $FILE
echo "AAAAAAAAAAAAAAAAAAAAAAAAAA" >> $FILE
done
The above file when executed will append to all the *.txt files.