SlideShare a Scribd company logo
1 of 5
Week 2 IP
Weekly tasks or assignments (Individual or Group Projects) will
be due
by
Monday and late submissions will be assigned a late penalty in
accordance with the late penalty policy found in the syllabus.
NOTE: All submission posting times are based on midnight
Central Time.
You now need to write a script for user maintenance. Write a
script that will perform the following tasks:
Prompt the system administrator for all valid input parameters
Generate a menu to ask which task is needed to be performed
Create a UNIX group
Drop a UNIX group
Create a user
Drop a user
Note that as part of the Create User section, a UNIX group
many be identified that does not already exist, so that group
will need to be created as part of the process.
A third script that you need to write will kill all of the
processes associated with a user. The following are the
requirements:
Prompt the system administrator for the target user name
List the running processes for that user
Confirm with the system administrator before killing the
processes
Kill the processes after confirmation
It is very important to note with this task that you should only
kill processes for a user and his or her running processes; do not
arbitrarily kill running daemons.
Include a discussion about the difference between user
processes and daemons.
What are daemons, and what are they used for?
What are the consequences of killing a daemon using this
script?
Add the 2 scripts and the discussion about daemons to the
project template section "UNIX Processes."
Week 3 IP
Weekly tasks or assignments (Individual or Group Projects) will
be due
by
Monday and late submissions will be assigned a late penalty in
accordance with the late penalty policy found in the syllabus.
NOTE: All submission posting times are based on midnight
Central Time.
To become familiar with Perl programs and to see how to
interact with the operating system, write a Perl program that
performs the following tasks:
Generate a menu to ask the user for the task that he or she
would like to see performed.
The available tasks are as follows:
Show current date and time.
Show users currently logged in.
Show the name of the working directory.
Show the contents of the working directory.
Prompt the user for the choice, and perform the system
command.
Also, describe how
variables
in Perl are handled, specifically with respect to the need for
declaration and type casting.
Add the script and the discussion about variables to the project
template section "Introduction to Perl."
week 4 IP
Weekly tasks or assignments (Individual or Group Projects) will
be due
by
Monday and late submissions will be assigned a late penalty in
accordance with the late penalty policy found in the syllabus.
NOTE: All submission posting times are based on midnight
Central Time.
Convert your second shell script (User Maintenance) into a Perl
script. This Perl script must perform the following tasks:
Generate a menu to ask the system administrator for the task
that he or she would like to see performed.
The available tasks are as follows:
Create a UNIX group.
Drop a UNIX group.
Create a user.
Drop a user.
Prompt the user for the choice, and perform the system
command.
In addition, check to make sure that before creating either the
user or the group that neither already exists; if it does already
exist, print out the existing user ID, comment field, and home
directory locations from the password file.
Include a discussion about what regular expressions are and
how Perl efficiently includes regular expression processing in
the language. Be sure to state examples.
Add the Perl code and the discussion about Regular Expressions
to the project template section "Writing Perl Programs."
week 5 IP
Weekly tasks or assignments (Individual or Group Projects) will
be due
by
Monday and late submissions will be assigned a late penalty in
accordance with the late penalty policy found in the syllabus.
NOTE: All submission posting times are based on midnight
Central Time.
You have completed the code for the automation of the required
tasks; the final step is to submit the script to the team for use.
After you have incorporated any appropriate feedback into your
project, one last requirement needs to be addressed.
Add to your Perl script the ability to kill a user’s processes
(from shell script 3). The requirements for this task include the
following:
Add this option to the menu.
Add the code/process into a subroutine.
Use an array to store the list of processes that need to be
reviewed and killed.
Process the kill using the array.
Next, you have been asked by different users to explain how to
compile a program in a UNIX environment.
Finally, take the following C program (save it as "power2.c"),
and create it as a file in your UNIX environment:
/* power2.c -- Print out powers of 2: 1, 2, 4, 8, .. up to 2^N */
#include
#define N 16
int main(void) {
int n; /* The current exponent */
int val = 1; /* The current power of 2 */
printf("t n t 2^nn");
printf("t================n");
for (n=0; n<=N; n++) {
printf("t%3d t %6dn", n, val);
val = 2*val;
}
return 0;
}
/* It prints out :
n 2^n
===============
0 1
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
9 512
10 1024
11 2048
12 4096
13 8196
14 16384
15 32768
16 65536
*/
(College of Science and Technology, n.d.)
Describe the behavior when you compile the program, with no
options. What is the command that you would use to compile
the code and create the executable "power2"?
Finally, compare and contrast the usage of a compiled and
interpreted program.

