Highlighted
  • 109 Views

Possible Error in RH124

Hi,

 

I might have stumble upon an error in the the Lab of Chapter 15.

 

The task is as follows:

  1. Store the search result of all files in the /usr/share directory that is greater than 50 MB and less than 100 MB in the /mnt/freespace/search2.txt file.

No problem with this.  Approach was:

find /usr/share -size +50M -size -100M > /mnt/freespace/search2.txt

Returns 1 result, the file /usr/share/GeoIP/GeoLite2-City.mmdb with 54MB.

Trying to grade the lab - failure at this position. Ok. Solution shows:

find /usr/share -size +50M -size 100M > \
/mnt/freespace/search2.txt

Difference being "100M" instead of "-100M". Empty result. Grade works.

But IMHO does this query not fulfil the exercise. But the grade verifies the empty txt-file, although the 54MB file is still there.

Am I trapped within this or might this be unwanted behaviour?

 

BR

Niklas Odendahl

0 Kudos
Join the discussion
You must log in to join this conversation.