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
What is the significance of $#?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
Write a command sequence to find the count of each word?
How do I open the shell prompt?
Is cmd a shell?
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.
Can you write a script to portray how set –x works?
How do you know which shell I am using?
What does sh mean?
Is shell a part of kernel?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
Why are there shells on the beach?
How do I open the shell in cmd?
What lives in a shell?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.