4 Pages

ClassAssignment01Answers

Course: CST 306, Fall 2009
School: CSU Fullerton
Rating:
 
 
 
 
 

Word Count: 1121

Document Preview

n I Class Assignment Login using the account "user" (or some other non-root account). Unless otherwise instructed, write down the command you used to accomplish the action in the space provided. 1) What is your current working directory? should be /home/user (or similar) 2) Using an absolute reference, change to the directory called "yum" which lives in the toplevel directory...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> CSU Fullerton >> CST 306

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
n I Class Assignment Login using the account "user" (or some other non-root account). Unless otherwise instructed, write down the command you used to accomplish the action in the space provided. 1) What is your current working directory? should be /home/user (or similar) 2) Using an absolute reference, change to the directory called "yum" which lives in the toplevel directory called "etc". What command did you use? cd /etc/yum 3) Using a relative reference, make the /etc directory your working directory. What command did you use? cd .. (using cd /etc would work, but is an absolute reference 4) You want a detailed listing of the files and folders in /etc including hidden ones. You find the colors that ls uses by default to be distracting and you want to turn them off. Consult the ls man page. What ls command can you use? ls --color=never -a (-a or -A reveals the hidden files whose name begins with a period) 5) What type of file is DIR_COLORS? (Use the file command to determine this) when you enter file DIR_COLORS, it should respond with English ASCII Text 6) What command will display the first 20 lines of DIR_COLORS? head -20 DIR_COLORS (n is unnecessary) 7) What command will display the last 20 lines of DIR_COLORS? tail -20 DIR_COLORS 8) Investigate the wc (word count) command. What command will display how many lines are contained in the DIR_COLORS file? wc -l DIR_COLORS 9) Another useful Linux command is grep. The general syntax of grep is grep pattern filename. Grep will list any lines in the specified file that contain the characters in pattern. The option n asks grep to also display the number of the line to show its position in the file. Use grep to list any lines in DIR_COLORS that contain the word "red" and to include the position of that line within the file. What command did you use? grep -n red DIR_COLORS. If you use RED, you will get no matches, as grep is case sensitive by default. Add the option -i to have grep ignore case 10) Make your home directory your current default directory. What is simplest command that will do this in Linux? cd 11) Create a directory called CST306Notes in your home directory. What command did you use? Since you are @home, you can simply use a relative reference: mkdir CST306Notes 12) Did you use an absolute or relative reference in that command? the above is a relative reference, an absolute reference would be mkdir /home/user/CST306Notes or mkdir ~/CST306Notes 13) How could you have created that directory using the other type of reference instead? see above 14) Download a copy of the dante text file from the CST306 resources area of our website using FireFox. Where did the FireFox download manager put the file by default (give the absolute path to this location)? ~/Download (same as /home/user/Download 15) Make sure that your working directory is still your home directory. What command (Linux uses cp) will make a copy of that dante file in the directory you created in step ? Shortest is cp Download/dante . ("copy the dante file from Download which is where below my current working directory and put the copy in this directory). Longer way: cp / home/user/Download/dante /home/user 16) Use the Linux mv command to move the DIR_COLORS file mentioned above to your home What directory. command did you try? Assuming you are in your home, mv /etc/DIR_COLORS ~ (destination could also be written as . or ~) Why do think it failed? mv implies a deletion at the source (/etc) and you do not have necessary permissions 17) Instead use the cp command to copy DIR_COLORS giving it the new name dir_colors. What command did you use? cp /etc/DIR_COLORS ~/dir_colors (making a case sensitive name change while we are at it) 18) Make sure your working directory is ~. Execute the command ls R >snapshot1. What is the name for the operation that you just performed using the metacharacter: >? output redirection 19) Why was snapshot1 created in your home directory rather than somewhere else? because the reference to snapshot1 was a relative one and my current working directory was my home directory_______________________________________________________ 20) Make the CST306Notes directory your working directory. Command? assuming you are at home, cd CST306Notes will do (relative) NOTE: tab completion will save you time type cd C followed by tab 21) Use the touch command to create three empty files called file1, file2, and file3. Touch can create the three files at one time. You do not need to use touch 3 times: touch file1 file2 file3 NOTE: if you use commas, they become part of the filename (touch file1, file2, file3) 22) Make a new directory called backup below your home directory which is a copy of the CST306Notes directory and its contents. What command did you use? Assuming you are still in CST306Notes. briefest method is cp -R . ~/backup ("copy this directory to backup below my home directory"). -R means include all files and subdirectories. The -a (archive) option that most of you used is actually better, though -R or -r works here __________________________________________________________________________ 23) What option of cp and mv will warn you about potential overwriting of existing files? -i 24) Use the alias...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Allan Hancock College - PETR - 3512
11. SaturationHow to measure SwTotal hydrocarbon volume = A*h*(1-Sw) Vr=V/I IResistance r = RL [ohms, ] A where R is the RESISTIVI TY of the sample (length L, cross - sectional area A)Units of resistivity: ohm mDr Elena Pasternak Slide 2
Allan Hancock College - MECH - 1401
Engineering Dynamics MECH1401 : Equation SheetAn underscore denotes a VECTOR Linear Motion An overscore denotes a term related to the centre of mass.v=dr dta=dv dtv dv = a t dsKinetics of a Rigid Body in Plane Motion Fx = ma x Ft = mr
Allan Hancock College - MECH - 1401
Engineering 100 (Dynamics) Tutorial: drawing an acceleration diagram Prof. B.J. Stone UWA Page 1: up to point B Instructions Some of the accelerations in this mechanism are much larger than the others, so we have divided the acceleration diagram in
Allan Hancock College - PETR - 3512
3. Friction PTTfr=c+P tan Let c=0, =45 Applied P=10 kN T=5 kN What is the friction force?The limiting (critical force) is Tfr=10 tan 45=10 kN. Is this friction force? If yes, thenFriction force=10 kN P=10 kN T=5 kNThe block will move back (
Cuyamaca College - TIMES - 0203
The Chapel Times27 October 2002 18:9A Place For EthicsUniversities New ConcernsLast week there was a news article about the disciplining of over 40 students at Simon Fraser University who were caught cheating academically. Penalties range from t
Allan Hancock College - MECH - 2402
Manufacturing MECH2402 unit outlinehttp:/www.mech.uwa.edu.au/unit/MECH2402/Contact DetailsUnit coordinator name: Dr Nathan Scott email: nscott@mech.uwa.edu.au room no: 220 in the main Mechanical/Civil engineering building phone: 6488 3761 consult
Cuyamaca College - TIMES - 0405
6 February 200523:4Good News TeamThere has been much good news around the chapel lately: we have been informed this week that 176 people have made donations to the chapel in 2004. A special letter will be sent to each one to bring them up to dat
Allan Hancock College - PETR - 2510
17. Consider drilling a well 12000 feet depth with 5.5 drill pipe (N-80 alloy). The drill pipe has a weight of 17 pounds per foot, the wall thickness is 0.304 inches. (a) The drill has reached the total depth and is being pulled out of the wellbore.
Rochester - PSC - 262
Cuyamaca College - TIMES - 0203
The Chapel Times16 February 2003 19:06Reading WeekA Time for ReflectionThe ingenious insertion of Reading Week in the midst of the winter term allows students to catch up on their reading and writing for their courses. Too many cannot distinguis
Cuyamaca College - TIMES - 0506
The Chapel Times23 October 2005 24:7Choral Weekend Last weekend we were treated to a feast of music by our intrepid chapel choir. A number of our choir alumni from earlier days came last weekend for a reunion and to participate with the present cho
Cuyamaca College - TIMES - 0304
The Chapel Times11 January 2004 21:02Vocal Ensemble CD $15The chapel is making available a limited quantity of the new CD, Heaven Somewhere, released by the Vocal Ensemble. It is a collection of some of the music which they presented last year, u
Allan Hancock College - PETR - 2510
Petroleum Engineering Fundamentals PETR2510 TutorialsElena PasternakDr Elena Pasternak Slide 11.Faults (compressional, extensional systems, transform faults). Determine the type of the faults (a)(c) and which tectonic movement is associated wit
Cuyamaca College - TIMES - 0506
The Chapel Times12 February 2006 25:0550). This is obviously not so for the past couple of years. Is the Bible Relevent to a University? This may be a surprise question to many who attend chapel on a regular basis. We seem to take it for granted th
CSU Fullerton - TLM - 100900
Canadores Learners Guide to The Learning Manager Enterprise Edition (TLM 4.0)Taking Courses Using iLearnTable of ContentsContact Information. 3 Purpose and Scope . 4 Additional Resources and Help. 4 Introduction to The Learning Manager .. 4 What
Allan Hancock College - MECH - 1401
Engineering 100 (Dynamics) Tutorial: drawing an acceleration diagram Prof. B.J. Stone UWA Page 1: up to point B Instructions Some of the accelerations in this mechanism are much larger than the others, so we have divided the acceleration diagram in
CSU Fullerton - TLM - 95700
ilearn (TLM) - Frequently Asked QuestionsHow do I access the ilearn (TLM) site? I want to access my TLM account, but I am not sure what my username and password are. Do I need any special software to use ilearn (TLM)? I cannot login to the TLM site
Allan Hancock College - MECH - 1401
Engineering 100 (Dynamics) Tutorial: drawing an acceleration diagram Prof. B.J. Stone UWA Instructions Starting from the earth point given, and using the given scale 1) Find the acceleration of point Q, and 2) Using the theory of rotating axes, fin
CSU Fullerton - CST - 312
Lab 7.5.1: Basic Wireless ConfigurationTopology DiagramLearning Objectives Configure options in the Linksys Setup tab. Configure options in the Linksys Wireless tab. Configure options in the Linksys Administration tab. Configure options in t
Allan Hancock College - MECH - 2403
MECH2403 Chapter 9 - Steady Flow ProcessesPage 1 of 8Chapter 9: Steady Flow ProcessesSteady Flow Energy EquationFixed system boundary Mass crossing boundary Heat and Work crossing boundary Only work possible is Shaft Work Assume: Steady condi
Rochester - PSC - 262
Allan Hancock College - PETR - 2510
5. Sketch the ratio h/v accounting for tectonic stresses of 10 MPa.h = Kv + tt=10 MPa (tectonic stress). Tectonic stresses are added to h, since plates move horizontally. h 10 =K+ t =K+ v gh vh K, h v h , h 0 vDr Elena Pasternakh/vK0
Cuyamaca College - TIMES - 0405
20 March 200523: 10A Solemn PilgrimageHoly Week BeginsTonight signals the beginning of Holy Week. After six weeks of Lenten preparation, we turn our faces to Golgotha. Today we mark Christ's entry into Jerusalem where the people shout 'Hosanna!
Allan Hancock College - MECH - 2403
Chapter 14: Rotary CompressorsThere are several types of rotary compressor, the most common being Rotary vane compressors and Roots blowers; both tend to be used for low pressure-ratio applications, and run at relatively high speeds.Rotary Vane Co
Cuyamaca College - TIMES - 0304
The Chapel Times18 January 2004 21:03Call To Unity:Peace and ReconciliationThe annual Week of Prayer for Christian Unity will be held this coming week. Held in Roman Catholic, Orthodox, and Protestant churches around the world, it is a call to C
Allan Hancock College - PETR - 3512
Characteristics of reservoirs & rocksCharacteristics of reservoirs & rocks porosity & permeability are the key rock characteristics POROSITY : Ratio of Void Volume to Gross Volume PERMEABILITY k: Ability to flow fluidDr Elena PasternakSlide 59
Cuyamaca College - TIMES - 0405
20 February 200523: 06Singing a New TuneThe chapel choir will be singing a lot of new tunes on Friday/Saturday (4/5 March) at the HYMNATHON! They will be attempting to sing through the whole chapel hymnbook, which has 628 hymns, in 24 hours. Can
Cuyamaca College - TIMES - 0607
+ ! ) #! ! $ $ ) ) ' ! + . & ! * $ /0 ,% ' ( $ " : 7 8 #7 $6 #7 6 " " 97 " 3" 0/9 " ! "*)* 1 2 /.1 $ .341 $ 34) )/ /5.34 341/53" ' 3"! "/. ; +! 7 7 7 ,< #7 3 1) ! ) > + " ! " $ + ) ) " ) + "; $ ) $ ) " + = ) + A ! ) + >
CSU Fullerton - BTS - 730
Chapter 11: Project Risk ManagementInformation Technology Project Management, Fifth EditionNote: some slides/points have been removed from the author's original presentation.The Importance of Project Risk ManagementProject risk management is th
CSU Fullerton - BTS - 730
BTS730Communications ManagementChapter 10, Information Technology Management, 5edCommunicationRESPECTCommunication Management Processes: Planning Information Distribution Performance Reporting Stakeholder Management Expectations, respon
UCF - TAX - 6845
Taxation of a controlled subsidiary U.S. vs. foreign controlled subsidiary 2008 Kiley Inc. is a wholly owned subsidiary of Southwest Inc., a U.S. corporation. Kiley operates a manufacturing facility in Ireland that makes products for distribution in
UCF - TAX - 6845
Maryland - INFM - 718
OutlineINFM 718A / LBSC 705 Information For Decision MakingLecture 11 Decision-making for Negotiations Negotiation exercises Preview of Assignment 7Negotiations Lets start with an exercise. Buying or selling a book.Negotiations Distributi
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduxiTRANSFER TIPS AND CHECKLISTContact: UCF Office of Transfer Services Location: Howard Phillips Hall, room 102 e-mail: tservices
UCF - MANUAL - 0304
xxiiARMY ROTC (MILITARY SCIENCE)Contact: LTC John J. Ruzich Army ROTC (Military Science) Trailer 501, Room 110 Phone: 407-823-2430, Fax (407) 823-5324 e-mail: ncodding@mail.ucf.edu Web site: http:/www.army.ucf.edu Faculty/Staff: LTC Ruzich, MAJ Ch
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduENVIRONMENTAL STUDIES: MinorCollege of Arts and Sciences Liberal Studies Program, CNH 201 http:/www.cas.ucf.edu/liberal_studies e-
UCF - MANUAL - 0304
xxivAIR FORCE ROTC PROGRAMContact: Unit Admissions Officer Department of Aerospace Studies (AFROTC) Trailer 501, Room 103 Phone: 407-823-1247 or UCF-1AIR e-mail: afrotc@mail.ucf.edu Web site: airforce.ucf.edu Air Force Reserve Officer Training Cor
UCF - MANUAL - 0304
viiUCF AREA CAMPUSESThe University of Central Florida offers programs through the UCF Area Campus System. Strategically located within an 80-mile radius of the UCF Orlando campus, the 21 non-residential system partners with six Florida community c
UCF - MANUAL - 0304
xixTHE BURNETT HONORS COLLEGEContact: Dr. Allyn MacLean Stearman, Dean Dr. Alvin Y. Wang, Associate Dean The Burnett Honors College Burnett Honors College (Student Reception area 111) Phone: 407-823-2076 e-mail: stearman@mail.ucf.edu e-mail: awang
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduCHILDREN'S SERVICES: CertificateCollege of Health and Public Affairs School of Social Work, HPA 204 Mary Van Hook, 407-823-2114 Th
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduFILM - CINEMA STUDIES TRACK (B.A.)College of Arts and Sciences School of Film and Digital Media COM 121 407-823-3456 http:/www.cas
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduNURSING ACCELERATED SECOND DEGREE BACHELOR OF SCIENCE IN NURSING (BSN) OPTION(For individuals who are not Registered Nurses but wh
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduACTUARIAL SCIENCE (B.S.)College of Arts and Sciences Department of Statistics, CC II 212, 407-823-5562 http:/www.cas.ucf.edu/stati
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduMOLECULAR BIOLOGY AND MICROBIOLOGY (B.S.)College of Health and Public Affairs HPA 2 335, 407-823-5932 http:/www.cohpa.ucf.edu/mole
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduFOREIGN LANGUAGE EDUCATIONFRENCH (B.S.)College of Education Department of Teaching and Learning Principles 407-823-5791 http:/www.
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduAEROSPACE ENGINEERING (B.S.A.E.)College of Engineering and Computer Science Mechanical, Materials & Aerospace Engineering Departme
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduELECTRICAL ENGINEERING TECHNOLOGY (BSEET)A.S. to B.S.E.E.T. CONCENTRATION (Completion program for individuals who have a statewide
UCF - MANUAL - 0304
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduNURSING (B.S.N.) B. RN TO BSN PROGRAM(Completion program for individuals who are RNs licensed in the State of Florida) College of
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduSCIENCE EDUCATION - CHEMISTRY (B.S.)College of Education Department of Teaching and Learning Principles ED building, second floor,
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduCOMMUNICATIVE DISORDERS: MinorCollege of Health and Public Affairs Department of Communicative Disorders HPA 2 Suite 101 Amy Mulca
UCF - MANUAL - 0304
2003-2004 UNIVERSITY OF CENTRAL FLORIDA TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.eduADVERTISING/PUBLIC RELATIONS (B.A.)College of Arts and Sciences Nicholson School of Communication, COM 250 407-823-2829 http:/www.
CSU Fullerton - BTS - 730
BTS730 Exercise 1 Results Summary of results of Cost/Time/Scope exercise: Depending on the project, client, business, either of cost, scope or time might be the most important constraint. o For example: o A client with "a big, loosely defined budget
Northwestern State University of Louisiana - SCG - 66124
Mathurin Body CRG/LISI Villeurbanne FranceHandling Evolutions in Multidimensional StructuresMaryvonne Miquel LISI-INSA de Lyon Villeurbanne, Francemiquel@if.insa-lyon.frYvan Bdard CRG, Universit Laval Qubec, CanadaAnne Tchounikine LISI-INSA d
Northwestern State University of Louisiana - SCG - 66124
SPATIAL DATABASE MODELING PICTOGRAMMIC LANGUAGES Yvan Bdard, Suzie Larrive Dept of Geomatics Sciences Centre for Research in Geomatics Canada NSERC Industrial Research Chair in Geospatial Databases for Decision Support Laval University Quebec City, C
UCF - MANUAL - 0304
INVENTORY OF SUS UNDERGRADUATE DEGREES, MAJORS, OPTIONS, OR TRACKS Source: 2002-2003 Counseling Manuals (Subject to Update) LEGEND No Symbol = Bachelor's Degree -* = Track, Emphasis, Seq., Option, Concentration, etc. -M = No Bachelor's/5-year non-sto
Northwestern State University of Louisiana - SCG - 66124
Chapter TitleFundamentals of Spatial Data Warehousing for Geographic Knowledge DiscoveryYVAN BDARD1 and JIAWEI HAN21Canada NSEC Industrial Research Chair in Spatial Database for Decision Support,Centre for Research in Geomatics, Laval Unive
UCF - MANUAL - 0607
ACCOUNTING (B.S.B.A.)TRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.edu2006-2007 UNIVERSITY OF CENTRAL FLORIDACollege of Business Administration, BA2 101, 407-823-2184 http:/www.bus.ucf.eduAdmission Requirements Com
UCF - MANUAL - 0607
ENVIRONMENTAL STUDIES: MinorTRANSFER SERVICES HOTLINE (407) 823-5959 WEB SITE http:/transfer.sdes.ucf.edu2006-2007 UNIVERSITY OF CENTRAL FLORIDAOffice of Undergraduate Studies Office of Liberal and Interdisciplinary Studies http:/liberalstudies
UCF - MANUAL - 0607
UCF - MANUAL - 0607
University of Central FloridaOffice of Transfer and Transition ServicesFACTSDo you know that Transfer and Transition ServicesHas a mission to assist students in their preparation to transfer to UCF, in their transition to the university, and thr