Linux Ch 1

In: Computers and Technology

Submitted By ianx88
Words 316
Pages 2
1) Your boss drops by your office in a hurry to ask you to attend a meeting at 10:30 on Friday morning and you can’t find a pen to make a note as a reminder. What Linux command can you use to make a quick note to store in a file called Meeting?
- Meeting >> note

2) Before you make the note in Question 1, you decide to determine Friday’s date, so that you can include it in your note. What Linux command can you use to quickly determine Friday’s date?
- cal

3) While you are typing a command, you misspell the name of a file you want to specify with the command. Which of the following command-line key combinations enables you to go back and fix your error?
- Ctrl+b

4) You haven’t changed your user account password for several months and now decide to create a new password. Which of the following commands should you use?
- passwd

5) You have forgotten the purpose of the -n option in the cat command. Which of the following can you enter at the Linux command line to find out what the -n option does when used with cat?
- man cat

6) Which of the following is the UNIX distribution originally developed through AT&T Bell Labs?
- System V

7) Which shell is used by linux as the default command interpreter?
- Suse

8) You need to type in a line of text to the end of a file called Annual_Report. Which of the following commands enables you to add the text?
- cat >> Annual_Report

9) SSH can be used to _____?
-log in remotely to another computer on the network

10) This is your first day on the job as a Linux server administrator and your boss gives you the password for root. What is root?
- the administrative account that has complete access to a unix/linux…...

Similar Documents

Linux 1 Assignment 6.1

...IT250 – Linux 1 Assignment 6.1 10/2012 EXERCISES, Page 582 1. Which commands can you use from the command line to send a file to the default printer?  lpr/lp – sends job(s) to the printer  lpr – prints a file 3. Which commands list your outstanding print jobs?  lpq/lpstat – Displays the status of the print queue 5. Name three printing protocols that CUPS supports. Which is the CUPS native protocol?  System-config-printer  lpinfo Displays available drivers  lpadmin configures printers  The cups native protocol is IPP EXERCISES, Page 669 1. What advantage does a switch have over a hub?  Switches are faster and switches have a repeater which boosts your speed 3. Name two servers that allow you to share directories between systems.  NFS  Samba   5. What is a common function of a router? What is this function called?  A router connects a LAN to another network, such as the internet. A router can perform several functions, the most common of which is allowing several systems to share a single Internet connection and IP address is NAT. When a router uses NAT, the packets from each system on the LAN appear to come from a single IP address; the router passes return packets to the correct system.  A router can also act as a firewall. 7. Which tool can you use to configure a wireless NIC (rather than having it be configured automatically)?  The network manager applet  CLI: nm-connection-editor ADVANCED EXERCISES, Page 669 9. If......

Words: 276 - Pages: 2

Linux Week 1assignment 1

...NT1430 6/27/13 Unit 1 Exercises Assignment 1 Unit 1: 1. Free software is something that is free from the hands of the people you get it from and from this you can change it and modify it to what fits your needs. a. One characteristic of a free software is that the code must go along with the program. b. Users are encouraged to modify the code to make it better and share it with others. c. And lastly you can’t stop or restrict people from sharing this free software. 4. The Free Software Foundation/GNU was a project that was started by Richard Stallman who believed that giving the resources for free software was the way of the future. He also wrote the GNU kernel and system. Linux was developed by Linus Torvalds and was first introduced in September of 1991. Thousands of people world wide have helped make Linux/GNU what it is today. Unit 2: 1. Installing Fedora/RHEL is when you copy the operating system from a CD/DVD and you set up the files so that it works properly on Linux. Unit 3: 1. A live system gives the user the chance to view Fedora without actually installing it. 4. You put /boot at the beginning of the first partition so that Linux has no issue from booting on the drive. 8. You have to set the runlevel to 3, which is text based, and then you can log in and change it to startx. Unit 11: 1. If you log into the system in single-mode you can only sign in at a designated console and some filesystems may not be loaded.......

