Mcis 5013 030 Unix Operating System Summer 2768445

MCIS 5013(030) – Unix Operating System Summer I, 2018 Page 1 of 4 Project 2- bash script (200 Marks) No Name, ID and section name: 2 point deduction No output is provided: 10 point deduction, Don’t copy other students’ work Expected Output << MCIS 5013 – Unix Operating System >> date: wed June 20, 2018 Directory info analysis Report ============================== Document Preview:

MCIS 5013(030) – Unix Operating System Summer I, 2018 Project 2- bash script (200 Marks) No Name, ID and section name: 2 point deduction No output is provided: 10 point deduction, Don’t copy other students’ work Objective: Write a bash shell script that copies all files from your UnixShells to workngDir and analyze the new directory information such as number of files categorized by file permission and disk usage. Expected Output > date: wed June 20, 2018 Directory info analysis Report =========================================================================== A. Current Directory: /home/jongyk/UnixShells B. New Directory Created at: /home/jongyk/UnixShells/9123 C. File information 0) Total Number of files: 22 1) Directory files: 0 2) Plain text files: 10 3) Files have Read only permission: 3 4) Files have Read and Write permissions: 4 5) Files have Execute only permissions: 2 6) File have length of zero: 0 7) Others: 0 files D. Disk usage of this di: 50 Kb E. Biggest 5 files in directory: Lab3.class , Lab4.java, Lab5.class ========================================================================== Reported by: Jongyk Page 1 of 4MCIS 5013(030) – Unix Operating System Summer I, 2018 Direction 1. Make sure you are current directory on bash by issuing command echo $0 2. Write a bash shell script name “DirAnalyze+your 4 digit ID” #File name should be DirAnalyze+1864 3. The script need to be started with a line #! /bin/bash 4. Create a file named DirAnalyze_id.sh . put your name, section name and simple description for the assignment . print Title and date at the same line use echo command . Print Title and date at the same line use echo command and cut command

Attachments:

-Project-2—….pdf

Prof. Angela

4.6/5

Calculate Price


Price (USD)
$