Question

Can someone post Screenshots for this Assignment? CPT 247 Assignment Module 7-8 Complete each of the...

Can someone post Screenshots for this Assignment?

CPT 247 Assignment Module 7-8

  1. Complete each of the items listed below.
  2. When you have a completed item displayed on your screen, use “screen capture” or a “snipping tool” to take a picture of the item.
    • If you are unfamiliar with “screen capture” contact your instructor ASAP
  3. Paste the picture of the item into a Word document
  1. Above each picture include the item number and give the name of the item and a brief description of the purpose of the item

This assignment includes creation of a text document using Vi Editor and changing permissions to access the new file.

  1. Using the Fedora OS - Write a shell script that displays the following items :
    1. Currently logged-in users
    2. Systems host name
    3. Systems time and data
    4. Disk usage
    5. Current working directory
    6. Pathname to the BASH shell
  2. Using the Fedora OS – edit the boot loader to allow a 30 second TIMEOUT value
  3. Using the Ubuntu OS - Stop and Start the cron service


This UNIX Operating System.. Using VirtualBox application...
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please find the answer below.

1. Following screen shot explains how to create a file using VI editor and change permissions to it.

   a. vi <file-name> command opens a empty if file not exists.

b. Now edit the file name and "chmod" command is used to edit the permission.

Screen Shot:

2. Shel script in Fedora to display the contents of hostname, date, time, disk usage etc:

Program:

#! /bin/bash
echo "Currently logged in users are given below"
who
echo ""
echo "System hostname is Fedora8"
echo ""
echo "Current data and time is " `date`
echo ""
echo "Diskusage is given below"
df
echo ""
echo "Current working directory is " `pwd`
echo ""
echo "Pathname to BASH shell is " `which bash`
echo ""


Screen Shot:

3. Editing the boot loader config file to modify the timeout value as 30 seconds

a. Open the file /boot/grub/grub.cfg using vi editor and modify the timeout value as mentioned below screen shot.

Note: if the grub.cfg file is not present then use the menu.lst file from /boot/grub directory

Screen Shot:

4. Start and stop the cron job daemon in Ubuntu. Cron daemon is used for scheduling jobs to run automatically.

a. it can achieved by the command "service cron"

Commands:

service cron stop

service cron start

Screen Shot:

Add a comment
Know the answer?
Add Answer to:
Can someone post Screenshots for this Assignment? CPT 247 Assignment Module 7-8 Complete each of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT