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
Shemrock Inc. is a brake pad manufacturing company. This company uses raw materials, such as carbon powder, iron, ash, and resin. It wants to develop an inventory management system
SailDublin Ferry provides ferries to mainland Britain, Europe and America. Having observed the success of Irish ferries and Stennaline online booking system; SailDublin ferry has d
Often, DNA sequences are represented as a sequence of characters (String) and each character in the sequence corresponds with one of four nucleotides. A = adenine, C = cytosine,
In this portion of the lab you will analyze a problem and create a Raptor program to solve it. Make sure you use a class in Raptor and in Python to solve the problem. Read the fo
The last matrix operation which we'll see is matrix multiplication. Now there we will start along with two matrices, A nxp and B pxm . Remember hat A must have similar number of c
WRITE A FORTRAN PROGRAMME TO GENERATE PRIME NUMBERS BETWEEN 1 AND 100.
Assume that you are a college professor needing to average grades for 10 students. Write a program that asks for each student's name and grade. Print the list on-screen with each s
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Write a program that takes integer array of 8 elements from user and find the smallest element among them using pointers
Define the Syntax of FOR Loop? The universal form of this statement is for(initialization;condition;increment/decrement) { statements; }
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd