[go: up one dir, main page]

0% found this document useful (0 votes)
48 views6 pages

Midterm Replacement (Jasrey Raznizar Bin Eriansah)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 6

Intakes : 2022/2023 (Operating System) MTN3043

Date Assigned : 18/January/2023 [12PM – 11.59PM]


Lecturer : Abdullah Hussein Abdullah Alamoodi
Name: Jasrey Raznizar Bin Eriansah
Matric: D20191088873

Statement of the Case study

1.

First consideration, separating the projects that you may wish to undertake. Porting your Unix application to Linux
is a different animal than using Linux to replace your NT boxes for file and print services. The former is much more
complex than the latter. Both start with applications. If you have off-the-shelf applications that run only on NT
Servers, and you absolutely do not want PC clients to run these apps locally, you may be out of luck. Everything you
do must start with an assessment. First must know about what do you have and what must you keep after the
migration? It is not always the same. If you want your file server to be used truly as a file (and print) server and not
an Applications server, then you should be good to go. Samba makes most sense for you www.samba.org . It
enables Windows PCs to use Linux (or Unix) as a file and print server. About those pesky little custom programs,
what are they written in? Find out if there are compilers for Linux for those programs. My bet is that there are. Your
programmers should be able to find out what's involved in recompiling the code. If the programs can't be recompiled
and they are very small, maybe you rewrite them in another language native to Linux. Regarding distributions, I
would look at Red Hat and/or SuSE, as each is good and has enough resources that should work for you. Regarding
TCO, I'd start with cost of hardware, vendor support costs and software licensing (both applications and OS) costs.
2.

The Linux operating system makes a perfect solution to your routing needs.
What is routing?
Routing is a means of sending an IP packet from one point to another. For instance, when you send an emall
message to your friend in another country or even across a street, you are transmitting a series of IP packets or
datagrams, from your computer to your triends computer.
Steps for implementing Routing:
Step1: Introduce the computr room core switches first, providing connectivity to the servers.
Schedule wide-area connectivity following the introduction of core switches in the computer room, selecting a time
that does not conflict with the access layer installation. Coordinate wide-area connectivity with the telly
communication wanders providing this portion of network service.
Step2: Inform all employees of the scope of implementation for each phase, along with the date and time.
Implementation ot new equipment generally means the system or data will not be available on time of change. This
gives employees the opportunity to plan their work around the resulting downtime.
Step3: Preconfigure network equipment and test it prior to implementation.
Step4: Schedule the personnel and support needed from among I department staff members and any wander staff
that must support the implementation.
3.
Step 1

Command to search all the commands containing string “copy” in man pages:

There are two commands available to search the manual (man) pages. Using these commands, it is possible to find
all the commands that contain the word “copy”.

They can search the description and name of the commands. The commands are as follows:

• man, command along with the option ‘–k’.

• apropos

Step 2

Syntax of the command to get the list of command that contains the keyword “copy” in their name or description is
as follows:

man –k copy

The format of the output of above command is as follows:

<(manual page section number)>

List of some commands that are displayed is as follows:

cp (1) -copy the contents of file1 to file2

cpdic(8) -copies user dictionary form-dic to to-dic

to rewrite dictionary directory file dics.dir

cpio (1) -copy files to and from archives

Step 3

• There are some commands that can be executed only by root user.
• They are indicated by the manual page section number.

• If the manual page number is 8, then the command can be executed by root user.

Step 4

Comparing cp and cpio commands:

cp command cpio command

The options available are –a/b/d/f/i/l/L The options available are –0/a/A/b/B/c

/p/P/r/R/s/S/u/v/x/Z /C/d/E/f/FH/i/I/k/l/L/m/M/t/u/v/V

Used to copy files/directories from source location to target Used to copy files in one archive to another
location. archive.

4.

Since you have accessed the users home directory so after entering the directory you can use ls command to list files
in that directory.
E: g After entering the users home directory us
ls to list all files and folders in currect directory
ls -l to get long listing of the files
ls -a to include hidden files
To navigate to other folders, use cd command e: g
cd Projects will change directory to Projects directory and using ls command now will list all files and folders in
Projects directory.
use cd .. to move one directory back
To list all files extensions in a directory, use ls with grep command like
ls -Xp | grep -Eo "\.[^/]+$" | sort | uniq
There are many ways to view text files in linux and the simplest way is "cat" command
cat stands for "catenate." It reads data from files, and outputs their contents. It is the simplest way to display the
contents of a file atthe command line. E:g to display the contents of file named mytext.txt, type
cat mytext.txt
There are many text editors also available in linux like vi, gedit etc. If you have anyone installed then you can use
these editors to view,create, edit files. To use vi editor type
vi mytext.txt and to use gedit type gedit mytext.txt

5.

Report:

Defends points for the for closed source programs and operating systems

• The closed source program is very expensive when compared to open-source programs whenever the support and
maintenance services provided by the close source program developers are very good.
• The closed source organization will have advanced development and supporting team so the technologies and
methodologies used will be advanced when compared to open-source systems.
• The hardware support will be also good compared to open-source systems, a dedicated internal developing group is
required if open source systems is adopted.
• For small purpose or general purposes, the use of closed system is beneficial.
Points to explain how OSS and the Linux operating system can be used to reduce these costs in the long term.
• The open-source software or operating system does not need any license or right to research upon.
• For long term use or dedicated purposes, it is better to create an indigenous team so that the software can make as
per requirements and no need to pay externally for support and maintenance.
• The open-source software and operating systems can be modified without any consent from its original developers
it enables to modify the software or operating as we needed.
• For long term use applications or operating system it is economically feasible to keep an inside development team
for developing applications in place of depending outside close software products.

You might also like