Question: Write a system utility that shows the space used by files within the current working directory (see below) 2 Requirements 35 points In this assignment
Write a system utility that shows the space used by files within the current working directory (see below)




2 Requirements 35 points In this assignment you will write a system utility that displays the space utilized by files within the current working directory. Each file and directory will be displayed, prefixed by the space it takes up. Space will be displayed in a user-friendly format (e.g., B, K, MB). The utility will be recursive in that it lists the space used by files nested within a child directory in the current directory. Your program must compile and run under Xubuntu (or another variant of Ubuntu) 16.04. Sample output Terminal- ruben ruben-VirtualBox:-/NetBeansProjects/CApplication 1 File Edit ViewTerminal Tabs Help ruben@ruben-VirtualBox:-/NetBeansProjects/CApplication_1s /main 163B / 378 12K 438 27K 31K /build/Debug /build/Debug/GNU-Linux/main.o /build/Debug/GNU-Linux/main.o.d /build/Debug/GNU-Linuxewmain.o /build/Debug/GNU-Linuxewmain.o.d /build/Debug/GNU-Linux /build 19K /dist/Debug/GNU-Linux/capplication 1 27K 31K 19K /dist/Debug/GNU-Linux /dist/Debug /dist /main.c /Makefile bproject/configurations.xm bproject/Makefile-Debug.mk bproject/Makefile-impl.mk bproject/Makefile-Release.mk bproject/Makefile-variables.mk bproject/Package-Debug.bash bproject/Package-Release.bash bproject/private/c standard headers indexer.c bproject/private/configurations.xml bproject/private/cpp standard headers indexer.cpp bproject/private/Launcher.properties bproject/private/Makefile-variables.mk 4K 706B bproject/private/private.xml 22K bproject/private 9768 bproject/project.xm 41K bproject ewmain. 138K . Specific Requirements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
