tail

output the last part of files

copy
10
1
wc -l `find . -name "*.[ch]" -print` | tail -1 | awk '{print $1}'Find the total number of lines in for all *.c and *.h in all sub directory's

details |

copy
7
1
wc -l *.[ch] | tail -1 | awk '{print $1}'Count the number of words in all *.c and *.h files in the current directory

details |

copy
6
0
head -20 myfile.txt | tail -1 | wc -wCount how many words on line 20 of myfile.txt

details |

copy
5
0
find . -name '*.[ch]' -print0 | wc -L --files0-from=- | tail -n1Find's the length of the longest line in any *.c or *.h file in the current hierarchy.

details |

copy
5
0
reads the last 10 lines of a filetail -10 filename.txt

7 years, 7 months ago janstiegler 1 |

copy
3
0
tail -f access.log | stdbuf -oL cut -d ' ' -f1 | uniq

source | details |

copy
0
0
read the last 10 and appending lines of a filetail -10f filename.txtreads the last 10 and appending lines of a file

7 years, 7 months ago janstiegler 1 |