Question: This is done through Putty. I just need the codes or what to put in to complete this assignment. Chapter 2 Assignment: 1. Check your

This is done through Putty. I just need the codes or what to put in to complete this assignment.

Chapter 2 Assignment:

1. Check your terminal environmental setting echo $TERM

If the value of $TERM is not xterm, try changing to xterm

TERM=xterm

2. Send the output of the who command to a file name current. who > current

3. Append the number of users to the file named current. who | wc l >> current

4. Add the operating system to the file named current.

uname >> current

5. Add the operating system version to the file named current.

uname r >> current

6. Add the complete domain name to the file named current.

uname n >> current

7. Add the date and time to the file named current. date +%h %d at %H:%M

8. Use mailx to send the file named current to me:

mailx s Chapter 2 jkim < current (DISREGARD)

11. Use an sftp client such as filezilla access your home directory and download this current file. Attach it to the Black Board link.

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!