Find the answer to your Linux question:
Results 1 to 2 of 2
I am a newbie and do not know how to write script, and I am trying to put line numbers in a file. I want them to be seen once ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Location
    Dallas, TX area
    Posts
    1

    Newbie to Linux

    I am a newbie and do not know how to write script, and I am trying to put line numbers in a file. I want them to be seen once opening the file. I know how to get line numbers by using :set nu. Any help would be greatly appreciated. I am in school learning Linux, but it is totally different than working on Windows. I have been dying to learn Linux.

  2. #2
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181
    To put line numbers into a file use "nl".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...