Free Essay

Unix

In:

Submitted By nywrestling140
Words 2541
Pages 11
Unix Final

Final1|FINAL1|final1|1)
#!/bin/bash
echo " FINAL-ONE" #name of final echo " Pick Either One of the below Options: " #tells user what to do echo "1) Addition 2) Quotient 3) Product 4) Difference" # user can pick 1 2 3 4 echo " Othewise, please enter 5 to exit the program" # user can eneter 5 to quit echo " Warnning!: If You Wish to Exit the Program You Must Enter 5" # warns user to enter 5 to quit echo " Any Other Not Option Key Will Produce An Error Message" #tells user if they eneter anything other than 1 2 3 4 5 error will appear echo " " read option #reads in option while [ $option != 5 ] # if option not 5 then goes into loop do echo "Please Enter Two Numbers" #prompts user to enter 2 numbers read num1#reads 1st num read num2#reads 2nd num case $option in
Addition|ADDITION|addition|1) #can be entered anyone of those ways echo "The addition of $num1 and $num2 is `expr $num1 + $num2`";; # adds1 and 2 if user picks addition
Quotient|QUOTIENT|quotient|2) #can be entered anyone of those ways echo "The Quotient of $num1 and $num2 is `expr $num1 \% $num2`";; #divides num1 and num 2
Product|PRODUCT|product|3) # can be entered anyone of those ways echo "The Product of $num1 and $num2 is `expr $num1 \* $num2`";; # multiplies num 1 and num2
Difference|DIFFERENCE|difference|4)
if [ $num2 == 0 ] #num2 cant = zero then echo "Please Note that if you devife $num1 by $num2 an error will occur" #if num2 equals zero outputs this message echo "Do you want to devide $num1 by another number" #asks user to enter another number echo "If so enter yes, otherwise enter no." #asks user what they want to do read option2 # reads in option if [ $option2 == yes ] # if yes then goes into loop then echo "Please enter another number below:" #asks user for number read num2 #reads num2 in fi fi echo "The Difference of $num1 and $num2 is `expr $num1 / $num2`";; #divides num 1 and num2
*) echo "$option is not an Option, sorry!";; # if anything other than 1 2 3 4 5 outputs that message esac echo "Do You Wish to Stop Using the Program?" #asks user if they are done echo "If so Enter 5, Otherwise Enter Another Option From Above" #enter 5 if so if not enter in another option read option #reads option

done echo "Good Bye!"

Final2|FINAL2|final2|2)
#Source Code No.2
#Discription: This Program wil ask the user to input any number.
#Then. It will display to the user such number in words.
#Note: This could easily be modified to cover numbers within a greater range.

#!/bin/bash echo " FINAL-TWO" echo "Please Enter Any Number within the Ranges 0 to 30 to Translate it into Words" echo " or q to Exit the Program Immidiately"

#Warnning the user of how to use the program. echo "Warnning!: " echo " To Avoid Any Error Message Please Enter the Number in the Following Order" echo " 01...09,10 and so on." read i
#Saving Input Number

#Loop to Allow User to Use the Script as much as q is Entered. while [ $i != q ] do #Displaying Numbers less than 20. if [ $i \< 20 ] then case $i in
0|0) echo "The Number You Have Entered is Zero";;
1|01) echo "The Number You Have Entered is One";;
2|02) echo "The Number You Have Entered is Two";;
3|03) echo "The Number You Have Entered is Three";;
4|04) echo "The Number You Have Entered is Four";;
5|05) echo "The Number You Have Entered is Five";;
6|06) echo "The Number You Have Entered is Six";;
7|07) echo "The Number You Have Entered is Seven";;
8|08) echo "The Number You Have Entered is Eight";;
9|09) echo "The Number You Have Entered is Nine";;
10) echo "The Number You Have Entered is Ten";;
11) echo "The Number You Have Entered is Eleven";;
12) echo "The Number You Have Entered is Twelve";;
13) echo "The Number You Have Entered is Thirteenth";;
14) echo "The Number You Have Entered is Fourteenth";;
15) echo "The Number You Have Entered is Fifteenth";;
16) echo "The Number You Have Entered is Sixteenth";;
17) echo "The Number You Have Entered is Seventeenth";;
18) echo "The Number You Have Entered is Eigtheenth";;
19) echo "The Number You have Entered is Nineteenth";;
*) echo "Sorry $i is not within the range 0-30";; esac fi

