Skip to main content
8 events
when toggle format what by license comment
May 22, 2020 at 17:16 history edited Stéphane Chazelas CC BY-SA 4.0
added 89 characters in body
May 22, 2020 at 17:09 history edited Stéphane Chazelas CC BY-SA 4.0
added 384 characters in body
Mar 2, 2020 at 14:28 vote accept Chris
Mar 2, 2020 at 9:41 vote accept Chris
Mar 2, 2020 at 14:28
Mar 2, 2020 at 9:40 vote accept Chris
Mar 2, 2020 at 9:41
Mar 2, 2020 at 9:34 comment added Chris Yes, I want it be print all the words upto the 3rd line if 3 is specified.
Mar 2, 2020 at 8:08 comment added Chris Should it be like this - head -n $2 $file | wc -w where the specified number is the second command line argument and file is the variable with the name of the text file ?
Mar 2, 2020 at 7:40 history answered Virsacer CC BY-SA 4.0