Free Essay

Chapters 10 Linux

In:

Submitted By beto3feb
Words 536
Pages 3
Jose Alberto Salazar
OECS-205-D02
Homework 2

Answer Exercises 1 and 3 on page 499 (End of chapter 10)

1.- How does single-user mode differ from multiuser mode?
When a system is in single-user mode, you can log in only at the console. Not all of the file systems are mounted,and many daemons are not running. With the system in multiuser mode you can login at any terminal or workstation that is set up for login, most or all of the filesystems are mounted, and all of the daemons that your system is set up to run arerunning.

3.-What do the letters of the su command stand for? (Hint: It is not Superuser.) What canyou do with su besides give yourself root privileges? How would you log in as Zach ifyou did not know his password but knew the root password? How would you establishthe same environment that Zach has when he first logs in?
The letters su stand forsubstitute user. With su you can use the su utility can spawn a shell or execute aprogram with th identity and privileges of a specified user, including root.Byfollowing the su on the command line with Zach’s name as long as you are working with root privileges will allow you to log on as Zach.By using the su commandutility and the root password will alow you to log on as Zach with the sameenvironment

Answer Exercises 1,3,5,6,7 on page 530 (End of chapter 11)

1.- What is the function of the /etc/hosts file? Which services can you use in place of or to supplement the hosts file?

This file holds the hostname and IP address of the local system. It also holds a special entry for localhost. This entry supports the loopback service, which allows the local system to talk to itself. The IP address of the loopback serviceis always 127.0.0.1, while 127.0.1.1 names the local system.

3.- What is an inode? What happens to the inode when you move a file within a filesystem?

An inode is a data structure, stored on disk, that defines a file’s existence and is identified by an inode number. An inode contains critical information about a file, such as the UID of the owner, where it is physically located on the disk, and how many hard links point to it. In addition, SELinux stores extended information about files in inodes. An inode that describes a directory file maps each of the filenames in the directory to the inode that describes that file. This setup allows an inode to be associated with more than one filename and to be pointed to from more than one directory.
6. What is a FIFO? What does FIFO stand for? What is another name for a FIFO? How does a FIFO work? A FIFO is a special file, also called a named pipe. You read from and write to the file to read from and write to the pipe. The term FIFO stands for “first in, first out.” The first information that you put in one end is the first information that comes out the other end.

Similar Documents

Premium Essay

Mental Illness

...MENTAL ILLNESS October 2001, just after September 11, he started acting and behaving erratically. He was not the same man we have known as Uncle Dan for the past few years. What has happened to him? Has he suffered from some type of mental illness? According to Canadian Health Association “mental illnesses can take many forms, just as physical illnesses do” (Canadian Mental Health Association, 2009). Uncle Dan was born and raised in a small town named Quesnel, located in the South Western part of Canada. Although his parents were not wealthy, they were not financially restricted either, due to the abundance of lumber mills in this region. They had pushed and financed their children education, for they knew that it was an investment into the future. Even though Uncle Dan’s parent never received a formal education, they were fully aware of the importance of going to college. As an honor graduate from the local High school, Uncle Dan received a scholarship from the province university, BC University, to continue his education. That year, he had met Julia, my mother’s younger sister, whom he married a year later. Shortly afterward, Dan dropped out of the University and returned home to work in a local mill. The only explanation that was given to his parents was “College is not meant for people like me.” While this was not the extent of Uncle Dan’s transformation, it was not enough of a significant warning sign that Uncle Dan had a mental issue. In fact, it was not until that...

Words: 1686 - Pages: 7

Free Essay

Treatment of Mentally Ill Prisoners