#Reading digits of an input number greater than 19 and saving it. i2=$(echo $i |cut -c 1) i3=$(echo $i |cut -c 2)

if [ $i == 0 ] then digit=" " elif [ $i == 1 ] then digit=One elif [ $i == 2 ] then digit=Two elif [ $i == 3 ] then digit=Three elif [ $i == 4 ] then digit=Four elif [ $i == 5 ] then digit=Five elif [ $i == 6 ] then digit=Six elif [ $i == 7 ] then digit=Seven elif [ $i == 8 ] then digit=Eight elif [ $i == 9 ] then digit=Nine fi if [ $i \> 30 ] then echo "Sorry $i is out of the given range 0-30" else #Displaying Numbers greater than 19 case $i2 in
2)echo "The Number You Have Entered is Twenty $digit";;
3)echo "The Number You Have Entered is Thirty $digit";; esac fi

#Giving the user an option to keep using the script. echo " " echo " Do You Wish to Continue Using the Program?" echo "If so then Enter Another Number of Your Choice, to Quit Enter q" read i done echo "Good Bye!";;

Final3|FINAL3|final3|3)
#Source Code No.3
#Discription: This program wil give an user the option to a Month Name or Number of a Year.
#Then. It will give the user the Major Holiday of the that Particular Month.

#!/bin/bash echo " FINAL-THREE" echo "Please Enter a Month Name or Number to Know its Major Holiday" echo " Or Enter q to Immidiately Exit the Program" read month
#Saving User's Input

while [ $month != q ] # if month not equal to q it goes into loop do case $month in
Jnuary|JANUARY|january|1) #January can be entered an of those ways if [ $month == 1 ] #if either January or 1 goes into loop then echo "In the First Month New Year's is a Big Holiday" else echo "In $month New Year's Day is a Big Holiday" fi;; February|FEBRUARY|february|2) #can be entered an of those ways if [ $month == 2 ] #if February or 2 goes into loop then echo "In the Sencond Month Valantines's Day is a Big Holiday" else echo "In $month Valantines's Day is a Big Holiday" fi;; March|MARCH|march|3) #can be entered an of those ways if [ $month == 3 ] #if march or 3 goes into loop then echo "In the Third Month V Easter Day is a Big Holiday" else echo "In $month Easter Day is a Big Holiday" fi;; April|APRIL|april|4) #can be entered an of those ways if [ $month == 4 ] #if april or 4 goes into loop then echo "In the Fourth Month Easter is Big Holiday". else echo "In $month Easter Day is a Big Holiday" fi;; May|MAY|may|5) #can be entered an of those ways if [ $month == 5 ] #if may or 5 goes into loop then echo "In the Fifth Month Memorial Day is a Big Holiday". else echo "In $month Memorial Day is a Big Holiday" fi;; June|JUNE|june|6) #can be entered an of those ways if [ $month == 6 ] #if june or 6 goes into loop then echo "In the Sixth Month The Flags's Day is a Big Holiday" else echo "In $month Flag's Day is a Big Holiday" fi;; July|JULY|july|7) #can be entered an of those ways if [ $month == 7 ] #if july or 7 goes into loop then echo "In the Seventh Month The Independence Day is a Big Holiday" else echo "In $month Independence Day is a Big Holiday" fi;; August|AUGUST|august|8) #can be entered an of those ways