Words: 364 - Pages: 2

Ch 1 and 2 Notes

...------------------------------------------------- Ch 1 Introduction 1.1 Why Learn Statistics? * Statistics is the branch of mathematics that transforms numbers into useful information for decision makers. Statistics lets you know about the risks associated with making a business decision and allows you to understand and reduce the variation in the decision-making process. * Statistics provides you with methods for making better sense of the numbers used every day to describe or analyze the world we live in. * Statistical methods help you understand the information contained in “the numbers” and determine whether differences in “the numbers are meaningful or just due to chance. * Why learn statistics? First and foremost, statistics helps you make better sense of the world. Second, statistics helps you make better business decisions. 1.2 Statistics in Business * In the business world, statistics has these important specific uses: 1. To summarize business data 2. To draw conclusions from those data 3. To make reliable forecasts about business activities 4. To improve business processes * The statistical methods you use for these tasks come from one of the two branches of statistics: descriptive statistics and inferential statistics. * Descriptive statistics are the methods that help collect, summarize, present, and analyze a set of data. * Inferential statistics are the methods......

Words: 1278 - Pages: 6

Linux Chatper 1

...Michael George Linux Networking 6/23/2014 CHAPTER 1 1. What is free software? List three characteristics of free software. Free software is software that users have the freedom to distribute and change. 3 characteristics are: 1. Source code has to be distributed with the program. 2. You cannot restrict people from redistributing/modifying/using the software. 3. Users must be allowed to redistribute modified versions under the same terms/licensing. 4. What is the Free Software Foundation/GNU? What is Linux? Which parts of the Linux operating system did each provide? Who else has helped build and refine this operating system? GNU stands for "GNU'S Not Unix", and it was designed to be a UNIX-like operating system developed by Richard Stallman. Linux is the name of operating system kernel developed by Linus Torvalds. GNU's tools aside the Linux kernel make the operating system known as “Linux” aka “GNU/Linux”. Thousands of people helped refine the operating system online. CHAPTER 2 1. Briefly, what does the process of installing an operating system such as Fedora/RHEL involve? Installing Fedora/RHEL is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on a system and setting up configuration files so Linux runs properly on the hardware. Several types of installations are possible, including fresh installations, upgrades from older releases of Fedora/RHEL, and dual-boot installations. CHAPTER 3 1. What is a live...

Words: 539 - Pages: 3

Linux Security Lab #1

...1) During the install, the option to sync with a NTP server was checked. From a security perspective, why is it important for a system to keep accurate time? So, there can be a log if server went down and accurate time when and changes occurred 2) During the install, a password has been set for the “root” user. What is the root user, and when is it appropriate to use this account The root account is the most privileged account on a Linux system. This account gives you the ability to carry out all facets of system administration, including adding accounts, changing user passwords, examining log files, installing software, etc. If, you changing password you should do it in root user, but for security reason you should never user root account since it’s an administrator account. 3) During the install, X-Window and Desktop Manager were installed. However, in a production environment it is recommended not to run the X- Windows environment. Explain the purpose of this recommendation Linux is a command base program and X- Window is GUI therefore it is not recommended. During Linux installation, deselecting X Window packages, especially the base packages, will return errors concerning failed dependencies. You can safely deselect all of these applications, in addition to X itself 4) During the installation process it asks what the option given to create the partition are? Name them Ext 2 and Ext 4 5) Why is it important to partition a Linux system......

Words: 1044 - Pages: 5

Linux Chapter 1