...Assignment 2: Treatment of Mentally Ill Prisoners 1.0 The Treatment of Mentally Ill Prisoners The treatment of mentally ill inmates has been not only a public concern, but has also been identified by Canada’s Correctional Investigator, Howard Sapers as an issue of concern in his 2014 report to parliament. Between 1997 and 2007, offenders entering the prison system with a mental disorder grew 71% in men and 61% in women (Canadian Mental Health Association, 2012). The problem at hand is that correctional institutes and their staff are not widely trained to deal with inmates who suffer from mental disorders. The result then, is that use-of-force interventions, and placement in solitary confinement, often for extended periods of time, are used as methods of dealing with unruly behaviours exhibited by these mentally ill offenders. While there are various issues surrounding mental health in the Canadian judicial system, for the purpose of this report, the discussion will be focused around inadequate methods for dealing with behaviours presented by these inmates, namely by use-of-force and solitary confinement 1.1 Use-Of-Force Techniques In Sapers 2014 report, it is reported that “28% of all use of force interventions involved an offender with a mental health concern as identified by the Correctional Service of Canada (CSC)” (Ministry of Public Safety, 2014). This is likely due to the fact that mentally ill inmates are more likely to self-harm, have unpredictable behaviour...

Words: 1710 - Pages: 7

Free Essay

Stuff

...| IT250 Linux Operating System | Jerry Black | Spring 2012 | | | | Course Description: Installation, configuration and management of a Linux operating system will be explored. Focus will be on functions that resemble the UNIX environment. Directory and file management, user account management and certain device management (such as drives, printers, interface cards, etc.) will be discussed. Prerequisite(s) and/or Corequisite(s): Prerequisite: IT103 Operating Systems Credit hours: 4 Contact hours: 50 (30 Theory Hours, 20 Lab Hours) Syllabus: Linux Operating System Instructor | Jerry Black | Office Hours | Thursday, 4PM-6PM | Class Hours | Monday, 6:00PM – 10:20PM | Contact | Ms. Travis, 937-264-7707 | | jblack@itt-tech.edu | Major Instructional Areas 1. Introduction to Linux 2. Linux installation 3. Graphical user interface (GUI) desktops 4. Command-line interface (CLI) essentials 5. Hardware configuration: display, network, and printer 6. Networking: Resource sharing and remote access 7. Backup and restore utilities 8. Installing software in Linux 9. Scripting: Bourne Again Shell (bash) and Perl 10. Apache Web Server installation and configuration Course Objectives 1. Discuss the history and unique characteristics of the Linux operating system. 2. Perform an installation of Linux. 3. Use the components and features of the GNOME desktop environment. 4. Perform basic tasks by...

Words: 2032 - Pages: 9

Free Essay

Ssaassd

...A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®, Sixth Edition Lab Manual Mark G. Sobell Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U.S. Corporate and Government Sales (800) 382-3419 corpsales@pearsontechgroup.com For sales outside the United States, please contact: International Sales international@pearson.com Visit us on the Web: informit.com/ph Copyright © 2012 Mark G. Sobell All rights reserved...

Words: 38351 - Pages: 154

Premium Essay

Advanced Routing

...Linux Advanced Routing & Traffic Control HOWTO Bert Hubert Netherlabs BV Gregory Maxwell Remco van Mook Martijn van Oosterhout Paul B Schroeder Jasper Spaans Revision History Revision 1.1 DocBook Edition 2002−07−22 A very hands−on approach to iproute2, traffic shaping and a bit of netfilter. Linux Advanced Routing & Traffic Control HOWTO Table of Contents Chapter 1. Dedication.........................................................................................................................................1 Chapter 2. Introduction ......................................................................................................................................2 2.1. Disclaimer & License.......................................................................................................................2 2.2. Prior knowledge................................................................................................................................2 2.3. What Linux can do for you...............................................................................................................3 2.4. Housekeeping notes..........................................................................................................................3 2.5. Access, CVS & submitting updates..................................................................................................3 2.6. Mailing list..............................................

Words: 28706 - Pages: 115

Free Essay

Nt2640