if [ $month == 8 ] #if august or 8 goes into loop then echo "In the Eighth Month There is My Birthday" else echo "In $month There is My Birthday" fi;; Septermber|SEPTEMBER|september|9) #can be entered an of those ways if [ $month == 9 ] #if September or 9 goes into loop then echo "In the Nineth Month Labor Day is a Big Holiday" else echo "In $month Labor Day is a Big Holiday" fi;; October|OCTOBER|ocober|10) #can be entered an of those ways if [ $month == 10 ] #if October or 10 goes into loop then echo "In the Tenth Month Halloween Day is a Big Holiday" else echo "In $month Halloween Day is a Big Holiday" fi;; November|NOVEMBER|november|11) #can be entered an of those ways if [ $month == 11 ] if November or 11 goes into loop then echo "In the Eleventh Month Thanksgiving Day is a Big Holiday" else echo "In $month Thanksgiving is a Big Holiday" fi;; December|DECEMBER|december|12) #can be entered an of those ways if [ $month == 12 ] #if December or 12 goes into loop then echo "In the Twelveth Month Christmas Day is a Big Holiday" else echo "In $month Christmass is a Big Holiday" fi;; *) echo "$month is not a Valid Month";; # if user enters something other than one of the months outputs this esac echo " " echo " Do Still Wish to Continue Using This Program?" #asks user if they want to use the program again echo "If so Just Enter Another Month Name or Number of Your Preference." #user enters another month echo " Otherise, You May Enter to q Quit the Program." #they must enter q to quit read month # reads in month done echo "Good Bye!"

Final4|FINAL4|final4|4)

#Source Code No.4
#Discription: This program wil allow the user to input many numbers as long as p is not entered..
#Then. It will tell the user the highest and lowest along with the total and average of the input numbers.

#!/bin/bash counter=0 echo " FINAL-FOUR" echo "This Program Finds the Highes, Lowest, Total and Average of" echo " any Convination of Numbers You Input" echo " "

x=0 until [ $x == q ] do echo " Warning!: Before You Enter Any Number" echo " Make Sure You Input it in the Following Format" echo " Ex: If Your Maximum Input is 1000 Every Number" echo " Must Be within the Decimal Range 0001, 0010, 0100" echo " And so on." echo " " echo " Please Enter q to Exit this Program Immidiately" echo " " echo "Please Enter a Number or q to Exit the Program" read number
Lowest=$number
Highest=$number sum=0 while [ $number != q ] #Loop to allow the user input as many number as wish. do counter=`expr $counter + 1` #Counting the amount of numbers input by the user. sum=`expr $sum + $number` #Summing each number input within the loop. echo "Please Enter Another Number or q to Quit" read number #Giving to the User the Choice to quit. if [ $number != q ] if [ $Lowest \> $number ] then Lowest=$number elif [ $Highest \< $number ] #Finding the Highest Number. then Highest=$number else continue fi else continue fi done echo "_____________________________________________" echo " " echo " Data Table" echo "_____________________________________________" echo "Highest Number Lowest Number Total Average" echo "---------------------------------------------" echo "$Highest $Lowest $sum $Average" echo "---------------------------------------------" echo " " echo " Do You Want to Continue Using this Program?" echo "If so Enter One of the Above Options, Otherwise Enter q to Quit." read x done echo "Good Bye!"

Final5|FINAL5|final5|5)

#Random Number Generator
#Source Code No.5
#Discription: This code wil give an user chance to guess a random number
#as many times as the user wish. Then. it will tell the user the amount of
#tries lost, won and its total. The program also will determine whether you win or not.

