Académique Documents
Professionnel Documents
Culture Documents
Contents
Introduction
Methodology
Executive Summary
Conclusion
Sources
Glossary
Introduction
Linus Torvalds created Linux as an open-source kernel that was free to the public,
this lead on to the creation of many distribution operating systems of Linux such
as OpenSUSE, Fedora and Linux Mint. Each one works differently to the others.
Linux was originally developed as a free kernel for personal computers based on
the Intel x86 architecture, but has since been ported to more computer hardware
platforms than any other operating system. Android, which is built on top of the
Linux kernel, has the largest installed base of all general-purpose operating
systems. Linux is used a lot for server hosting because Linux systems are well
known for their ability to run for years without failure; in fact, many Linux users
have never seen a crash. In addition, Whereas Windows typically requires
frequent hardware upgrades to accommodate its ever-increasing resource
demands. Linux is slim, trim, flexible and scalable, and it performs admirably on
just about any computer, regardless of processor or machine architecture. Linux
is also innately more secure than Windows is, whether on the server, the desktop
or in an embedded environment. That's due largely to the fact that Linux, which
is based on UNIX, was designed from the start to be a multiuser operating
system. Only the administrator, or root user, has administrative privileges, and
fewer users and applications have permission to access the kernel or each other.
That keeps everything modular and protected it also is attacked less frequently
by viruses and malware, and vulnerabilities tend be found and fixed more quickly
by its legions of developers and users. With Linux, there is no commercial vendor
trying to lock you into certain products or protocols. Instead, you are free to mix,
match, and choose what works best for your business.
The task for A452 is to use, test and research the Linux engine. The purpose of
this unit is to investigate Linux and follow out tasks set by OCR. For these tasks
we used the Ubuntu 15.10 Linux distro which is a graphical user interface
operating system, we used the Ubuntu command line interface(typed commands
for inputs and navigation) in a remote system that allowed user to connect to it
from a different device. The Ubuntu command line has only a simple graphical
user interface that displays outputs and inputs but does not have interaction
menus.
Methodology
For this practical investigation, I will use qualitative research and quantitative
research. I will conduct my research for primary and secondary information and
recording all sources I use.
Qualitative research- finding information out, surveys, interviews and searching
for information
Quantitative research- quantifiable data and numbers
Primary research- Data you have collected your self
Secondary research- information from another source
Q2) At the command prompt, type ls and press Enter. Explain what
happens.
Q4) Enter the commands: ls > list and then ls >> list Explain how and
why these commands produce different results.
ls > list creates a new file name list and adds the contents of ls command
into that file, you can check the contents of the file list by typing the
command cat list. Ls >> list it will append the contents of the ls
command to the file named list. Therefore, the difference would be if you
execute this command 5 times, the output of ls command would be
written 5 times to the list file but for the first command every time, the
output would be overwritten.
This would be used in a networking aspect to organise, store ls and access
it in a more organised and easy to view format.
Q5) Try out the following commands and explain with screen shots what
they do:
cd ..
cd /etc
cd /
cd ~
cd .. Is used to go to the parent
directory of the current directory
this can be used to navigate the
directory and would be used by
a network admin to navigate around directories.
CMD uses the same command as linux to change directories with a
relative path.
A network specialist would use this to quickly go back to the last directory.
cd /ect is used to go
directly to a directory
Aka the search ability
used to search for
directorys.
Same command in
CMD.
A network specialist
would use this to
navigate between
directory directly and
quickly.
Q8) There is a program called TREE. Install it from the command line.
Explain in full how you did this and how you overcame any problems, you
encountered.
Q9) Run TREE from your home directory. Explain and demonstrate what it
does. Use output redirection to do this.
Tree is a command that forms an
organised list of directories, subfolders
and files. Tree would be used by a
network engineer to view files in an
organised way.
Q10) (a) Navigate to the bin directory. Make a text file of the directory entries
that you find there, making sure that you display the attributes of all the files
stored there. You should direct the file to be stored in the yournameA452
directory that you created earlier. Make a screenshot of the contents of your
A452 directory to verify that this file has been stored there.
-rwxr-xr-x 1 root root 920788 Mar 28 2013 bash Explain in detail what this entry
means.
Q11) Go to the root directory. From here, delete the copy of the text file
that you stored earlier in your
A452 directory. Explain how you did this.
(b) Create two groups called teachers and students. Assign the users to
their groups.
In linux: groupadd Teachers is used to create the group teachers
and sudo usermod a G Tearchers tearcher_x assigns the users to
the group.
Q13) Linux enables tasks which are regularly carried out to be automated
through the use of shell scripts. Plan, write and test a shell script that
could automate the task of creating new users and assigning them to
groups.
Q14) Discuss how some of these tasks could have been done in a
computer system running Windows or another operating system. For each
question, I described how it would be performed in DOS at the end of each
question.
Conclusion
Throughout this project the tasks I was given helped me to understand
how Linux could be used in a networking environment and how it works as
an OS (operating system). With Linux Ubuntu, I learned that Linux
command line interface is extremely difficult to use, understand and
remember. Whereas a GUI would have probably been easy to get to grips
with, GUIs such as the Windows series OSs and the Ubuntu GUI would
have been easier to use but would have made answering some of the
questions more difficult such as describing command functions.
Linux command line as an OS fulfils its job as a network manager working
well as a command line interface, when compared to similar command
line OSs such as DOS and OpenVMS it performs very similar with only a
few differences in commands but still giving similar results. But when
compared to graphic user interfaces such as Microsoft Windows and
Chrome OS which both use far more hardware resources than a command
line interface OS but doesnt have the simplistic of visual user interaction.
Meaning Linux command line is good at what it does but requires
experience to understand it. Also windows compared to Linux is an off the
self OS whereas Linux is open source OS meaning windows was created to
make money and Linux was created for the public to alter and to make
fulfil jobs that they required.
I found these tasks very difficult being born into an era of graphical user
interfaces it made it very difficult to remember commands and
understand what the commands where doing (being unable to see what
they were doing) and also when compared to DOS the commands are far
more complex and difficult to remember. I found that the main problem
with this task was remembering commands and misspelling commands.
Sources
Script
photo
http://www.techremedy.net/blog/2010/
06/17-amazing-tutorials-for-creatingbash-scripts/
http://rutkaybeser.secureleaks.com/
Director
y photo
Read
http://linuxcommand.org/lts0070.php
write
permissi
on
diagram