...Chapter 1 Introduction to Linux At a Glance Class Notes Table of Contents • Overview • Objectives • Teaching Tips • Quick Quizzes • Class Discussion Topics • Additional Projects • Additional Resources • Key Terms • Technical Notes for Hands-On Projects Lecture Notes Overview Linux technical expertise is essential in today’s computer workplace as more and more companies switch to Linux to meet their computing needs. Thus, it is important to understand how Linux can be used, what benefits Linux offers to a company, and how Linux has developed and continues to develop. In the first half of this chapter, you will learn about operating system terminology and features of the Linux operating system, as well as the history and development of Linux. Later in this chapter, you will learn about the various types of Linux and situations in which Linux is used. Chapter Objectives In this chapter, you will learn to: • Understand the purpose of an operating system • Outline the key features of the Linux operating system • Describe the origins of the Linux operating system • Identify the characteristics of various Linux distributions and where to find them • Explain the common uses of Linux in industry today Quick Quiz 1 1. What term is used to describe a running program on Linux? a. Application b. Process c. Runtime d. Project 2. What is......

Words: 3777 - Pages: 16

Ch.1 Outline

...Ch.1 [FINANCIAL ACCOUNTING AND ACCOUNTING STANDARDS] I. Essential characteristics of accounting are: a. The identification, measurement, and communication of financial information i. Financial statements b. Economic entities ii. Financial information c. Interested parties II. What is the purpose of information presented in notes to the financial statements? d. To provide disclosure required by GAAP III. Capital Allocation e. Financial reporting iii. Financial information a company provides to help users with capitol allocation decisions about the company f. Users iv. Investors and creditors use financial reports to make their capital allocation decisions v. Audience- are reasonably well-informed users g. Capital allocation vi. The process of determining how and at what cost money is allocated among competing interest vii. Interested in investors’ money to make good capital allocated decisions. h. An effective process of capital allocation is critical to a healthy economy, which… viii. Promotes productivity ix. Encourages innovation x. Provides an efficient and liquid market for buying and selling securities IV. Objective of accounting i. General purpose Financial statements xi. Provide the most useful information possible at the least cost 1. Equity investors are the......

Words: 795 - Pages: 4

Journals Ch. 1-4

...Journals Ch. 1-4 Chapter 1 Pg. 8 Would you describe yourself as a multiracial, or do you see yourself as belonging to a single race? Why? I consider myself multiracial. I come from a Hispanic culture but after living in Miami for so many years, and being surrounded by such a cultural landscape I have also adopted into the American culture. I am also white. Pg. 12 Have you or any member of your family ever encountered a glass ceiling? Explain. Luckily no one in my family has encountered a glass ceiling; they all work for diverse and accepting companies. Pg. 14 As you read the following scenarios that represent a range of reaction (Cultural Cruise Control, Beginning Adjustments, and Fine tuning), with whom do you most identify? Why? I identify the most with fine-tuning. Miami is an extremely diverse city and after living here for so many years, I have learned to respect and appreciate all the diversity that surrounds me, to the point that I am very comfortable with it. Pg. 16 Describe a life experience in which you were in cultural cruise control. Then describe another experience in which you were engaged in beginning adjustments or fine-tuning. Compare these two experiences. One time I was on the way to Orlando with my family, my dad was driving and we got pulled over by a cop. The cop approached our car casually, the moment he started talking to my dad and realized I was translating for him, his approached changed completely! He started being rude and...

Words: 2479 - Pages: 10

Linux Ch 1

...1. What is free software? List three characteristics of free software. Free software is software that users can change and distribute without any repercussions. The characteristics of free software is that the software can be used for any purpose, can be studied and changed and can be distributed with the changes made. 3. What are multiuser systems? Why are they successful? Multiuser systems allows many people to use all of the resources of the system at the same time. This makes the system successful because the resources available can be used to its utmost potential so its growth is always on the rise. 5. In which language is Linux written? What does the language have to do with the success of Linux? Linux is written in C which means that that it is portable. In this way it makes it successful for it can be adapted to different machines and allows it to complete tasks on almost any platform. 9. What is a shell? How does it work with the kernel? With the user? A shell is a command interpreter which is the link between you and the operating system. Shells can arrange a file for later execution using scripts which help with operations and keep kernels on a priority list. This also makes it so users can issue short commands that perform highly complex operations. 11. Why is the Linux filesystem referred to as hierarchical? The filesystem of Linux is hierarchical due to its structure of arranging files under directories. These directories can hold other......