#!/bin/bash echo " FINAL-FIVE" echo " Welcome to the Number Guessing Game" echo " -----------------------------------" echo "Please Guess a Number or Enter q to Exit the Program:" read num1
#Saving the guess enter by the user. counter=0 counter1=0 counter2=0 x=0 while [ $num1 != q ] #Loop to play the guessing game as long as the user type p. do counter=`expr $counter + 1` #counting the number of times the user decide to play. counter2=`expr $counter - $counter1` #calculating the numbe of times lost by the user.
RANGE=60
num=$RANDOM let “num %=$RANGE” #Obtaining a random number.
Echo $num if [ $num1 == $num ] then counter1=`expr $counter + 1` #Couting the number of times the user wins. echo "Congratulations Your Guess is Right" elif [ $num1 \> $num ] #Checking if guessed number is Higher or Lower. then echo "Your Guess is Too High!" else echo "Your Guess is Too Low!" fi echo "The Number is $num and You Guessed $num1" #Displaying Guessed and Random Number. echo "Do still want to play?" echo "Please Enter Another Guess, or q to Quit" #Giving the user a choice to quit after each game. read num1 #Saving Guess number within the loop. if [ $num1 == q ] #Goodby Loop. then if [ $counter1 \> $counter2 ] #Displaying total amount of tries, lost and win to the winner. then echo "Congratulations!" echo "You Have Had a Total of $counter Tries" echo "You Have Won $counter1 and Lost $counter2" echo "Therefore, You are a Winner! Good Bye!" elif [ $counter1 \< $counter2 ] #Displaying total amount of tries, win and lost to the loser.
Then
echo "Sorry!" echo "You Have Had a Total of $counter Tries" echo "You Have Won $counter1 and Lost $counter2" echo "Therefore, You are a Loser! Better Luck Next Time..." elif [ $counter1 == $counter2 ] then echo "Good Job!" echo "You Have Had a Total of $counter Tries" echo "You Have Won $counter1 and Lost $counter,therefore You are Even!" echo "Good Bye!" elif [ $counter == 0 ] #User decided to not play any round then echo "Sorry, Too Bad You did not Even Bother to try" echo "Good Bye" fi fi done;; Final6|FINAL6|final6|6)
#Source Code No.6
#Discription: It wil give an user the option to count up or down.
#Then. It will ask the user a number which will be used as a reference point
#to either start or end the count sequence.
#Title and Options Menu echo " FINAL-SIX" echo " Welcome to the Up/Down Counter" echo "Please Choose One of the Following Counter Options" echo "1)Up Counter 2)Down Counter or 3)3 to Quit" read option
#Reading Saving Input Number until [ $option == 3 ] do echo "Please Enter a Number" read counter counter1=0 case $option in
#Up/Down Counter Options
Up|UP|up|1)
#Up Counter Option counter=`expr $counter + 1` while [ $counter1 != $counter ] #Loop Statement to count up do echo "The Counter is $counter1" counter1=`expr $counter1 + 1` #Increasing Counter done;; Down|DOWN|down|2) #Down Counter Option while [ $counter != -1 ] #Loop Statement fo count down do echo "The Counter is $counter" counter=`expr $counter - 1` #Decreasing Counter done;; *)echo "Sorry $option is not an Option in This Menu";; #Invalid Option Display esac echo " Do You Wish to Keep Continuing?" echo "If so Enter One of the Above Options, Otherwise Enter 3 to Quit." read option done echo "Good Bye!";;
*)echo "Sorry, $option is not in the Above Options Menu, Try one more Time" esac else continue fi done echo "Good Bye!"

Similar Documents

Free Essay

Unix

...UNIX operating system and its features UNIX is a certified brand of The Open Group that belongs to a family of computer operating systems. UNIX stands among some initial operating systems which has to be written in a high level programming language that is C. Further Bell labs circulated it in a way that anyone could customize it according to his own wishes. As a result in late 70’s, number of versions of this operating systems were running at several places [Vangie Beal(2015)]. File permissions features of UNIX The most important feature of UNIX Operating system is that it procures a safe and sound method for storing data and information. Each file stored in UNIX has some characteristics and attributes like “owner permissions” in which it specifies that what actions and tasks the owner of the information or file can execute or perform. The second permission is “group permissions” which allows the user who is a part of group can perform different functions on a particular file of the same group but for this one must have to be a part of the group. The third is “other permissions”. It is a permission which determines what type of actions and functions, rest of the users can perform on particular file [Tutorialspoint(2014)]. Security feature of UNIX The security of the systems can be increased by some specific settings which controls the access of different users. This feature includes read, write and execute access options. The read access option allows users to view and...

Words: 452 - Pages: 2

Free Essay

Unix

