Finding Large Files Assignment Help

Assignment Help: >> Introduction to File System - Finding Large Files

Finding Large Files

1.         Modify directory to the location which is to be searched

2.         The size of files in blocks from largest to smallest could be as shown below.

# ls -s | sort -nr | more

here

sort -nr  Sorts the list of files through block size from smallest to largest.

Let consider the following example

In the given example, wtmpx and lastlog are the largest files in the /var/adm directory.

# cd /var/adm

# ls -s | sort -nr | more

320 wtmpx

128 lastlog

74 pacct

56 messages

30 wtmp

6 utmpx

2 utmp

2 sulog

2 sa

2 passwd

2 log

0 spellhist total 624

Free Assignment Quote

Assured A++ Grade

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!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd