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..
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
For this programming assignment, you are to develop a Fortran 90/95/2003 program to automate a useful task. The aim of the assignment is for you to reveal your competence in the Fo
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
This is the programming language of the Web. It is mainly used for validating forms. JavaScript & Java can be associated to each other. There exist several other differences betwee
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
Let S = {s 1 , s 2 , .... , s k } denote a set of k genomes. The problem of fingerprinting is the task of identifying a shortest possible substring α i from each string si such t
Example problem Imagine that you require to create a robot that will roll up close to a light lamp and stop a fixed distance from it. The first question is, how w
How and where to start to develop a preprocessor for java
Write a function lastfirst() that takes a list of strings as a parameter. Each string in the list has the format ''Last, First'' where Last is a last name and First is a first nam
write a program to sort the file sequential order and store on magnetic tape and print sorted tape as the output of the program.
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