Words: 388 - Pages: 2

Linux Discovery Exercise -1

...Chapter 1 1. Use the whatis command to determine the purpose of the ls command. Command: whatis ls Explanation: ls displays the content of a directory 2. Use the man program to find out what the -R option does when used with the date command. output date and time in RFC 2822 format. Example: Mon, 07 Aug 2006 12:34:56 -0600 3. Use the man program to determine what other commands you should also see in relation to the clear command tput(1), terminfo(5) This describes ncurses version 5.7 (patch 20100109). 4. Use the cal command to determine on what day of the week you were born. cal [[day] month] year] 5. Use the cal command to determine which year between 2005 and 2010 is a leap year. Cal –j 31 12 2005 or cal 02 2005 Cal –j 31 12 2006 Cal –j 31 12 2007 Cal –j 31 12 2008 Cal –j 31 12 2009 Cal –j 31 12 2010 6. Clear the screen, and view the online manual to determine how to display today’s date in UTC. date -u 7. Display the current UTC. 8. Create a file called month containing the current month cal 9 2015 > month 9. View the contents of the month file you created in Exercise 8. more month less month 10. Use the who command to determine the idle time for users currently logged in, but output that information to a file called users_info. Next view the file you created. who > users_info 11. View the files, month and users_info, in sequence using only one command-line sequence of commands cat......

Words: 805 - Pages: 4

Linux Unit 1 Homework

...Pg. 20-21 EX 1) Free software is software that respects users' freedom and community. Roughly, it means that the users have the freedom to run, copy, distribute, study, change and improve the software. 4) The Free Software Foundation is a nonprofit with a worldwide mission to promote computer user freedom and to defend the rights of all free software users. Linux is an open-source operating system modelled on UNIX. Linux is basicly the GNU system. Everyday users have help define this system. Pg. 50 EX 1) Installation of the Fedora/RHEL system involves a. Make sure the BIOS is set to boot from CD/DVD b. Insert the DVD in and reset the computer c. Computer BOOTs from DVD d. Make sure select the boot command line and begin installing Pg. 86 EX 1) A live system usually means an OS booted on a computer from a removable medium. Your OS is portable. I am assuming that you are using USB stick for your live OS. 2. Partitioning headaches for newbies are not there. 3. You can start testing and experiencing any other distro easily if you don't like the current one. 4) Put /boot at the beginning of the drive (partition 1) so that there is no issue of Linux having to boot from a partition too far into the drive. 8) When the system enters runlevel 5 Pg. 498 EX 1. When a system is in single-user Mode you can log in only at the console. With the system in multiuser mode you can log in at any terminal or workstation that is set up...

Words: 386 - Pages: 2

Ch. 1 Review Question

...Ch. 1 Review Questions 1. Redundancy is the duplication of data or storing of the same data in more than one place. Redundancy wastes space and can lead to inconsistencies in information. 2. Nondatabases are time consuming and have a definitive amount of entries that can be made. 3. Entity is a person, place, object, event, or idea in which you want to store data; attribute is a characteristic or property of an entity. 4. Relationship is an association between entities. One to many relationships is when one entity associates with many other entities but many entities associate with just one. 5. Database is a structure that can store information about multiple types of entities the attributes of those entities, and the relationship between the entities. 6. Using common columns in the two tables creates it. 7. Visual way to represent a database. 8. Program, collection of programs through which users interacts with a database. 9. Determine the structure of the required database. 10. Screen objects used to maintain, view, and print data from a database. 11. The DBMS ask questions about desired content and appearance of each report and then creates the report automatically based on the answer. 12. Data of various users can be combined and shared among authorized users, allowing all users to access greater pool of data. 13. A person or group to be in charge of the database. 14. With the database approach, changing a......

Words: 426 - Pages: 2

Bsad Ch 1

