How to group the commands in shell scripting?

Answer Posted / linuxdemon(vjsujay@gmail.com)

(unix cmd 1; unix cmd2)

eg:

ubuntu@ubuntu:~$ (w > fname ; wc -l fname)
10 fname
ubuntu@ubuntu:~$

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

1851


What can you do with powershell?

603


Why are there shells on the beach?

591


What are different types of shell?

488


How to set an array in linux?

593






Explain about echo command?

622


What is gui scripting?

601


How to debug the problems encountered in the shell script/program?

626


What is awk in shell script?

748


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

3587


Is powershell a bash?

588


What is shell environment?

544


Is bash an operating system?

542


Please give me example of " at command , contrab command " how to use

2325


What is the use of echo in shell script?

539