How Read a Specific Line in Unix?
Contents How Do I Read a Specific Line in Unix? If You’re Already in Vi, You Can Use the Goto Command. to Do This, Press Esc, Type the Line Number, and Then...
Contents
How do I read a specific line in Unix?
If you’re already in vi, you can use the goto command. To do this, press Esc , type the line number, and then press Shift-g . If you press Esc and then Shift-g without specifying a line number, it will take you to the last line in the file.
Must Read
How do I read a specific line in a file in Linux?
How to Display Specific Lines of a File in Linux Command Line
- Display specific lines using head and tail commands. Print a single specific line. Print specific range of lines.
- Use SED to display specific lines.
- Use AWK to print specific lines from a file.