You can compare two files using command diff and sdiff:
example: diff file1 file2 or sdiff file1 file2
head --> to see the top content of the file
head filename.txt
head -10 filename.txt ---> to see the first 10 lines
tail filename.txt --> to see the last line
tail -10 --- > to see the last 10 lines
tail -f --> to see files/log, when it keep updating
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment