#view data file and create new file (linux) tail -100 note.txt head -100 note.txt tail -100 note.txt > note_last_100_line.txt head -100 note.txt > note_first_100_line.txt