...NT1430 Linux Networking STUDENT COPY: Assignment 1 for All Units Assignment 1 for All Units: Chapter Exercises (NT1430.GA1) Learning Objectives and Outcomes Each unit exercise covers the Learning Objectives and Outcomes for that unit. You can review those objectives and outcomes in your syllabus. Assignment Requirements Type out answers for the end-of-chapter exercise questions indicated in the list below for each unit. You will be graded on accuracy and completeness. Required Resources Sobell, M. G. (2012). A practical guide to Fedora and Red Hat Enterprise Linux. (6 ed.). Upper Saddle River, NJ: Prentice Hall. th Submission Requirements Submit your word-processed answers to your instructor at the beginning of the next class after the assignment. Units 1-10 Chapter Exercises Unit 1 § § § § Unit 2 § § Unit 3 § § § Unit 4 § § Sobell, Chapter 14, p. 582, Exercises 1-5 Sobell, Chapter 10, p. 403, Exercise 1 Sobell, Chapter 7, pp. 251, Exercises 1, 3, 4, 8 Sobell, Chapter 9, pp. 356, Exercises 1, 2, 3, 4, 5, 6, 8 Sobell, Chapter 9, pp. 357, Advanced Exercises 10, 11 Sobell, Chapter 5, p. 182, Exercises 1, 3, 4, 8, 10 Sobell, Chapter 6, p. 221, Exercises 1, 2, 3, 4, 6 Chapter 1, pp. 20-21, Exercises 1, 4 Chapter 2, p. 53, Exercise 1 Chapter 3, p. 86, Exercises 1, 4, 8 Chapter 11, p. 498, Exercises 1, 3, 7 © ITT Educational Services, Inc. All Rights Reserved. -118- Change Date: 05/30/2012 NT1430 Linux Networking STUDENT COPY: Assignment 1 for All...

Words: 403 - Pages: 2

Premium Essay

Labs

...Unit 1 None Unit 2 Search and explore the ITT Tech Virtual Library for resources on the Linux Filesystem. Use the following keywords and phrases to help you locate appropriate resources: ext file system Linux hierarchical file system Linux standards base Linux directory structure Unit 3 Search and explore the ITT Tech Virtual Library for resources on bash. Use the following keywords and phrases to help you locate appropriate resources: bash scripts bash history bourne shell bourne again shell commands in Linux Unit 4 Search and explore in the following places. Find resources that help you understand how CUPS is used for printer management. Submit one resource from the ITT Tech Virtual Library and one from the Chapter 14 suggested resources. ITT Tech Virtual Library The More Information section of textbook Chapter 14, page 561 Use the following keywords and phrases to help you locate appropriate resources: CUPS server CUPS in Linux Linux printer configuration Fedora 15 printer server Unit 5 Search and explore in the following places. Find resources that help you understand mail services in Linux. ITT Tech Virtual Library The More Information section of textbook Chapter 20, page 732 Use the following keywords and phrases to help you locate appropriate resources: Send mail configuration SMTP in Linux Dovecot Email servers in Linux Fedora 15 email server Unit 6 Search and explore the ITT Tech Virtual Library for information on the...

Words: 467 - Pages: 2

Premium Essay

Redhat

...edhat® ® Te r r y C o l l i n g s & K u r t W a l l UR ON IT OOLS IN Y T C E CD-R L TH O ED UD M Linux Solutions from the Experts at Red Hat ® ® P R E S S™ SEC Red Hat® Linux® Networking and System Administration Red Hat® Linux® Networking and System Administration Terry Collings and Kurt Wall M&T Books An imprint of Hungry Minds, Inc. Best-Selling Books G Digital Downloads G e-Books G Answer Networks e-Newsletters G Branded Web Sites G e-Learning New York, NY G Cleveland, OH G Indianapolis, IN Red Hat® Linux® Networking and System Administration Published by Hungry Minds, Inc. 909 Third Avenue New York, NY 10022 www.hungryminds.com Copyright © 2002 Hungry Minds, Inc. All rights reserved. No part of this book, including interior design, cover design, and icons, may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording, or otherwise) without the prior written permission of the publisher. Library of Congress Control Number: 2001093591 ISBN: 0-7645-3632-X Printed in the United States of America 10 9 8 7 6 5 4 3 2 1 1O/RT/QT/QS/IN Distributed in the United States by Hungry Minds, Inc. Distributed by CDG Books Canada Inc. for Canada; by Transworld Publishers Limited in the United Kingdom; by IDG Norge Books for Norway; by IDG Sweden Books for Sweden; by IDG Books Australia Publishing Corporation Pty. Ltd. for Australia and New Zealand; by TransQuest Publishers Pte Ltd. for Singapore, Malaysia, Thailand...

