How would you print just the 25th line in a file using
smallest shell script?
Answers were Sorted based on User's Feedback
Answer / alok
awk -F"|" ' NR == 25 {print} ' emp.lst
in this file | is a field seprator
| Is This Answer Correct ? | 0 Yes | 4 No |
How to calculate the number of passed arguments?
How will you connect to a database server from linux?
What is the basic difference you find between a shell script and perl?
What is the purpose of scripting?
How to create environment variables?What are the conditions for creating variables?
Is powershell a language?
I Forgot My Windows Vista Password! How Can I Find My Windows Lost Password?
What is a shell script? Can you name some of its advantages?
Hi All, Is it possible to create one file name only space or space in file name in UNIX and we can able to run that on Unix?
What is shell scripting used for?
What is the default ubuntu terminal?
I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp