Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a shell script to display the numbers of rows, columns and OS Type using system variables. Write a Shell Script that adds five numbers

image text in transcribed
Write a shell script to display the numbers of rows, columns and OS Type using system variables. Write a Shell Script that adds five numbers if provided as the command Line Argument and if the five numbers are not entered it outputs an Error Message. Write a for loop to be executed in sh which goes through your directory "/usr/XYZ/letters" (you are XYZ) and for each file in the directory, find the number of lines and display it with the name of the file. Write a shell script to pass the name of a file as a command line argument and check if it exist, then rename it as filename.new.hct, if not exist then display the message not exist. Define different types of users: how you can add a new user explain with the help of examples

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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

Students also viewed these Databases questions