Words: 220815 - Pages: 884

Premium Essay

Class Notes - Networking

...PRINTED BY: Norman Puga . Printing is for personal, private use only. No part of this book may be reproduced or transmitted without publisher's prior permission. Violators will be prosecuted. Essential Linux Administration: A Comprehensive Guide for Beginners Page 1 of 4 PRINTED BY: Norman Puga . Printing is for personal, private use only. No part of this book may be reproduced or transmitted without publisher's prior permission. Violators will be prosecuted. ESSENTIAL LINUX ® ADMINISTRATION: A COMPREHENSIVE GUIDE FOR BEGINNERS i CHUCK EASTTOM WITH SERGE PALLADINO Course Technology PTR A part of Cengage Learning 9781133795308 i ii Essential Linux Administration: A Comprehensive Guide for Beginners Chuck Easttom with Serge Palladino Publisher and General Manager, Course Technology PTR: Stacy L. Hiquet Associate Director of Marketing: Sarah Panella Manager of Editorial Services: Heather Talbot Marketing Manager: Mark Hughes Acquisitions Editor: Heather Hurley Project and Copy Editor: Marta Justak Technical Reviewer: Danielle Shaw Interior Layout Tech: MPS Limited, a Macmillan Company Cover Designer: Mike Tanamachi Indexer: Sharon Shock Proofreader: Kelly Talbot © 2012 Course Technology, a part of Cengage Learning. ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be reproduced, transmitted, stored, or used in any form or by any means graphic, electronic, or mechanical, including but not limited to photocopying, recording...

Words: 34239 - Pages: 137

Premium Essay

Using Linux

...Guide to Linux+ (2nd Edition) ISBN 0-619-21621-2 End of Chapter Solutions Chapter 1 Solutions Review Questions 1. Every computer consists of physical components and logical components. The logical components of a computer that understand how to work with the physical components are referred to as: a. hardware b. records c. software d. processors Answer: c 2. The operating system software is necessary for a computer to function. True or False? Answer: True 3. Linux is a ___________ and ___________ operating system. a. production, stable b. multiuser, multitasking c. processing, operating d. large, useful Answer: b 4. The core component of the Linux operating system is the Linux kernel. If you were a Linux systems administrator for a company, when would you need to upgrade your Linux kernel? (Choose all that apply.) a. when you need to have support in Linux for new hardware b. when you need another user interface c. when you need to increase the stability of Linux d. when you need to use kernel modules Answer: a, c 5. Which of the following kernels are developmental kernels? (Choose all that apply.) a. 2.3.4 b. 2.5.5 c. 2.2.7 d. 2.4.4 Answer: a, b 6. A production kernel refers to a kernel whose: a. revision number is even b. minor number is odd ...

Words: 1315 - Pages: 6

Premium Essay

Dfsdfsd.Pdf

...Guide to Linux+ (2nd Edition) ISBN 0-619-21621-2 End of Chapter Solutions Chapter 1 Solutions Review Questions 1. Every computer consists of physical components and logical components. The logical components of a computer that understand how to work with the physical components are referred to as: a. hardware b. records c. software d. processors Answer: c 2. The operating system software is necessary for a computer to function. True or False? Answer: True 3. Linux is a ___________ and ___________ operating system. a. production, stable b. multiuser, multitasking c. processing, operating d. large, useful Answer: b 4. The core component of the Linux operating system is the Linux kernel. If you were a Linux systems administrator for a company, when would you need to upgrade your Linux kernel? (Choose all that apply.) a. when you need to have support in Linux for new hardware b. when you need another user interface c. when you need to increase the stability of Linux d. when you need to use kernel modules Answer: a, c 5. Which of the following kernels are developmental kernels? (Choose all that apply.) a. 2.3.4 b. 2.5.5 c. 2.2.7 d. 2.4.4 Answer: a, b 6. A production kernel refers to a kernel whose: a. revision number is even b. minor number is odd ...

Words: 1315 - Pages: 6

Free Essay

Management

