Append output end of text file
Apr 23, 2023 · 1 min read · #! /bin/bash echo "-e Enter file name: \c" read file_name if [ -f $file_name ] then if [ -w $file_name ] then echo "type some data to append to the file. To quit press ctrl+d:" cat >> $file_nameelse echo "File don't have to write permission" fi else ...
Join discussion