...CH 1: Supplementary exercises 2, 3, 7, 8, 13, 14, 19, 20, 25 (pgs 25-32). 2. a. There are 10 elements in this data set. b. There are 5 variables in this data set. c. Categorical Variables = Operating system and CPU manufacturer Quantitative variables = Cost ($), Display size (inches) and Battery life (hours). d. Variable Type of measurement Operating system Nominal CPU Manufacturer Nominal Cost Interval Scale Display Interval Scale Battery Interval Scale 3. a. Average cost = (599+299+499+860+668+899+530+590+525+360) / 10 = 5829/10 = $ 582.9 b. Average cost of tablets with windows operating system, = (599+860+668+899+590)/5 = 3616/5 =$723.20 Average cost of tablets with Android operating system, = (299+530+525+360) /4 = $428.50 So, the cost of a tablet with windows is about 1.7 times more expensive than an Android. c. Percentage of tablets using CPU manufactured by TI OMAP = (2/10)*100 = 20% d. Percentage of tablets using Android operating system = (4/10)*100 = 40% 7. a. The data collected by Kroger in this example are Categorical. b. Nominal measurement scale has been used. 8. a. The sample size for this poll is 762. b. The data are categorical. c. It make more sense to use percentage in this kind of survey. d. Number of individual saying Yes = 67% of 762 = 511 13. a. The variable of interest is federal spending. b. The data are quantitative. c. The data are time series. ...

Words: 545 - Pages: 3

Linux Research Assignment 1

...1. What is the meaning of the acronym LAMP, and how is it used for creating dynamic websites? A: Lamp stands for “Linux, Apache, MySQL and PHP.” Together these software technologies can be used to form a fully-functional web server. Linux is the most popular operating system used in web servers. The most important of these four technologies is Apache, Apache is the software that serves webpages over the Internet via the HTTP protocol. Once Apache is installed, a standard Linux machine is transformed into a web server that can host live websites. Other components of LAMP include MySQL and PHP. MySQL is a popular open source database management system (DBMS) and PHP is a popular web scripting language. Together, these two products are used to create dynamic websites. Instead of only serving static HTML pages, a LAMP server can generate dynamic webpages that run PHP code and load data from a MySQL database. 2. For Internet websites which are located throughout the entire world, what is the estimated market share for dynamic websites which use LAMP as opposed to Microsoft IIS and the Microsoft Active Server Page scripting language? A: As of today, LAMP (Apache) = 56.4% and Microsoft IIS = 12.9% and I cannot find the percentages for the Microsoft Active Server Page. 3. What is PHP? A: PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. 4. What is the JAVA Server......

Words: 353 - Pages: 2

Ch 4 Test Linux/Unix

...Ch 4 test lux 205 True/False Indicate whether the statement is true or false. _T___ 1. UNIX/Linux store data, such as letters, product records, or vendor reports, in flat ASCII files. _F___ 2. The command rmdir can be used to delete a directory that is not empty. _T___ 3. Moving and renaming a file are essentially the same operation. _F___ 4. When you are moving files, using the -o option with the mv command can be a good idea so that you don’t unexpectedly overwrite a destination file with the same name. _F___ 5. When you use cat to combine two files into a third file, the first line of the output contains the first line of the first file followed by the first line of the second file. __F__ 6. When you use the paste command, by default, the pasted results appear in columns separated by commas. __T__ 7. You can complete a project using awk that you cannot complete using a combination of paste, cut, sort, and join. Multiple Choice Identify the choice that best completes the statement or answers the question. __C__ 8. In UNIX/Linux, text files and binary files are considered to be ____ files. a.|executable|c.|regular| b.|document|d.|dynamic| __A__ 9. Character special files are used by input/output devices for communicating one character at a time, providing what is called ____ data. a.|raw|c.|ASCII|| b.|binary|d.|block| __C__ 10. System administrators and programmers refer to standard input as......

Words: 1554 - Pages: 7