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
what is the difference between class and interface
Villa La Fourche Ltd is a small family business situated in the East Coast of Mauritius, more precisely Trou d'eau Douce. The compound comprises of 6 independent villas, each of
What are the main pros and cons of assembly programming language?
Develop a Windows Forms Application by creating a new project named "xxxxxxxx" in a new folder named "xxxxxxxxas3" where xxxxxxxx is your student id. You should delete file(s) with
Write a program to read a text file and create a dictionary. The keys for the dictionary should be all 26 letters of the alphabet and the values of the dictionary should be the lis
Define a Prolog predicate flatten(List, FlattenedList) that asserts List is any nested list of atoms and FlattenedList is the same list with the nesting removed. The atom [] sh
I need help I want to implement the Genetic Algorithm for Shortest path Kindly Help me I will be thankful to you
Given a file named maze1.txt whose contents is 1 0 2 2 1 2 3 0 3 2 2 1 2 0 2 2 3 0 1 1 3 1 0 0 2 0 3 0 0 1 2 0 3 2 2 0 1 2 3 2 1 0 0 1 1 0 0 0 your program when run as a.out
Genetic Diseases Problem Description Many human diseases could be controlled by the knowledge of the gene's structure and pattern. The human gene could be represented by fou
Companies divide their subtasks of game's development. For large complex games, the development team can vary in size from 20 to 100 or more members. The most represented are artis
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