.

SYST10082 Operating Systems Fundamentals Assignment Help

SYST10082 Operating Systems Fundamentals
Faculty of Applied Science & Technology
Operating Systems Fundamentals (SYST10082)
(Groups of 2-3; weighted 10%)
Sheridan College Canada

Instructions: Do all questions and ensure appropriate error checking is done for each question.

Problem #1 [10 marks]

Write a Bash script that takes an integer number, n, as a command line argument and then compute n numbers in the fibonnacci series. Display each number in the series to the screen. Do appropriate error checking.

Problem #2 [10 marks]

Write a Bash script that takes a list of login names on your computer system as command line arguments, and displays these login names, full names and user-ids of the users who own these logins (as contained in the /etc/passwd file), one per line. If a login name is invalid (not found in the /etc/passwd file), display the login name and an appropriate error message. Do appropriate error checking.

Problem #3 [10 marks]

Write a Bash script that takes a directory name as a command line argument and clean the directory by removing all the files with a zero length, with a .tmp or with a .swp extension that is found in this directory (note that sometimes .swp and .tmp files are hidden). After the directory has been cleaned, create an archive of this directory and then compress the archive file and place it in your ~ directory. Do appropriate error checking.

Problem #4 (Putting it all together) [10 marks]

Write a Bash script that displays the following menu and prompts the user for a one-character input to invoke a menu option and perform the appropriate actions as shown below. Use the solution-scripts in problems 1, 2 & 3 for menu selections a, b & c respectively. As such you do not need to re-write the solutions for those options, just use them to fulfill the requirements of selections a, b & c.

  1. Fibonacci Series
  2. Login and User Name Information
  3. Clean and backup directory
  4. Exit

The program exits only when the user selects option ‘x’. Use a case selection structure and an appropriate looping construct to control the program flow.

Name Of Canada universities

  • ⯈ Durham College
  • ⯈ Fanshawe College
  • ⯈ Fraser International College
  • ⯈ George Brown College
  • ⯈ University of Ottawa
  • ⯈ University of Victoria
  • Abbotsford School District
  • Acadia University
  • Algonquin College
  • Bodwell High School
  • Brock University
  • Brooklyn College
  • Cambrian College of Applied Art and Technology
  • Camosun College
  • Canadian College of English Language (CCEL)
  • Canadore College
  • Cape Breton University
  • Capilano University
  • Carleton University
  • Centennial College
  • CLLC – Canadian Language Learning College
  • Columbia College
  • Columbia International College
  • Conestoga College
  • Confederation College
  • Coquitlam School District No. 43
  • CultureWorks
  • Dalhousie University
  • Douglas College
  • East Coast School of Languages (ECSL)
  • EC Language Centres
  • Emily Carr University of Art And Design
  • Fleming College
  • Georgian College
  • Global Village English Centres
  • Greystone College
  • Humber College
  • ILAC - International Language Academy of Canada
  • ILSC
  • International College of Manitoba (ICM)
  • Kaplan PLI
  • Kings University College at Western University
  • Kwantlen Polytechnic University
  • Lakehead University
  • Langara College
  • LaSalle College
  • Laurentian University
  • Loyalist College
  • Mount Royal University
  • Niagara College
  • North Island College
  • Northern College
  • NSCAD University
  • OCAD University
  • Okanagan College
  • Ottawa-Carleton District School Board
  • Queen’s University
  • Peirce College for Working Adults
  • Red River College
  • Royal Roads University
  • Ryerson University
  • Saskatchewan Polytechnic
  • Selkirk College
  • Sheridan College
  • St. Clair College
  • St. Francis Xavier University
  • St. Lawrence College of Applied Arts and Technology
  • Study Group at Royal Roads University
  • Surrey School District No. 36
  • The High School at Vancouver Island University
  • Thompson Rivers University
  • Trent University
  • Trinity Western University
  • University Canada West
  • University Of Alberta
  • University of Guelph
  • University of Northern British Columbia
  • University of Ontario Institute of Technology
  • University of Prince Edward Island
  • University of Regina
  • University of Saskatchewan
  • University of the Fraser Valley
  • University of Waterloo
  • University of Windsor
  • Vancouver Island University
  • Wilfrid Laurier University
  • York University
.