Documente Academic
Documente Profesional
Documente Cultură
UNICS (1969)
LECTURE 5 – LINUX OS CONCEPTS Uniplexed Information & Computing System
Renamed as UNIX
Ken Thompson, Dennis Ritchie o Operating System – type of system software that
Multi-user, Multi-tasking, & Timesharing acts as the master controller for all activities that
Monolithic Kernel take place within a computer system
o Multitasking – provides process & memory
MINIX (1990) management services that allow two or more
Minimal Unix tasks, jobs, or programs to run simultaneously
Tanenbaum developed this OS o Multithreading – allows multiple parts, or thread,
Mainly for educational purpose to run simultaneously
o Multiprocessing – supports a division of labor
LINUX (1991) among all the processing units
Developed by Linus Torvalds o Memory Leak – when an app requests memory
Multi-user, Multi-tasking, & Timesharing but never releases it; causes an app not to
Monolithic Kernel function properly
The Boot Process
FREE SOFTWARE FOUNDATION o The operating system is loaded into RAM; the
Founded by Richard Stallman in 1983 kernel provides essential OS services
Organization that started developing copylefted User Interfaces
programs o Combination of hardware & software that helps
GNU Project – GNU Not Unix people & computers communicate with each
other
BROWSERS o Menus, submenus, & dialog boxes
Mozilla – first open source browser; released from
Netscape group TODAY’S OPERATING SYSTEMS
Firefox – high performance, feature rich, iOS – OS for the Apple iPhone & was derived from
standards-based web browser the Mac OS X code
Sea Monkey – integrated web application suite Android – a mobile OS that is a popular platform
derived from the mozilla source code for tablet computers, smartphones, & e-book
readers
FILE MANAGEMENT COMMANDS UNIX & Linux
o UNIX (1969) – at AT&T’s Bell Labs; dependable in
COMMANDS multiuser environments
File management o Linux – OS distributed along with its source code
o mkdir – creating directory under the terms of a General Public License
o rmdir – removing directory & its contents (GPL)
o cd – change directory Linux Distribution – download that contains
o cp – copying files the Linux kernel, system utilities, GUI, apps, &
o mv – moving/renaming files and installation routine
o ln – creating links between files BlackBerry OS – proprietary OS produced by RIM;
man, pinfo, info – help about commands key feature: ability to work with corporate e-mail
cat – viewing file’s content software systems produced by Microsoft & IBM
Viewing users, processes
o who – lists all users FILE BASICS
o who am I – lists the current user File Names & Extensions
o pstree – displays all processes running in the o File-naming Conventions:
system in tree format Case-sensitivity
o ps – displays processes owned by the current Maximum Length
user Spaces Allowed
Changing file permission/owner Numbers Allowed
o chmod – changes file permission Characters Not Allowed
o chown – changes file owner File Names Not Allowed
Listing files o File Extensions – provide clues to the file
o ls – lists all files in a directory contents
o ls—a – lists all files (including hidden files) File Directories & Folders
o ls—l – lists filesi n a directory along with the o File’s Location – first specify the device where
owner info, permission, etc. the file is stored; main HD is referred to as drive
Terminal Emulator C; macs do not use drive letters
o xterm – generates a terminal o Disk Partition – section of hard disk drive that is
o xterm —fg color | —bg color | —rightbar – treated as a separate storage unit; partitions –
generates a terminal with the specified can be assigned drive letters & are not the same
background & foreground color & a scroll bar as folders
on the right side o Directories:
Root Directory
LECTURE 6 – OPERATING SYSTEMS & FILE Subdirectory – depicted as folders
MANAGEMENT o File Specification/Path – computer’s file location
File Formats
o File Format – organization & layout of data that
OPERATING SYSTEM BASICS is stored in a file
Operating System Tasks Usually includes a header, data, & possible an
end-of-file marker
File Header – section of data at the beginning o Disk Image – bit-by-bit copy of the data from all
of a file that contains info about a file sectors of a disk
File Extension – doesn’t really define the
format of a file EVALUATION OF EXPERIMENTS
FILE MANAGEMENT EXPERIMENT #1
File Management Metaphors 1. Which type of memory transfers data twice as fast
o File Management Utility – helps you manage as SDRAM & increases performance by
files in your OS transferring data twice per cycle? DDR-SDRAM
o Storage Metaphors – help you visualize & 2. Which type of video connector has a 24-pin or 29-
mentally organize the files on your disks & other pin female connector & provides compressed
storage devices (logical storage models) digital output to a monitor? DVI
File Explorer – makes it easy to drill down through 3. How many universal serial bus (USB) devices can
the levels of the directory hierarchy to locate a be connected to a USB port? 127
folder/file; helps you manipulate files & folders 4. What is the purpose of a heat sink installed on a
Physical Storage Model – describes what processor? To cool the processor
happens on disks & in the circuits 5. Which device is designed specifically to protect
o Formatting – prepares the surface of a disk to computers and electrical devices from excess
hold data in storage areas called sectors electrical voltage? Surge Protector
o File System – keeps track of the names & 6. Which condition refers to a sudden and dramatic
locations of files increase in voltage, which is usually caused by
NTFS lighting? Spike
o Fragmented Files – stored in non-contiguous 7. A technician is installing a new power supply in a
clusters & decrease performance computer. Which type of power connector
o Defragmentation Utilities – rearrange files so that should be used to connect to a CD-ROM? Molex
they are stored in contiguous clusters 8. A technician is installing a new power supply in a
computer. Which type of power connector
BACKUP SECURITY should be used to connect to an ATX
Backup – stores the files needed to recover data motherboard? 20-pin connector
that’s been wiped out by operator error, viruses, 9. When installing adapter cards in a computer, how
or hardware failures should a technician properly secure the card?
Synchronization – compares the content of files Install the card, and secure it to the case with a
on two devices & makes them the same screw
Time Machine – supplied with Mac OS X is a good 10. Which connector is used to external peripherals?
example of synchronization software USB
Windows Backup – windows 8 has a
synchronization utility called File History EXPERIMENT #2
o Full System Backup – includes a copy of every 1. You are installing Windows XP Professional on a
file stored on your computer’s hard drive system. The first step in the installation process is:
o Boot Disk – removable storage medium Start the computer from CD/USB
containing the OS files needed to boot your 2. In Windows XP, which disk properties can you view
computer w/o accessing the hard disk with Disk Management EXCEPT? Compression
o Recovery Disk – bootable CD, DVD, or other that’s been applied to the drive
media that contains a complete copy of your 3. Identify the functions you can perform with the
computer’s hard disk as it existed when the Task Manager. Identify processes associated with
computer was new an application
o Recovery Partition – located on the computer’s 4. Which of the following statements characterize
hard disk & contains the necessary files to the Standby power consumption options? The
restore a computer to its original state operating system continues to run
o Windows Registry – important group of files used 5. Certain services on a computer running Windows
by the Windows OS to store configuration about XP Professional will not load when the computer
all the devices & software installed on a boots. You would like to track the progress of the
computer system boot process. How should you do this in Windows
o Restore Point – snapshot of your computer XP Professional? Enable Boot Logging on the
settings Advanced Boot Options page accessed through
Backup Software – set of utility programs designed F8 at startup
to back up & restore some or all of the files on a 6. One of your users is visually impaired and requires
computer’s primary storage device assistance with his display. What Windows XP
o Full Backup – a backup made by copying all Professional option can you offer this user? Use the
the files to a backup device Accessibility Wizard to configure the Magnifier
o Differential Backup – makes a backup of only option for this user
those files that were added/changed since 7. You are working on a computer that will not boot
your last full backup normally. You try to boot into safe mode, but the
o Incremental Backup – backup of the files that computer is still unable to start. At this point, how
were added/changed since the last backup – can you diagnose the computer? Run the
not necessarily the files that changed from the recovery console from CD to diagnose the
last full backup computer
o Bare-metal restore – restores the computer in a 8. You wish to set the compression state of a file in
single step Windows XP Professional. How would you
accomplish this? Open the Properties of the file. In
Advanced Attributes, select the option to 9. What PowerShell command would you use to
compress/decompress the file activate a sideloading product key? Slmgr /ipk
9. You wish to convert a FAT32 file system to NTFS <sideloading product key>
after you’ve installed Windows XP Professional. 10. Apps that are installed in the Windows image are
Identify the ways in which you can do this. Use the called _____. These apps are staged in the image
CONVERT command and are scheduled to be installed for every user
10. Which partition type is available on a basic disk? of the Windows image at first logon or the next
Primary Partition logon, if the user account is already created.
11. Support program files for PC application often Provisioned apps
have a(n) _____ extension. .dll
12. A service pack _____. Provides updates to the
operating system
13. A security suite will typically include all of the
following EXCEPT _____ software. Browser
14. During product activation, you must _____. Enter
a product key
15. _____ is typically available as a trial version.
Demoware
EXPERIMENT #4
1. What command is used to count the total number
of lines, words, & characters contained in a file?
wc
2. What command is used to remove files? rm
3. How would you switch to virtual terminal 1? Ctrl +
Alt + F1
4. To display information about the processor itself –
display the contents of which file? /proc/cpuinfo
5. What is the purpose of the following operator? It
appends data to a file without overwriting it
6. How do you create a crontab entry? crontab –e
7. Every command in Linux is a executable program
8. What is the shortcut to the login directory? cd +
enter key
9. Which command is used to find data files,
programs, directories that match the search
argument? Locate
10. Which of the following Linux commands could be
used to find what processor was detected on
boot, when a laptop system is slow? POST
EXPERIMENT #5
1. Software can be removed and installed through
control panel
2. You want to create a Family group in Windows 10
and add adults & children. Which of the following
must you have to create this group? Microsoft
account
3. Which of the following is a Windows feature that
enables the computer to use a USB flash drive as
a memory expansion device? ReadyBoost
4. The Windows 10 Store app is linked to which of the
following? The user’s Microsoft account
5. Which feature works with both Microsoft Explorer
& Microsoft Edge & monitors websites, pages, &
downloads for known issues? Blocker
6. By default, Windows 10 automatically turns the
Battery Saver feature on when the battery charge
of a laptop falls below which of the following?
20%
7. _____ is a part of the operating system that relies
on the UEFI specification’s secure boot
functionality to help prevent malicious apps from
loading during the system start-up process.
Trusted Boot
8. Windows 10 has a Refresh recovery option that
helps you recover a PC that isn’t behaving well.
Using this recovery option, you keep your personal
files such as Music, Photos, etc. but which of these
will you lose? User installed apps