Skip to main content

ads1

Chapter 6 - Introduction to Ubuntu Linux

 Chapter 6 - Introduction to Ubuntu Linux 


The Unix operating system developed at the AT&T Bell Laboratories in 1969 has become a turning point in the operating system development scenario. The key persons involved in this development were Ken Thompson, Dennis Ritchie, Brian Kernighan, Duglas McIlroy and Joe Ossanna.


The people who developed Unix were originally working on a joint project with General Electric (GE) and Massachusetts Institute of Technology (MIT) to develop a large ambitious multiuser operating system called Multics (Multiplexed Information and Computing Service). Though the project had many innovations to its credit, it was a large and unwieldy project that was not progressing as expected. When AT&T decided to pull out of the project, Thomson, Ritchie and others decided to develop a smaller operating system to keep alive some of the ideas of Multics. Ken Thomson had developed a game called Space Travel while still on the Multics project, but it was too expensive to run the game on a large machine in active use. He found a little used machine at Bell Labs and redeveloped Space Travel to run on it.


Unix also provided a very powerful command line environment that supported combining the power of existing commands in flexible ways to get a new job done


Linux 

Linux, just like its predecessor Unix, is known for its high performance, security, reliability and portability. No matter how old or low-end the hardware is, one can find a Linux distribution that would run on it. It is quite stable on most PC configurations. It combines the high-power CLI that has traditionally been Unix's strength with an impressive GUI that makes it almost as user-friendly as the other two OSs. Linux has a particularly strong presence in the Netbook (small notebook computer used primarily to access the Internet) category. 


A major advantage of Linux is that not only is it free; it also provides us complete freedom in running the operating system. Linux provides excellent interoperability with Microsoft Windows and you can access the Windows partitions on your computer and the organization's Microsoft Windows servers as easily as from Windows.Linux meets all the basic needs of an average computer user and, once you settle down, can be as comfortable to use as it can get. And all this is yours, 100% free and 100% legal. 


Ubuntu has a fixed release cycle, with a new version being released in the April and October months of each year. The release numbers are denoted by two-digit year, followed by a dot, followed by two-digit month. Thus, Ubuntu 10.04 LTS was released in April 2010.


Basic Concepts of Ubuntu Linux To use Ubuntu on a regular basis, one needs to install Ubuntu. Usually, installing a new operating system requires that a separate partition on the disk be made available for exclusive use by that OS. The installation procedure involves formatting the partition and creating a new file system on it.


The file system can be unmounted by clicking on this icon. It may be mounted again when the user tries to access it again next time. The root file system cannot be unmounted. Removable devices are automatically mounted when they are inserted. Read-only media like optical disks can be unmounted by simply removing or ejecting them. Media on which writing is possible (like USB flash disks) must be unmounted by clicking the unmount icon in the file browser or by right clicking its icon on the desktop and selecting "safely remove device” option.


Linux provides us with multiple virtual screens to work with. In fact, we have access to 12 different virtual screens altogether. These can be accessed by pressing the shortcut keys CTRL+ALT+F1, CTRL+ALT+F2, CTRL+ALT+F3, etc. The first six of these screens are text mode screens, while the next six screens are graphics mode screens. By default, the login process is started on the first 6 text mode screens, so we may start working by providing out username and password. The default graphical session starts on the seventh screen.


The Super User : Every Linux system has a super user, traditionally called root, who has all the privileges and can do anything and everything in the system. However, logging in and working as the super user is extremely risky, because in that case you have the potential to accidently cause serious damage to the system. For example, you may permanently delete some important file or directory by mistake, and the whole system may become unusable.


Choose the most appropriate option from those given below : 

(1) The Unix system was developed at - 


(a) AT&T, Bell Laboratories 

(b) Finland 

(c) MIT 

(d) Free Software Foundation 


(2) What was the full form of Multics? 


(a) Multiple User Information and Computing System 

(b) Multiple User Information and Computing Service 

(c) Multiplexed Information and Computing System 

(d) Multiplexed Information and Computing Service 


(3) Which game was instrumental in the development of Unix ? 


(a) Space Wars 

(b) Space Travel 

(c) Time Travel 

(d) War of the Worlds 


(4) What was the original name of Unix ? 


(a) Unics 

(b) Uniks 

(c) Uniques 

(d) It was Unix from the beginning 


(5) Who started the Free Software Foundation ? 


(a) Ken Thompson 

(b) Richard Stallman 

(c) Dennis Ritchie 

