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 delete all such files from the system that have size zero.
Program
# W.A.S.S to delete all such files from the system that have size zero.
total=`ls -lSr | tr -s " "|cut -d " " -f5,9|wc -l`
total=`expr $total - 1`
for w in `ls -lSr | tr -s " "|cut -d " " -f5,9|tail -n$total|head -n1`
do
size=`ls -lSr | tr -s " "|cut -d " " -f5|tail -n$total|head -n1`
name=`ls -lSr | tr -s " "|cut -d " " -f9|tail -n$total|head -n1`
echo "$size $name"
if test $size = "0"
then
rm "$name"
echo "$name is deleted.."
else
exit
fi
done
Output
sh zsize.sh
0 zero.sh
zero.sh is deleted..
0 mbox
mbox is deleted..
Microsoft's VC++ Windows V C++ was a highly effective device. But it was too complicated. It has too many information kinds, and designers had to understand many your local lib
Write a program that accepts a date from the user in the form mm/dd/yyyy and then displays it in the form month dd, yyyy, where month is the name of the month. Enter a date (mm/d
How does a Case Structure differ from a Case structure program in pseudocode
For this assignment you will need to design and construct a basic math program which targets elementary school children. Your program must adhere to the following steps and require
Expertsmind brings you unique solution in java assignments String Handling Series signifies a sequence of character types. It has set duration of personality sequence. Onc
One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to use for writing a Perl program tha
wat is- m=5; n=3; x=m++-n+++m;
XYZ International is a large Institute; Management in this institute wants to create Proper Student management System. There for they contact you and asked you to create Propto typ
Explain, in your own words, how web designers can deal with CSS conflict resolution. What is the order of precedence between the different types of CSS (inline, embedded and extern
Write a program to mask bits D3D2D1D0 and to set bits D5D4 and to invert bits D7D6 of the AX register.
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