...Protection Scheme with Unix Adam Macon POS/355 8-10-13 Mr. Groves When considering a protection scheme that will protect up to 5,000 users the best choice would be Unix. Unix is an operating system developed in the 70’s in AT&T Bell Laboratories. The unique thing about Unix is that it is written in C, which gives it the ability to be portable and able to be integrated with other Unix machines. Program written on one Unix machine can be easily adapted to other Unix machines (C is particularly well-integrated with the operating system itself) (David 2013). We will discuss exactly what the protection scheme is with Unix and how 4900 users can be one file. Unix system has the ability to serve many users and these users can be organized in groups. A Unix file can distribute ownership to three different classes of users, which are user, group, and other. User is the directory owner, which is the person who created the file, group is the members of the group, and others are the users who aren’t members of the group and are not the file owner. There are three permissions for User, Group, and Others, which are Read, Write, and Execute. A user with Read permission can look at contents of that particular file, a user with Write permission can change contents in that file, and a user with Execute permission can use that particular file as a Unisex system command. Permissions only an be changed by the chmod command. To be able to achieve having 4,990 users on one file you can...

Words: 287 - Pages: 2

Free Essay

Unix

...There are several editors used in UNIX at present time, NEdit, Emacs, VI, and Pico to name a few. Editors are mainly used to replace the default editors in UNIX. Some people have found the default editor to be complicated and unfriendly to operate. I have chosen Emacs and Vi to discuss. Emacs was derived from a version of Multics which saw its inception August 15, 1979. The original creator was Richard Stallman, the software is a video-oriented text preparation and editing system it ran on Honeywell’s Multics system it was widely accepted at MIT and had a large user community. This acceptance led to the development of protocols for the ARPANET (Advanced Research Projects Agency Network) which is now known more commonly as the Internet. It was designed for the use of video-oriented software in a device independent fashion. ( Greenberg,1996) Emacs was later rewritten on a C platform by James Goslin in 1982. Which he then sold to Unipress and it was renamed Unipress Emacs. One of the major advantages of using Emacs would be the speed of the software. It has the ability to open large files edit them and save in the time it takes to load some programs in windows. The other editor I spoke of earlier would be Vi. The Vi editor was created in 1976 by Bill Joy at the University of California at Berkeley. Bill Joy later worked at Sun Microsystems as the Chief Scientist. Vi is not a GUI (graphic user interface) mode text editor, although it still remains popular. It holds the ability...

Words: 368 - Pages: 2

Premium Essay

Unix

...(ACL) they are on which is a set of rules or guidelines which sets the permission level and access a user will have to network assets. UNIX systems are typically based on the file access control schema, which is designed to assign a User Identification number or User ID, which is unique to the individual user. The same goes for a group of users as well but instead of a single user the users are under the Group ID umbrella, which lists all individual users and designates their permissions within the group. A user can have a different set of access within their single user permission opposed to their group permissions. Files are typically secured within UNIX file permissions and through ACLs. Other types of files such as those with sticky bits, and files that are executable require additional special security measures to be implemented in order for users to access them. Traditional UNIX file permissions are classified by ownership using three classes of users: users, groups and others. The owner of the file can usually has the ability to assign or modify file permissions. The root account can also change a file's ownership. All of the permissions are carried out by command line input by the user who owns the file and they are in charge of giving the group access. Read, write, execute and deny. For example if a UNIX Administrator had 5,000 users and wanted 4,990 to access one file...

Words: 630 - Pages: 3

Free Essay

Unix

...The UNIX OS What is UNIX? UNIX is a Main Frame operating system developed by AT&T employees at Bell Labs (1969 – 1971). UNIX originally was named “Unics” (Uniplexed Information & Computing Service). It was renamed “Unix” when it could support multiple users. In 1972 UNIX was rewritten in the C programming language. C was developed for the UNIX OS to write programming for the UNIX OS. C is a low level programming language but not as low level as assembly. So C makes writing programs easier than Assembly and also makes them hardware independent. The entire UNIX OS was rewritten in the C programming language. So this made UNIX portable. You don’t have to rewrite the operating system whenever you wanted to port it to a new type of hardware. In 1975 AT&T, because of a court order centering around an anti-trust case, was forbidden from entering the computer software business. Thus, unable to sell the UNIX OS, they gave it away. If you wrote to them and asked for a copy of UNIX-they would give you a free license and send you all the source code. This made it attractive for government agencies, universities and corporations. They could get this free, and very powerful operating system, to run on their main frames. 1975 was the point when computers were beginning to take off and there are a lot of people at universities learning about computers for the first time, getting access to main frame computers for the first time and they’re using UNIX. So UNIX becomes the...

