| | | | | linguist.page@gmail.com

Display contents of a file

Type here
cat filename.txt

Display contents with line numbers

Type here
cat -n filename

Display first 10 lines of a file

Type here
head filename

Display first N lines of a corpus file

Type here
head -n 20 corpus.txt

Display last 10 lines of a file

Type here
tail filename

Display last N lines of a corpus file

Type here
tail -n 20 corpus.txt

Follow a log file in real time as it grows

Type here
tail -f training.log

View a large corpus file page by page

Type here
less corpus.txt