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).
* Comments in your code are required * Main Program Operation: # Your program should first prompt the user for an integer to seed the random number Generator. "Enter an seed
Write a program to calculate amount after n number of years by inputting principal at the rate of 8% interest.
Short Arrays: Array = randi(10,1,randi(6,1,1)+4)-5 This command will generate an array which you should be able to evaluate by hand (and also have your code evaluate for te
What are the main pros and cons of assembly programming language?
1) Go to Start -> Programs->Accessories->Notepad. 2) Start with a document type tag & an opening tag. Enter the given line in your doc.
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
1. use a small perl program and matching config file to retrieve and reformat the system time for a number of remote machines via snmp. Readings should have a local timestamp for
1. Develop a Web page via href attribute of anchor tag and the attribute: vlink, alink, etc. 2. Develop a Web page, in which when the user clicks on the link it will go to the
Design and implement a stringed musical instrument class using the following guidelines: a. Data fields for your instrument should include number of strings, an array of stri
EXPLAIN CAI? AND ITS PITFALLS
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