Words: 576 - Pages: 3

Free Essay

Unix

...Carrier Objective: Obtaining a challenging career in the field of Information Technology as a Unix/Linux Systems Administrator to utilize the knowledge that I have gained through past years of experience in various industries such as Telecommunications, Banking, Medical, Insurrance and government establishments . Qualification Summary: 5 Years of Unix experience with overall 10+ years of experience in the field of Information technology. Master's Degree in Micro-Electronics & Diploma in Computer Sciences. Specialize in following: Unix Administration on Sun Solaris and Red Hat Linux environment. VERITAS Volume Manager and Cluster Server experience. Websphere Application Server experience Virtualization Technologies VMware ESXi 5 Large 24x7 mission-critical production environment experience. Unix Administration, maintainance providing support in an enterprise enviroment (Resolved, escalated and dispatched technical issues) Experience with EMC/Openfiler SAN,configured and Managed SAN storage for Vmware Vsphere enviroment . Communication skills in handling diversified activities like Customer Support, in various capacities from front-end field engineer to the present capacity working. Well versed with Incident resolution and Change Management process. Performing Datacenter administration ( HP/SUN Servers including C7000,M4000, M5000, T5220, T5240, V440, V480/V490, V880/V890, E4500, E6500) tasks such: Backups, restore, Tape Management, Installation, Upgradation & Decommission...

Words: 1089 - Pages: 5

Free Essay

Unix

...00.72314819 FM 10/24/00 9:55 AM Page i Sriranga Veeraraghavan Teach Yourself Shell Programming in 24 Hours A Division of Macmillan Computer Publishing 201 West 103rd St., Indianapolis, Indiana, 46290 USA 00.72314819 FM 10/24/00 9:55 AM Page ii Copyright  1999 by Sams Publishing All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. International Standard Book Number: 0-672-31481-9 Library of Congress Catalog Card Number: 98-89272 Printed in the United States of America First Printing: March 1999 01 00 99 4 3 2 1 EXECUTIVE EDITOR Jeff Koch ACQUISITIONS EDITOR Gretchen Ganser DEVELOPMENT EDITOR Hugh Vandivier TECHNICAL EDITOR Aron Hsiao MANAGING EDITOR Brice Gosnell PROJECT EDITOR Gretchen Uphoff COPY EDITORS Michael Dietsch Kelly Talbot Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams cannot attest to the accuracy...

Words: 112126 - Pages: 449

Free Essay

Evolution of Unix

...Evolution of UNIX Evolution of UNIX Bill Stewart December 01, 2011 Marshall University CIS155: UNIX Operating System In the late 1960's computers worked entirely different than the ones that we do our work on every day. They did not talk to each other and programs written for use on one computer did not work on another. Today’s basic cell phone has more processing power and memory capabilities as computers from the 1960's. The few operating systems available at that time performed very limited tasks and were exclusive to the computer it was written on. In other words when one upgraded to a newer computer, the operating system and all data that you wanted transferred from the old computer had to be rewritten on the newer model. In 1965 a joint effort of Bell Labs, MIT and GE began to develop a general computer operating system that was named the MULTICS (Multiplexed Information and Computing Service) mainframe timesharing system. The MULTICS project was being funded by the Department of Defense Advanced Research Projects Agency. The goal of the MULTICS group was to develop a feature-packed information utility that would allow timesharing of mainframe computers by large communities of users. It was also designed to be able to support multilevels of security with the military in mind. When Bell Labs joined the project their goal was to obtain a timesharing system for use by members of the technical staff at Bell Labs. When the planned time had passed and...

Words: 1891 - Pages: 8

Free Essay

Evolution of Unix

