How would you print just the 25th line in a file using
smallest shell script?
Answer Posted / swaroopa
sed -n 25p <filename>
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are different types of shell?
What is c in shell script?
What is $1 in shell scripting?
What is in a script?
Which shell is the best?
State the advantages of shell scripting?
What is the significance of the shebang line in shell scripting?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
What is the difference between break and continue commands?
Is scripting and coding the same thing?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
What is the difference between bash and shell?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
Write the syntax for "if" conditionals in linux?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.