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 compare that given two files are same or not. If found same then delete the second file.
echo -e "Enter the 1st File name : \c"
read ffname
echo -e "Enter the 2nd File name : \c"
read sfname
res=`cmp $ffname $sfname|wc -l`
//cmp is used for comparing two files and return where those are different
if [ $res -eq 1 ]
then
echo "Both files are not same"
else
echo "Both files are same"
rm $sfname
fi
Output
sh compare.sh
Enter the 1st File name : t1.txt
Enter the 2nd File name : t2.txt
Both files are same
Calculate the total price based on several key parts required to build a state-of-the-art gaming computer. The user will have the option of selecting different parts.
Each of the following two procedures defines a method for adding two positive integers in terms of the procedures inc, which increments its argument by 1, and dec, which decrement
What is DOM? The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure an
Your solution to the problem should be housed within a while loop, which allows the grader to test your solution repeatedly without having to re-execute the script, as shown in cla
Hi, Can you do exercises: D2, D3, D4, and D5 on page 230 of the following book: http://www.daimi.au.dk/~bra8130/Wiley_book/wiley.html . The book can be downloaded for free from t
What is an abstract class: Abstract class is stated as an abstract concept that cannot be instantiated or comparing to interface this can have some implementation and interface c
how to create a screen for messages for a data transmission system
We need help for build a Price Quote Generator I am interested in two things (A) a web based system that will allow a user to enter the parameters of their contests (there are o
Write a function named prob2.m which creates and returns an N×N identity matrix. An identity matrix is a square matrix with values of one on the main diagonal and zeros in all off-
( Airline Reservations System ) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to w
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