...Evolution of UNIX Evolution of UNIX Bill Stewart December 01, 2011 Marshall University CIS155: UNIX Operating System In the late 1960's computers worked entirely different than the ones that we do our work on every day. They did not talk to each other and programs written for use on one computer did not work on another. Today’s basic cell phone has more processing power and memory capabilities as computers from the 1960's. The few operating systems available at that time performed very limited tasks and were exclusive to the computer it was written on. In other words when one upgraded to a newer computer, the operating system and all data that you wanted transferred from the old computer had to be rewritten on the newer model. In 1965 a joint effort of Bell Labs, MIT and GE began to develop a general computer operating system that was named the MULTICS (Multiplexed Information and Computing Service) mainframe timesharing system. The MULTICS project was being funded by the Department of Defense Advanced Research Projects Agency. The goal of the MULTICS group was to develop a feature-packed information utility that would allow timesharing of mainframe computers by large communities of users. It was also designed to be able to support multilevels of security with the military in mind. When Bell Labs joined the project their goal was to obtain a timesharing system for use by members of the technical staff at Bell Labs. When the planned time had passed and...

Words: 1891 - Pages: 8

Free Essay

The History of Unix

...The Development of UNIX that prompted the creation of the GNU Operating System and the Linux Kernel Kyle Smoot Composition 1 Ms. Christine Kirsch 11/11/2010 The Development of UNIX that prompted the creation of the GNU Operating System and the Linux Kernel Without the Massachusetts Institute of Technology (MIT), the field of Information Technology would have never seen the development of UNIX, the GNU Operating System, or the Linux Kernel. The Development of UNIX The late 1950’s saw the rapid improvement of electronics. With this, it became apparent that computers would soon be able to time-share by switching back and forth between multiple users quickly. Fernando Corbato at the Massachusetts Institute of Technology (MIT) Computation Center led a team that created one of the first multi-user operating systems called the Compatible Time-Sharing System (CTSS) which was highly influential to the development of UNIX. (Diaz, Christopher, © 2007 ) In the 1960’s, AT&T Bell Labs, General Electric, and MIT conducted a joint research effort to build a next generation multi-user operating system called the Multiplexed Information and Computing System (MULTICS). The Bell Labs staff involved with MULTICS, including Ken Thompson, Dennis Ritchie, Joe Ossanna, and M. D. McIlroy, saw great potential in a communal environment enabled by a multi-user computer system, and they started looking for a way to preserve capability. In 1969, Thompson wrote a game on MULTICS called Space...

Words: 1468 - Pages: 6

Free Essay

It Unix Linux

...Introduction to UNIX and Linux UNIX was developed at Bell Laboratories by Ken Thompson and Dennis Ritchie in 1969 and it was created on a minicomputer called the PDP-7. (Muse) Computer aided design, manufacturing control systems, laboratory simulations, even the Internet its self, all began life with and because of UNIX systems. (unix.org) The reason for building UNIX was to create a simple interactive operating system, called “Multics” (Multiplexed Information and Computing System). (Kioskea.net) UNIX went through growing pains through the years, but in 1991, Linus Torvalds, commenced Linux development and the distro Solaris 1.0 debuts. (unix.org) Torvalds writes “Sadly, a kernel” (which is what Linux is and has always been) “by itself gets you nowhere. To get a working system you need a shell, compliers, a library, etc.” (Moody, pg 44) “Linus Torvalds had a kernel but no programs of his own, Richard Stallman and GNU had programs but no working kernel.” (linux.org) GNU is a recursive acronym that means GNU is Not Unix. UNIX/Linux can literally be used anywhere. While completing my AAS, my final project was to build a Samba server, which I needed a Linux distro to make happen, and I went with Ubuntu. Samba is the standard Windows interoperability suite of programs for Linux and UNIX. (Samba.org) Basically, Samba makes file transfer between a Linux/Unix server, and a Windows server, seamless. To Windows, Samba looks just like another Windows server so it allowes easy file...

Words: 515 - Pages: 3

Premium Essay

Unix Permissions

