Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Run these exercises on uisacad5. Create a folder named assignment2 and write the first three programs listed below. Your grade will be based only on

image text in transcribed

Run these exercises on uisacad5. Create a folder named assignment2 and write the first three programs listed below. Your grade will be based only on the first three exercises only but please do the observe the behavior of each command. Make sure you follow the guidelines for submitting assignments as described in the Course Syllabus. Exercises 1. Write a program called nf.sh to display the number of files in your current directory 2. Write a program called whos.sh to display a sorted list of the logged-in users. Just display the usernames and no other information. 3. Write a program called twice.sh that takes a single integer argument and double its value Example /twice.sh 15 30 /twice 0 4. Given the following variable assignments y ? z-one two three now-s> And these files in your current directory: names test1 u vv zebra What is the output of the following commands? Secho error $echo $x Secho "Sy" Secho $z wc-I Secho "Sz wc -l Secho Snow Secho hello Ssymbol out Secho " Secho 'ls 5 4> 18? Secho Secho IS$symbol Secho $Ssymbol

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

Students also viewed these Databases questions

Question

Be familiar with the basic ways to manage capacity.

Answered: 1 week ago