Answers were Sorted based on User's Feedback
Answer / jam
To print a specific line without using a string.
sed -n '1p' <filename>
Where 1 is teh line number
|Is This Answer Correct ?||5 Yes||0 No|
Answer / deepak
grep -i " give_the search keyword here" (specify the directory location/file to search)
|Is This Answer Correct ?||3 Yes||2 No|
Answer / ramesh
grep "pattern" filename
|Is This Answer Correct ?||1 Yes||0 No|
Answer / ranjitha
using head and tail command we can print the required line
as an output.
|Is This Answer Correct ?||2 Yes||7 No|
How to see unused port number in Solaris?
What are reported commands?
Explain command to display different lines that are found when compare two files?
Give two UNIX kernel parameters that effect an Oracle install
Which unix command to make a new directory?
In UNIX, what is the command to edit contents of the file?
What do chmod, chown, chgrp commands do?
what is the advaantage of each user having its own copy of the shell?
distinguish between interrupts and exceptions?
what do you understand bythe term 'de-mountable volumes'?
What is $0 bash?
Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...