- Published on
Short engineering note
Show first lines with head
- Authors

- Name
- Mehdi Akiki
Note · Engineering notes
head -n 10 file.txt
head -10 file.txt
Tip: sed -n '1,10p' file.txt is portable across shells.
Short engineering note
Note · Engineering notes
head -n 10 file.txt
head -10 file.txt
Tip: sed -n '1,10p' file.txt is portable across shells.