How do I run a script from command prompt?
No Answer is Posted For this Question
Be the First to Post Answer
How will you emulate wc –l using awk?
how to get part of string variable with echo command only?
How to change our default shell?
How would you replace the n character in a file with some xyz?
What are the different methods available to run a shell script?
how to delete all the files with extension .dat rom a directory tree from root to third level in a single unix command?
What is k shell?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
What are the advantages of shell scripting?
how will you find the total disk space used by a specific user?
How can you find out how long the system has been running?
Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.