Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
W.A.S.S to count the number of files which contains a given pattern and also display the names of all those files.
echo -e "Enter the pattern : \c"
read ptrn
cnt=0
for i in `ls -1`
do
if [ -f $i ]
then
l=`grep -E $ptrn $i|wc -l`
if [ $l -gt 0 ]
echo "$ptrn is found in $i file."
cnt=`expr $cnt + 1`
fi
done
echo "$ptrn is found in Total $cnt file(s)."
Output
sh filept.sh
Enter the pattern : narendra
narendra is found in temp3.txt file.
narendra is found in temp4.txt file.
narendra is found in Total 2 file(s).
In this question we will dene a function for sorting lists based upon the algorithm selection sort. First, dene a function smallest which takes as input a list of integers and r
program the following exercises using JAVA and JENA API: SPARQL endpoint to be queried: QUERY:">http://services.data.gov.uk/education/sparql QUERY: What are the school’s names th
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Pseudo code the shows logic for a program that generates a random number, then ask the user to think of a number between 1 and 10
Consider the operation of a line of supermarket checkouts and the profiles of customers and their shopping baskets. Use a random number generator to create the data for these profi
Scenario A campsite provides cabins for travellers to stay in overnight. A 'cabin' is a small wooden hut, containing bunk beds, table and chairs, a heater, and a small cookin
You are working in charge of a group of programmers at a software company. Your task is to assess and research CORBA and to produce a report to be given to the programmers detailin
I am working on a matlab project and need help debugging one question i have written and need help working through another problem.
Question: (a) An HTML file "decor.html" uses an external Cascading Style Sheet file name "nicedesign.css". Users are viewing the Web page making use of different kinds of br
In this assignment you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application. You
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd