Linux Commands YungHsiang Lu Purdue University 1 Topics head and tail pipe revisited sort sed awk Linux user manual Popular First and Last Names head print the first 10 lines tail print the last 10 lines ID: 769810
Download Presentation The PPT/PDF document "Linux Commands Yung-Hsiang Lu" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Linux Commands Yung-Hsiang Lu Purdue University 1
Topics head and tailpipe (revisited) sort sedawkLinux user manual
Popular First and Last Names
head: print the first 10 lines
tail: print the last 10 lines
head -n: first n lines
tail -n: last n lines
pipe (|): output as input of next
sort -n: sort as numbers
sort -k c: sort by the c's column
sed: substitute a letter
sed: substitute a word
awk: keep a column
Enjoy Linux