(d) Linus Torvalds 


(6) Which of the following is not a freedom sought by the Free Software Foundation ? 


(a) The freedom to delete the program 

(b) The freedom to study the program 

(c) The freedom to redistribute the program 

(d) The freedom to modify the program 

 

(7) What is the full form of GNU ? 


(a) Great New Unix 

(b) Good New Unix 

(c) GNU is New Unix 

(d) GNU is Not Unix 


(8) Who developed the Linux kernel ? 


(a) Linus Torvalds 

(b) Richard Stallman 

(c) Ken Thompson 

(d) Denis Ritchie 


(9) What is the full form of Linux ? 


(a) Linux is New Unix 

(b) Linus's New Unix 

(c) Linux is Not Unix 

(d) Linux is Next Unix 


(10) Which of the following is not a major operating system family for the PC ? 


(a) Microsoft Windows 

(b) OS X 

(c) Apache 

(d) Linux 


(11) On which Linux distribution is Ubuntu Linux based ? 


(a) Debian GNU/Linux 

(b) Fedora Linux 

(c) Red Hat Linux 

(d) Linux Mint 


(12) What is the Windows-based Ubuntu installer called ? 


(a) Wubu 

(b) Wibu 

(c) Winubu 

(d) Wubi 


(13) In Ubuntu, additional storage devices are accessed by - 


(a) mounting them on an existing directory 

(b) drive letters like D:, E:, F:, etc. 

(c) mounting them on a non-existent directory 

(d) booting the system from that device 


(14) In Linux, the key with the Windows logo on it is known as - 


(a) SUPER key 

(b) WINDOWS key 

(c) SHORTCUT key 

(d) SPECIAL key 


(15) Which key is used to switch between open windows ? 


(a) CTRL+SPACE 

(b) ALT+SPACE 

(c) ALT+TAB 

(d) ALT+TAB 


(16) The graphical emulator of the text mode terminal is known as - 


(a) gterm 

(b) gedit 

(c) xterm 

(d) virtual terminal 

ads2

Popular posts from this blog

11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following:

    11. Write a Java program to input basic salary of an employee and calculate its Gross salary according to following: Basic Salary <= 10000 : HRA = 20%, DA = 80% Basic Salary <= 20000 : HRA = 25%, DA = 90% Basic Salary > 20000 : HRA = 30%, DA = 95% Static Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     if(basic <=10000)     {         da = basic * 0.8;         hra = basic *0.2;     }              else if(basic <=20000)     {         da = basic * 0.9;         hra = basic *0.25;     }     else     {         da = basic * 0.95;         hra = basic * 0.3;     }     gross = basic + da + hra;     System.out.println("The Gross Salary is :-"+gross);     } } Output :-  Dynamic Solution :-  class salary {     public static void main(String args[])     {     double basic=20000.50,gross,da,hra;     Scanner in = new Scanner(System.in);     System.out.println("Enter the Basic Salary

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise or class wise.

1. Given the school result data, analyses the performance of the students on #different parameters, e.g subject wise  or class wise. Solution :-   # x-axis is shows the subject and y -axis # shows the markers in each subject # import pandas and matplotlib  import pandas as pd  import matplotlib.pyplot as plt # Simple Line Chart with setting of Label of X and Y axis, # title for chart line and color of line  subject = ['Physic','Chemistry','Mathematics', 'Biology','Computer'] marks =[80,75,70,78,82] # To draw line in red colour plt.plot(subject,marks,'r',marker ='*')     # To Write Title of the Line Chart plt.title('Marks Scored') # To Put Label At Y Axis plt.xlabel('SUBJECT')           # To Put Label At X Axis plt.ylabel('MARKS')             plt.show() Output :- 

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category.

24.Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the category and print the total expenditure per category. import pandas as pd  # initialize list of lists data = [['CAR','Maruti',1000000],['AC','Hitachi',55000],['AIRCOLLER','Bajaj',12000], ['WASHING MACHINE','LG',15000],['CAR','Ford',7000000],['AC','SAMSUNG',45000],['AIRCOLLER','Symphony',20000],['WASHING MACHINE','Wirlpool',25000]] Col=['itemcat','itemname','expenditure'] # Create the pandas DataFrame qrtsales = pd.DataFrame(data,columns=Col) # print dataframe.  print (qrtsales) qs=qrtsales.groupby('itemcat')  print('Result after Filtering Dataframe')  print(qs['itemcat','expenditure'].sum()) Output :-