Can someone post Screenshots for this Assignment?
CPT 247 Assignment Module 7-8
This assignment includes creation of a text document using Vi Editor and changing permissions to access the new file.
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:

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