DOC PREVIEW
UI CS 270 - Lecture Notes

This preview shows page 1-2-3 out of 8 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 8 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

useful commandswhich, whereisenv 1su -- a word of wisdomroot: su and sudomotivation for rootmotivation for not having rootsusudo 2Starting LinuxHardware self diagosticsLinux kernel loaded from /boot directory of root deviceKernel starts running and initializes itselfKernel starts process init pid = 1first user process3Run LevelsLinux kernel can run in different ways, defined by run levels. 10 levels define desired state of the systemview /etc/inittab (sidenote: what is the difference vi != view)This file describes how the INIT process should set up the system in a certain run-level.4Run Levelsfrom inittab:# Default runlevel. The runlevels used by RHS are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single user mode# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)# 3 - Full multiuser mode# 4 - unused# 5 - X11# 6 - reboot (Do NOT set initdefault to this)5init processinit processfirst user processparent to all processesinit starts other programscontrols run level and boot script associated with each run level6Boot Scriptsscripts:src.sysinitrc.bootrc.modulesrc.localscripts for different run levels located in /etc/rc.dtake a look7Stopping LinuxPull the plug? @#$%^!!!shutdownhaltsync - flush file system


View Full Document

UI CS 270 - Lecture Notes

Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?