More Related Content

Similar to Week 2 IPWeekly tasks or assignments (Individual or Group Projec.docx

POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com donaldzs82
 
Case StudyA 32 year-old-female who recently delivered twin.docx
Case StudyA 32 year-old-female who recently delivered twin.docxCase StudyA 32 year-old-female who recently delivered twin.docx
Case StudyA 32 year-old-female who recently delivered twin.docxbartholomeocoombs
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxkarlhennesey
 
Pos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.comPos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.comjhonklinz34
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteUnit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteTushar B Kute
 
CNS440 – Lab Assignment Week 2 Complete Lab 1 Perfo.docx
CNS440 – Lab Assignment Week 2   Complete Lab 1 Perfo.docxCNS440 – Lab Assignment Week 2   Complete Lab 1 Perfo.docx
CNS440 – Lab Assignment Week 2 Complete Lab 1 Perfo.docxmary772
 
ops300 Project(3)
ops300 Project(3)ops300 Project(3)
ops300 Project(3)trayyoo
 
ops300 Project(4)
ops300 Project(4)ops300 Project(4)
ops300 Project(4)trayyoo
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorialVu Duy Tu
 
Pos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.comPos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.comrobertleses32
 
Assessment item 1 File Systems and Advanced Scripting .docx
Assessment item 1 File Systems and Advanced Scripting .docxAssessment item 1 File Systems and Advanced Scripting .docx
Assessment item 1 File Systems and Advanced Scripting .docxdavezstarr61655
 
Hhs en02 windows_and_linux
Hhs en02 windows_and_linuxHhs en02 windows_and_linux
Hhs en02 windows_and_linuxShoaib Sheikh
 
Program design in the UNIX environment
Program design in the UNIX environmentProgram design in the UNIX environment
Program design in the UNIX environmentmustafa sarac
 
ExampleIT-600Journal Entry 1Every operating system, whethe.docx
ExampleIT-600Journal Entry 1Every operating system, whethe.docxExampleIT-600Journal Entry 1Every operating system, whethe.docx
ExampleIT-600Journal Entry 1Every operating system, whethe.docxSANSKAR20
 
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0Haytham Ghandour
 
IRJET - Automation in Python using Speech Recognition
IRJET -  	  Automation in Python using Speech RecognitionIRJET -  	  Automation in Python using Speech Recognition
IRJET - Automation in Python using Speech RecognitionIRJET Journal
 
Convert a UNIX shell script (User Maintenance) into a Perl script. T.docx
Convert a UNIX shell script (User Maintenance) into a Perl script. T.docxConvert a UNIX shell script (User Maintenance) into a Perl script. T.docx
Convert a UNIX shell script (User Maintenance) into a Perl script. T.docxclayrhr
 
Non-functional Test Automation Approach
Non-functional Test Automation ApproachNon-functional Test Automation Approach
Non-functional Test Automation ApproachPavel Yakovlev
 

Similar to Week 2 IPWeekly tasks or assignments (Individual or Group Projec.docx (20)

POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com POS 433 Enhance teaching - snaptutorial.com
POS 433 Enhance teaching - snaptutorial.com
 
Case StudyA 32 year-old-female who recently delivered twin.docx
Case StudyA 32 year-old-female who recently delivered twin.docxCase StudyA 32 year-old-female who recently delivered twin.docx
Case StudyA 32 year-old-female who recently delivered twin.docx
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
 
Pos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.comPos 433 Effective Communication-snaptutorial.com
Pos 433 Effective Communication-snaptutorial.com
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteUnit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
 
CNS440 – Lab Assignment Week 2 Complete Lab 1 Perfo.docx
CNS440 – Lab Assignment Week 2   Complete Lab 1 Perfo.docxCNS440 – Lab Assignment Week 2   Complete Lab 1 Perfo.docx
CNS440 – Lab Assignment Week 2 Complete Lab 1 Perfo.docx
 
ops300 Project(3)
ops300 Project(3)ops300 Project(3)
ops300 Project(3)
 
ops300 Project(4)
ops300 Project(4)ops300 Project(4)
ops300 Project(4)
 
Shell tutorial
Shell tutorialShell tutorial
Shell tutorial
 
Pos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.comPos 433 Exceptional Education-snaptutorial.com
Pos 433 Exceptional Education-snaptutorial.com
 
Assessment item 1 File Systems and Advanced Scripting .docx
Assessment item 1 File Systems and Advanced Scripting .docxAssessment item 1 File Systems and Advanced Scripting .docx
Assessment item 1 File Systems and Advanced Scripting .docx
 
Hhs en02 windows_and_linux
Hhs en02 windows_and_linuxHhs en02 windows_and_linux
Hhs en02 windows_and_linux
 
Program design in the UNIX environment
Program design in the UNIX environmentProgram design in the UNIX environment
Program design in the UNIX environment
 
ExampleIT-600Journal Entry 1Every operating system, whethe.docx
ExampleIT-600Journal Entry 1Every operating system, whethe.docxExampleIT-600Journal Entry 1Every operating system, whethe.docx
ExampleIT-600Journal Entry 1Every operating system, whethe.docx
 
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
 
IRJET - Automation in Python using Speech Recognition
IRJET -  	  Automation in Python using Speech RecognitionIRJET -  	  Automation in Python using Speech Recognition
IRJET - Automation in Python using Speech Recognition
 
Convert a UNIX shell script (User Maintenance) into a Perl script. T.docx
Convert a UNIX shell script (User Maintenance) into a Perl script. T.docxConvert a UNIX shell script (User Maintenance) into a Perl script. T.docx
Convert a UNIX shell script (User Maintenance) into a Perl script. T.docx
 
7th sem
7th sem7th sem
7th sem
 
7th sem
7th sem7th sem
7th sem
 
Non-functional Test Automation Approach
Non-functional Test Automation ApproachNon-functional Test Automation Approach
Non-functional Test Automation Approach
 

More from candycemidgley

Week 2 DiscussionPlease respond to one of the following questi.docx
Week 2 DiscussionPlease respond to one of the following questi.docxWeek 2 DiscussionPlease respond to one of the following questi.docx
Week 2 DiscussionPlease respond to one of the following questi.docxcandycemidgley
 
Week 2 Discussion 1- 51415Social Versus Human CapitalThis we.docx
Week 2 Discussion 1- 51415Social Versus Human CapitalThis we.docxWeek 2 Discussion 1- 51415Social Versus Human CapitalThis we.docx
Week 2 Discussion 1- 51415Social Versus Human CapitalThis we.docxcandycemidgley
 
Week 2 discussion topic1) Computer security is essential to .docx
Week 2 discussion topic1) Computer security is essential to .docxWeek 2 discussion topic1) Computer security is essential to .docx
Week 2 discussion topic1) Computer security is essential to .docxcandycemidgley
 
