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|
what is the significance of "su" command?
What is FIND, GREP and SED ? Could you please give me the difference between all the three? Where we use this commnands?
Name the unix command to find how many days the server has been up.
How to convert a hidden file to normal visible file?
Which unix command to make a new directory?
which command is used to identify the type of the file?
why unix operating system provides more security than other operating systems?
How does one process we can start an executable file? How to get the PID process, which we started?
distinguish between physical addresses and logical address?
What are the commands in UNIX to list the files in a Directory?
Which RAID Levels supported by LVM?
write grep commands to select the lines that have exactly two characters