glass
pen
clip
papers
heaphones

Write a shell script (to run on the Bourne shell) that takes a file name as argument and then compresses and decompresses the file

Write a shell script (to run on the Bourne shell) that takes a file name as argument and then compresses and decompresses the file

Write a shell script (to run on the Bourne shell) that takes a file name as argument and then compresses and decompresses the file with each of the following programs: bzip2 gzip zip For each of the compressing programs, the script notes the size of the file before and after compression. Then, the script displays a table showing the compression program, uncompressed size, and compressed size. Before using a compressing program to manipulate the file, your script must verify that the file actually exists under the current directory and is readable. You would probably need to research the UNIX command named set. Your script for this task must be named compr.sh. Make sure your script is user-friendly and follows common sense.”  
edit: an extra bit from the question i forgot to put in at the end “Your script for this task must be named compr.sh. Make sure your script is user-friendly and follows common sense. Here is a sample output (The $ is the shell prompt, and ff is the file name): $ compr.sh ff File: ff bzip2 174145 13976 gzip 174145 11746 zip 174145 11879 (Note: This output shows that, before compressing, the size of the file named ff is 174145 bytes. After compressing using bzip2, its size becomes 13976 bytes. After compressing using gzip, its size becomes 11746 bytes. After compressing using zip, its size becomes 11879 bytes. The table shows that, for file ff, the most efficient compressing program is gzip. Please note that the columns of the table must be left-aligned.)”   

Oder Solution Now

Why Use Our Services

1. Professional & Expert Writers: AResearchers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by AResearchers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. AResearchers is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses. First time customer will receive three free pages on their first order. 

6. 24/7 Customer Support: At AResearchers, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.