Menu

[Solved]Write Shell Script Named Filesizesh Takes Name Directory Within Current Working Directory Q37163300

Write a shell script named filesize.sh that takes the name of adirectory within the current working directory as a command-lineargument and prints the name and size of each file to standardoutput. You may assume there are no sub directories within thegiven directory.

Example output:

$ ./filesize.sh FILES

/FILES/examplefile1.txt

120916

/FILES/examplefile2.pyd

8393

Expert Answer


Answer to Write a shell script named filesize.sh that takes the name of a directory within the current working directory as a comm… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *