Jun 30, 2003 #1 761210 IS-IT--Management Jun 25, 2003 13 0 0 US how do i know the lines within a file?
Jun 30, 2003 #2 santoshdj123 Technical User Jun 15, 2003 98 0 0 IN hi wc -l filename santosh Upvote 0 Downvote
Jun 30, 2003 #3 fluid11 IS-IT--Management Jan 22, 2002 1,627 0 0 US The above will count the number of lines in a file and give you the total. If you want to see a numbered list, try nl... [root@penguin root]# nl somefile 1 line1 2 line2 3 line3 4 line4 5 line5 ChrisP Upvote 0 Downvote
The above will count the number of lines in a file and give you the total. If you want to see a numbered list, try nl... [root@penguin root]# nl somefile 1 line1 2 line2 3 line3 4 line4 5 line5 ChrisP
Jun 30, 2003 #4 clonny2 MIS Jan 28, 2003 470 0 0 US Also, if you have the file open in vi you can type :set nu to turn on numbering. >---------------------------------------Lawrence Feldman SR. QA. Engineer SNAP Appliance lfeldman@snapappliance.com Upvote 0 Downvote
Also, if you have the file open in vi you can type :set nu to turn on numbering. >---------------------------------------Lawrence Feldman SR. QA. Engineer SNAP Appliance lfeldman@snapappliance.com