Written text
echo 'ddddd'> a.txt
echo 'dddd'>> a.txt
View Text
cat a.txt, to show all the information, there may be very long
Former head a.txt show 10 lines of information
The first three lines show head -3 a.txt
10 shows the reciprocal tail a.txt row (according to the original order)
3 shows tail -3 a.txt reciprocal row (according to the original order)
tail -f a.txt if a file is updated, the update will result in real-time travel interruption.
wc a.txt statistics show text
more a.txt/less a.txt