Question: Create a dedicated directory homework 1 and get into it . > mkdir homework 1 ; cd homework 1 Complete the following three problems. Problem

Create a dedicated directory homework1 and get into it.
> mkdir homework1; cd homework1
Complete the following three problems.
Problem 1(3 points)
Run the commands
> echo hello dolly
and
> echo hello dolly # three spaces between hello and dolly
Explain the differences in command behavior as comment in your terminal (i.e. start your explanation with a #).
In a text file h1_p1.txt, copy the pertaining command(s) and their output(s) from your terminal.
Problem 2(3 points)
Use printf to find out the hex and octal values of 255.
In a file h1_p2.txt, copy the pertaining command(s) and their output(s) from your terminal.
Problem 3(4 points)
Display the current date in the form of dd/mm/yyyy.
In a file h1_p3.txt, copy the pertaining command(s) and their output(s) from your terminal.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!