Im very new to bash, and I have been given the task to write a bash script incorporating a loop that counts the byte size of all files in the current directory.
I want to use du but Ive been told he wants to see wc as the main command used.
As to how to make a loop accomplish these things, I'm unsure. Can anyone give me an example or point me in the right direction?