Week 2 Discussion - Best Places to WorkLooking at the top three (3.docx
Week 2 Discussion - Best Places to WorkLooking at the top three (3.docxWeek 2 Discussion - Best Places to WorkLooking at the top three (3.docx
Week 2 Discussion - Best Places to WorkLooking at the top three (3.docxcandycemidgley
 
Week 2 Argument Paper Outline TemplateENG200 Version 2 1.docx
Week 2 Argument Paper Outline TemplateENG200 Version 2 1.docxWeek 2 Argument Paper Outline TemplateENG200 Version 2 1.docx
Week 2 Argument Paper Outline TemplateENG200 Version 2 1.docxcandycemidgley
 
Week 2 Assignment 1Challenges of Transitioning in a Professional E.docx
Week 2 Assignment 1Challenges of Transitioning in a Professional E.docxWeek 2 Assignment 1Challenges of Transitioning in a Professional E.docx
Week 2 Assignment 1Challenges of Transitioning in a Professional E.docxcandycemidgley
 
Week 2Testing means - T-testsIn qu.docx
Week 2Testing means - T-testsIn qu.docxWeek 2Testing means - T-testsIn qu.docx
Week 2Testing means - T-testsIn qu.docxcandycemidgley
 
Week 11a.Analyze the need for unbiased financial repor.docx
Week 11a.Analyze the need for unbiased financial repor.docxWeek 11a.Analyze the need for unbiased financial repor.docx
Week 11a.Analyze the need for unbiased financial repor.docxcandycemidgley
 
Week 2 What is driving the need for this transformational change (.docx
Week 2 What is driving the need for this transformational change (.docxWeek 2 What is driving the need for this transformational change (.docx
Week 2 What is driving the need for this transformational change (.docxcandycemidgley
 
This is for a case study on Jeffery Dahmer.I needBiological Fa.docx
This is for a case study on Jeffery Dahmer.I needBiological Fa.docxThis is for a case study on Jeffery Dahmer.I needBiological Fa.docx
This is for a case study on Jeffery Dahmer.I needBiological Fa.docxcandycemidgley
 
This is due in 24 hoursThere are 4 big questions in total. The a.docx
This is due in 24 hoursThere are 4 big questions in total. The a.docxThis is due in 24 hoursThere are 4 big questions in total. The a.docx
This is due in 24 hoursThere are 4 big questions in total. The a.docxcandycemidgley
 
this is first questionDo you feel that the TCPIP model is more or.docx
this is first questionDo you feel that the TCPIP model is more or.docxthis is first questionDo you feel that the TCPIP model is more or.docx
this is first questionDo you feel that the TCPIP model is more or.docxcandycemidgley
 
This is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docx
This is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docxThis is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docx
This is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docxcandycemidgley
 
This is assignment is due tomorrow.Reread the discussion board res.docx
This is assignment is due tomorrow.Reread the discussion board res.docxThis is assignment is due tomorrow.Reread the discussion board res.docx
This is assignment is due tomorrow.Reread the discussion board res.docxcandycemidgley
 
This is basic college admissions essay.There are many interest.docx
This is basic college admissions essay.There are many interest.docxThis is basic college admissions essay.There are many interest.docx
This is basic college admissions essay.There are many interest.docxcandycemidgley
 
This is an open-book essay exam. Please answer both questions in.docx
This is an open-book essay exam. Please answer both questions in.docxThis is an open-book essay exam. Please answer both questions in.docx
This is an open-book essay exam. Please answer both questions in.docxcandycemidgley
 
This is for a discussion post! Need to have one resource!!!To .docx
This is for a discussion post! Need to have one resource!!!To .docxThis is for a discussion post! Need to have one resource!!!To .docx
This is for a discussion post! Need to have one resource!!!To .docxcandycemidgley
 
This is for kristine tutor  Make sure I do not want to get a.docx
This is for  kristine tutor  Make sure I do not want to get a.docxThis is for  kristine tutor  Make sure I do not want to get a.docx
This is for kristine tutor  Make sure I do not want to get a.docxcandycemidgley
 
This is an extra credit assignment. You are to write an essay on one.docx
This is an extra credit assignment. You are to write an essay on one.docxThis is an extra credit assignment. You are to write an essay on one.docx
This is an extra credit assignment. You are to write an essay on one.docxcandycemidgley
 
This is an ELL(English Language Learner) assignmentFrom your requi.docx
This is an ELL(English Language Learner) assignmentFrom your requi.docxThis is an ELL(English Language Learner) assignmentFrom your requi.docx
This is an ELL(English Language Learner) assignmentFrom your requi.docxcandycemidgley
 

More from candycemidgley (20)

Week 2 DiscussionPlease respond to one of the following questi.docx
Week 2 DiscussionPlease respond to one of the following questi.docxWeek 2 DiscussionPlease respond to one of the following questi.docx
Week 2 DiscussionPlease respond to one of the following questi.docx
 
Week 2 Discussion 1- 51415Social Versus Human CapitalThis we.docx
Week 2 Discussion 1- 51415Social Versus Human CapitalThis we.docxWeek 2 Discussion 1- 51415Social Versus Human CapitalThis we.docx
Week 2 Discussion 1- 51415Social Versus Human CapitalThis we.docx
 
Week 2 discussion topic1) Computer security is essential to .docx
Week 2 discussion topic1) Computer security is essential to .docxWeek 2 discussion topic1) Computer security is essential to .docx
Week 2 discussion topic1) Computer security is essential to .docx
 
Week 2 Discussion - Best Places to WorkLooking at the top three (3.docx
Week 2 Discussion - Best Places to WorkLooking at the top three (3.docxWeek 2 Discussion - Best Places to WorkLooking at the top three (3.docx
Week 2 Discussion - Best Places to WorkLooking at the top three (3.docx
 
Week 2 Argument Paper Outline TemplateENG200 Version 2 1.docx
Week 2 Argument Paper Outline TemplateENG200 Version 2 1.docxWeek 2 Argument Paper Outline TemplateENG200 Version 2 1.docx
Week 2 Argument Paper Outline TemplateENG200 Version 2 1.docx
 
Week 2 Assignment 1Challenges of Transitioning in a Professional E.docx
Week 2 Assignment 1Challenges of Transitioning in a Professional E.docxWeek 2 Assignment 1Challenges of Transitioning in a Professional E.docx
Week 2 Assignment 1Challenges of Transitioning in a Professional E.docx
 
Week 2Testing means - T-testsIn qu.docx
Week 2Testing means - T-testsIn qu.docxWeek 2Testing means - T-testsIn qu.docx
Week 2Testing means - T-testsIn qu.docx
 
Week 11a.Analyze the need for unbiased financial repor.docx
Week 11a.Analyze the need for unbiased financial repor.docxWeek 11a.Analyze the need for unbiased financial repor.docx
Week 11a.Analyze the need for unbiased financial repor.docx
 
Week 2 What is driving the need for this transformational change (.docx
Week 2 What is driving the need for this transformational change (.docxWeek 2 What is driving the need for this transformational change (.docx
Week 2 What is driving the need for this transformational change (.docx
 
This is for a case study on Jeffery Dahmer.I needBiological Fa.docx
This is for a case study on Jeffery Dahmer.I needBiological Fa.docxThis is for a case study on Jeffery Dahmer.I needBiological Fa.docx
This is for a case study on Jeffery Dahmer.I needBiological Fa.docx
 
This is due in 24 hoursThere are 4 big questions in total. The a.docx
This is due in 24 hoursThere are 4 big questions in total. The a.docxThis is due in 24 hoursThere are 4 big questions in total. The a.docx
This is due in 24 hoursThere are 4 big questions in total. The a.docx
 
this is first questionDo you feel that the TCPIP model is more or.docx
this is first questionDo you feel that the TCPIP model is more or.docxthis is first questionDo you feel that the TCPIP model is more or.docx
this is first questionDo you feel that the TCPIP model is more or.docx
 
This is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docx
This is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docxThis is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docx
This is due by 2000 tonight EST.  It must be 300+ words, MLA, and a.docx
 
This is assignment is due tomorrow.Reread the discussion board res.docx
This is assignment is due tomorrow.Reread the discussion board res.docxThis is assignment is due tomorrow.Reread the discussion board res.docx
This is assignment is due tomorrow.Reread the discussion board res.docx
 
This is basic college admissions essay.There are many interest.docx
This is basic college admissions essay.There are many interest.docxThis is basic college admissions essay.There are many interest.docx
This is basic college admissions essay.There are many interest.docx
 
This is an open-book essay exam. Please answer both questions in.docx
This is an open-book essay exam. Please answer both questions in.docxThis is an open-book essay exam. Please answer both questions in.docx
This is an open-book essay exam. Please answer both questions in.docx
 
This is for a discussion post! Need to have one resource!!!To .docx
This is for a discussion post! Need to have one resource!!!To .docxThis is for a discussion post! Need to have one resource!!!To .docx
This is for a discussion post! Need to have one resource!!!To .docx
 
This is for kristine tutor  Make sure I do not want to get a.docx
This is for  kristine tutor  Make sure I do not want to get a.docxThis is for  kristine tutor  Make sure I do not want to get a.docx
This is for kristine tutor  Make sure I do not want to get a.docx
 
This is an extra credit assignment. You are to write an essay on one.docx
This is an extra credit assignment. You are to write an essay on one.docxThis is an extra credit assignment. You are to write an essay on one.docx
This is an extra credit assignment. You are to write an essay on one.docx
 
This is an ELL(English Language Learner) assignmentFrom your requi.docx
This is an ELL(English Language Learner) assignmentFrom your requi.docxThis is an ELL(English Language Learner) assignmentFrom your requi.docx
This is an ELL(English Language Learner) assignmentFrom your requi.docx
 

Recently uploaded

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

Week 2 IPWeekly tasks or assignments (Individual or Group Projec.docx

  • 1. Week 2 IP Weekly tasks or assignments (Individual or Group Projects) will be due by Monday and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time. You now need to write a script for user maintenance. Write a script that will perform the following tasks: Prompt the system administrator for all valid input parameters Generate a menu to ask which task is needed to be performed Create a UNIX group Drop a UNIX group Create a user Drop a user Note that as part of the Create User section, a UNIX group many be identified that does not already exist, so that group will need to be created as part of the process. A third script that you need to write will kill all of the processes associated with a user. The following are the requirements: Prompt the system administrator for the target user name List the running processes for that user Confirm with the system administrator before killing the processes Kill the processes after confirmation It is very important to note with this task that you should only kill processes for a user and his or her running processes; do not arbitrarily kill running daemons. Include a discussion about the difference between user processes and daemons. What are daemons, and what are they used for? What are the consequences of killing a daemon using this
  • 2. script? Add the 2 scripts and the discussion about daemons to the project template section "UNIX Processes." Week 3 IP Weekly tasks or assignments (Individual or Group Projects) will be due by Monday and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time. To become familiar with Perl programs and to see how to interact with the operating system, write a Perl program that performs the following tasks: Generate a menu to ask the user for the task that he or she would like to see performed. The available tasks are as follows: Show current date and time. Show users currently logged in. Show the name of the working directory. Show the contents of the working directory. Prompt the user for the choice, and perform the system command. Also, describe how variables in Perl are handled, specifically with respect to the need for declaration and type casting. Add the script and the discussion about variables to the project template section "Introduction to Perl." week 4 IP Weekly tasks or assignments (Individual or Group Projects) will be due by
  • 3. Monday and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time. Convert your second shell script (User Maintenance) into a Perl script. This Perl script must perform the following tasks: Generate a menu to ask the system administrator for the task that he or she would like to see performed. The available tasks are as follows: Create a UNIX group. Drop a UNIX group. Create a user. Drop a user. Prompt the user for the choice, and perform the system command. In addition, check to make sure that before creating either the user or the group that neither already exists; if it does already exist, print out the existing user ID, comment field, and home directory locations from the password file. Include a discussion about what regular expressions are and how Perl efficiently includes regular expression processing in the language. Be sure to state examples. Add the Perl code and the discussion about Regular Expressions to the project template section "Writing Perl Programs." week 5 IP Weekly tasks or assignments (Individual or Group Projects) will be due by Monday and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus. NOTE: All submission posting times are based on midnight Central Time. You have completed the code for the automation of the required
  • 4. tasks; the final step is to submit the script to the team for use. After you have incorporated any appropriate feedback into your project, one last requirement needs to be addressed. Add to your Perl script the ability to kill a user’s processes (from shell script 3). The requirements for this task include the following: Add this option to the menu. Add the code/process into a subroutine. Use an array to store the list of processes that need to be reviewed and killed. Process the kill using the array. Next, you have been asked by different users to explain how to compile a program in a UNIX environment. Finally, take the following C program (save it as "power2.c"), and create it as a file in your UNIX environment: /* power2.c -- Print out powers of 2: 1, 2, 4, 8, .. up to 2^N */ #include #define N 16 int main(void) { int n; /* The current exponent */ int val = 1; /* The current power of 2 */ printf("t n t 2^nn"); printf("t================n"); for (n=0; n<=N; n++) { printf("t%3d t %6dn", n, val); val = 2*val; } return 0; } /* It prints out : n 2^n =============== 0 1 1 2 2 4 3 8
  • 5. 4 16 5 32 6 64 7 128 8 256 9 512 10 1024 11 2048 12 4096 13 8196 14 16384 15 32768 16 65536 */ (College of Science and Technology, n.d.) Describe the behavior when you compile the program, with no options. What is the command that you would use to compile the code and create the executable "power2"? Finally, compare and contrast the usage of a compiled and interpreted program.