...Running head: UNIX PERMISSIONS CONTROL UNIX Permissions Control UNIX provides file permissions on several levels. By user ID group membership or association. Administrators can add delete or change file permissions. These permissions and other control information are stored in the inode. One example is FreeBSD which identifies access mode, owner, and group-access identifiers, file creation and update history. Size of file is also identified along with block pointer and block size identifying number of blocks used for file. File characteristics with user settable flags and kernel are identified too. Generation number and file system block size are also identified. UNIX utilizes a file access control scheme developed in earlier versions. Users are identified by typical user identification through number assignment. Users are also assigned to a primary group and maybe other groups too. This is done through the use of a group ID. Upon file creation these relationships are established. The owner ID and group ID are contained with 12 protection bits in the inode. Nine of the 12 bits establish read, write and execute permissions. At the directory level this grants read, renaming, and delete capabilities. Utilizing the execute bit the right to search the directory is accomplished. The remaining three bits are utilized to set user ID (SETUID) and group ID’s (SETGID) (Stallings, 2012, 558). When users with execute privileges access a...

Words: 510 - Pages: 3

Free Essay

Unix File Management

...ABSTRACT Unix is a multifunctional platform capable of handling several users accessing the same applications and files at once. It accomplishes this by setting up a permissions hierarchy and assigning users into groups. As multifunctional as it is, several problems still exist. For one, it has a command line interface. There is no graphical user interface. Second, privilege changes are made either one by one or all at once. Anything else would need to be scripted. Programmers originally built the Unix operating system for other programmers to use. It is an extensible operating system, meaning it allows programmers to extend and change it to do anything they need it to. Essentially, it is built to multitask. It allows multiple users to use the same app or multiple users access to the same file. Although the computer cannot process all the requests at once, it does prioritize the requests to keep things orderly. If multiple people need access to one file, this is commonly done by placing the users into groups, and assigning the groups and users various levels of permission access. There is a hierarchy where groups are on top and access control lists are underneath. The...

Words: 687 - Pages: 3

Premium Essay

Unix vs Windows Critique

...* * * Benefits and Disadvantages of UNIX® or Linux® Versus Microsoft® Windows Server® Virtual Company: Riordan Kenneth Fleming, Eddy Garcia, H. RaShonda Harris, Lupita Sebastian and John Ward University of Phoenix – POS 420 Introduction to UNIX September 19, 2012 Introduction History Riordan Manufacturing is a global plastics manufacturer who employs over 500 people with projected annual earnings of $46 million. Riordan's major clientele include automotive parts manufacturers, aircraft manufacturers, the Department of Defense, beverage makers and bottlers, and appliance manufacturers (Apollo Group, Inc., 2005). With manufacturing plants in Albany, Georgia, Pontiac, Michigan, and Hangzhou, China, Riordan’s e-business plays a vital role in continued growth. Riordan’s Internet site states, “Riordan Manufacturing, Inc. is an industry leader in the field of plastic injection molding. Purpose The purpose of this paper is to discuss the differences between UNIX/Linux versus Microsoft Windows. Our paper will discuss facts that cover security, administrative, networking, performance, programmability. Security Technical One of the key differences between the Unix approach to system security and the MS Windows approach is that significant security characteristics of Unix systems are a consequence of good architectural design. Modularity within the system is another example of architectural security in UNIX, but lacking in MS Windows. These differences...

Words: 2022 - Pages: 9

Premium Essay

Unix/Windows Systems Review

...Unix/Windows Systems Review for Riordan Manufacturing Micah Gerber POS/420 December 21, 2012 Charles Mathieu Abstract Riordan Manufacturing is the leader in the plastic injection molding industry with facilities in both the United States and China. As a large global operation, having adequate systems in place to support the organization network and databases is of upmost importance. A critique which addresses the benefits and disadvantages of using UNIX or Linux versus Microsoft Windows Server within Riordan Manufacturing will be completed by Team A. Areas to be addressed within the critique will cover security, administration, networking, performance, programmability, and reliability as it relates to UNIX or Linux and Microsoft Windows Server. Riordan Manufacturing currently has a combination of Unix and Windows servers which support the organization, however, the team will recommend that the organization standardize it’s systems to support one platform across the agency. Through this recommendation Riordan’s Manufacturing infrastructure will have one platform Security Review The histories of both Windows and UNIX security development have taken diametric paths. The Windows operating system (OS) is monolithic by design, which means that most of the features are integrated into a single unit and is located into the core of the OS. UNIX, on the other hand is based on the core of the operating systems residing in a distributed manner where...

Words: 1893 - Pages: 8