how to print a specific line number with cat
hi,
with 'cat -n filename' i can see the contents of filename with the line numbers prefixed to it as follows:
1 Line One
2 Line Two
Is there way to tell cat to print just the line with number '2'? i saw the man pages and looked at some examples also but it doesn't seem to define it.
any ideas? thanks!!
|