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 |
what is this line in the shell script do ?#!/bin/ksh
What are the 3 standard streams in linux?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
How to find all the files modified in less than 3 days and save the record in a text file?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is the best scripting language?
How to modify the PATH variable and make it executable?
What is a program shell?
How do we delete all blank lines in a file?
What are the zombie processes?
What is awk script?