Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

1. Create a directory EMAIL in your HOME directory
2. Create a .mailrc file in your HOME directory. If one already exists modify it
3. Set up mailx as follows:
a. Use the alias command to assign names to a group users
b. Set up a file in the EMAIL directory to save your outgoing mail automatically
c. Set your mbox in the EMAIL directory
4. Send the following mail to yourself:
So little time and so much to do.
Could it be reversed?
So much time so little to do.
5. While mailx is in the inpute mode, use the vi editor to compose your mail.
6. Read the current date and time and append it to the end of your message.
7. Save the message in a file before transmitting it
8. Compose a few more messages in the sma e manner, using vi and other commands. And send them to yourself. This should give you enough messages to practice reading your mail.
9. Read your mail
10. Use all the commands in the mailx command mode, including delete, undelete, save and so on
11. Read your mail and exit mailx using the x command, then read your mail and exit mailx using the q command. Observe UNIX messages.
12. Use mailx and look at your mbox
13. Now find another partner and have a chat using prepare command
14. Set the mesg to n, then to y, and observe the effect with your partner.
Second
1. Create a shell script named LL that lists your directory in a long format
a. Execute LL using the sh command
b. Change LL to an executable file
c. Execute LL again
2. Create a script file that performs the following
a. Clears the screen
b. Skips two lines
c. Shows the current date and time
d. Shows the number of users on the system
e. Beeps a few times and shows the message NOW AT YOUR SERVICE
3. Modify the largest script file from this chapter to recognize the number of inputs and display appropriate messages
4. prepare a script file similar to largest that find outs the smallest of three integer numbers that are read from the keyboard. Make it able to recognize some input errors
5. Create a script file for each of the script exs in this chapter that were typed at the $ prompt. Make the appropriate modifications if necessary and run them. Use sh with the -x and other options to debug, and investigate the way shell scripts are executed.
6. prepare a script file that sums the numbers passed to it as arguments on the command line and displays the results . Use the for loop construct in your program. For ex if you name this program SUM and you type 
$ SUM 10 20 30 [Return]
The program displays the following
10 + 20 + 30 = 60
7. Reprepare the SUM program, this time using the while loop.
8. Reprepare the SUM program, this time using the until loop.
9. Modify the script file largest from this chapter to accept numbers from the command line. For ex, you type LARGEST 1 2 3 and the program displays 
The larges is: 3
10. Modify the script file greetings1 from this chapter and use cut command to find out the hour of the day
11. Create a script called file_checker that reads the filename entered and outputs the file properties such as exists, readable and so on
12. prepare a script file named b that shows the current date
13. prepare a script file named t that shows the current time
14. prepare a script file named s that displays the name of your current shell.
15. prepare a script file that checks if you have a .profile file in your HOME directory or not and displays an appropriate message. 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M989878

Have any Question?


Related Questions in Computer Engineering

Whats your answer about the equilibrium change from an

What's your answer about the equilibrium change from an event which decreases both demand and supply? You don't need to provide graph here. Just describe the curve shifts and how the equilibrium price and equilibrium qua ...

Tom works for a fruit company and found that the weights of

Tom works for a fruit company and found that the weights of pineapples are normally distributed with mean = 500 grams and standard deviation = 100 grams. a. If he randomly chooses 16 pineapples and measures their weights ...

An array a1 n is said to have a majority element if more

An array A[1 . . . n] is said to have a majority element if more than half of its entries are the same. Given an array, the task is to design an efficient algorithm to tell whether the array has a majority element, and, ...

Explain the risk of having hacking tools installed on your

Explain the risk of having hacking tools installed on your computer and why you should contact local law enforcement agencies before installing those tools.

A set of coins makes change fornbspnnbspif the sum of the

A set of coins makes change for n if the sum of the values of the coins is n. For example, if you have 1-cent, 2-cent and 4-cent coins, the following sets make change for 7: 7 1-cent coins 5 1-cent, 1 2-cent coins 3 1-ce ...

In recreational mathematics a magic square is an

In recreational mathematics, a magic square is an arrangement of distinct numbers (i.e. each number is used once usually integers, in a square grid, where the numbers in each row and in each column, and the numbers in th ...

Push technologythis week covered the emerging trends and

Push Technology This week covered the emerging trends and technologies that may affect businesses as well as consumers. The increase in physiological interaction is another trend that may change how businesses and consum ...

Why regulated industries should be required to follow

Why regulated industries should be required to follow security standards. Provide 2 examples of industries that would fall under this category.

Take a tour of your building on campus or at work what is

Take a tour of your building on campus or at work. What is secured at night when workers are absent? Record the location and type of physical access control devices. How do these access controls change at night when work ...

Using the following dataa sex- 7 males 1 female height-

Using the following data, A.) (Sex)- 7 males, 1 female. (Height)- 72,67,72,64,66,68,68,70. (Left or right handed)- 7 right handed, 1 left handed. Let's assume our class is truly representative of the population at large. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As