... | | |College of Information Systems & Technology | | |POS/355 Version 9 | | |MU12BIT08 | | |Introduction to Operational Systems | | |Wk 1 June 10 | | |Wk 2 June 17 | | |Wk 3 June 24 | | |Wk 4 July 01 | | |Wk 5 July 08 | Copyright © 2012, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003 by University...

Words: 2247 - Pages: 9

Free Essay

Linux Introduction an Basics

...Lecture 1 – Linux introduction and basics Module 1. Linux introduction ♦ Linux distributions ♦ Linux kernel What is a Linux distribution? ♦ it is a collection of applications, packages, management, and features ♦ ♦ ♦ ♦ that run on top of the Linux kernel. The kernel is what all distributions have in common (it is sometimes customized by the distribution maintainers) If they are all “Linux”, why are there so many different names, and which do I choose?” You may have heard names like Red Hat, Fedora, Debian, Ubuntu Distributions differ in several ways, and three of the most important are: ► ► ► Purpose Configuration and packaging Support model What’s a kernel? ♦ As you already know from the Operating Systems course ► the kernel is the core of all computer operating systems ► is usually the layer that allows the operating system to interact with the hardware in your computer ♦ The kernel contains software that allows you to make uniform use of ► hard disk drives, ► network cards, ► RAM, ► and other hardware components. ♦ In the Linux world, the kernel is based on code originally developed by Linux’s founder, Finnish developer Linus Torvalds. Back to distributions – Purpose, Configuration, Support ♦ Purpose ► Different distributions are often designed for different purposes and provide different user experiences. ► Some distributions are designed as servers, others as desktops, and some are designed to perform particular functions, for example, as embedded...

Words: 1486 - Pages: 6

Free Essay

Os Comparision

...Elsevier B.V. Linux vs. Windows: A Comparison of Application and Platform Innovation Incentives for Open Source and Proprietary Software Platforms Nicholas Economides and Evangelos Katsamakas ABSTRACT The chapter analyzes and compares the investment incentives of platform and application developers for Linux and Windows. We find that the level of investment in applications is larger when the operating system is open source rather than proprietary. The comparison of the levels of investment in the operating systems depends, among others, on reputation effects and the number of developers. The chapter also develops a short case study comparing Windows and Linux and identifies new directions for open source software research. Keywords: Open Source Software, operating systems, technology platforms, Linux, innovation incentives. JEL Classification: L 10, L86, L3 1. 10.1 INTRODUCTION Open source software is an emerging type of software that may fundamentally affect the business and economic features of the software industry. Linux, an open source operating system, has been the prominent example of the potential of the open source movement, competing against Microsoft Windows, the incumbent operating system. 208 Nicholas Economides and Evangelos Katsamkas This chapter analyzes the incentives to invest in application software and an operating system under two different software ecosystems: one based on an open source operating system, such as Linux, and the other based...

Words: 4770 - Pages: 20

Free Essay

It250 Week 9

...Unit 9: Basic Linux Administration Objectives 9: Administer and maintain a Linux system. 9.1: Create users and groups by using the CLI and GUI tools. 9.2: Back up a Linux system by using the tar utility. 9.3: Maintain effective logs by using the log rotate utility. Readings A Practical Guide to Fedora and Red Hat Enterprise Linux Chapter 11, pp. 407-425 * Chapter 16 In-Class Assessment * Week 9 Quiz: Homework The following homework is designed to cover the course objectives for this unit. Assignment 9.1: Complete the following exercise in your textbook: * Chapter 16: Question 1-5 on page 643 Submit your written answer to your instructor at the start of Unit 10. Labs Instructor Notes: Assign students the following lab which can be printed from Appendix D. Lab 9.1: Using tar to Back Up Files What is the purpose? This lab exercise lets you perform basic file backup on your Linux system. What are the steps? Task 1: Backing up with tar Procedure 1. Open a terminal window as a regular user. 2. Create a directory named backup in your home directory. 3. Copy some files from your home directory into your new directory. 4. Create a backup of your new directory by using tar and compress the file with bzip2. Make sure that the backup file is not placed in the directory you are backing up. You will need to: a. Create permission. b. Choose verbose mode option. c. Choose the bzip2 file format. d. Specify...

Words: 1093 - Pages: 5