Ubuntu ENG
Ubuntu ENG
PUBLISHED BY
ASTHA PUBLICATIONS
B-45, GANESH COLONY PILANI-333031 (RAJASTHAN)
PHONE LINE: 01596-245002, 245003, 9887871616
CUSTOMER CARE
722-0000-720
WHATSAPP NO.
9887871616 (FOR ORDER)
7220000720 (FOR GROUP)
E-Mail: [email protected]
Website: www.asthapublications.com
COURSE ON COMPUTER CONCEPTS
Ubuntu is a free and open-source Linux distribution operating system software that is based on
Debian. Ubuntu is a member of Linux family. It is work on open-source model with some proprietary
drivers. It is Available in More than 55 languages. Ubuntu is officially released in three editions:
Desktop, Server, and Core (for internet of things devices and robots). All the editions can run on the
computer alone, or in a virtual machine. Ubuntu is a popular operating system for cloud computing
with support for OpenStack.
Ubuntu is released every six months, with long-term support (LTS) releases every two years. The latest
release of Ubuntu is 19.04 ("Disco Dingo"), and the most recent long-term support release is 18.04 LTS
("Bionic Beaver"), which is supported until 2023 under public support and until 2028 as a paid option.
Ubuntu is sponsored by Canonical Ltd and the community under a meritocratic governance model.
Canonical will not charge licence fees for Ubuntu, now or at any stage in the future. Canonical's
business model is to provide technical support and professional services related to Ubuntu. The
Marketing target of Ubuntu is Cloud computing, IoT, personal computers, servers.
Each Ubuntu release has a version number that consists of the year and month number of the release.
For example, the first release was Ubuntu 4.10 as it was released on 20 October 2004. Version
numbers for future versions are provisional; if the release is delayed the version number changes
accordingly. The Latest release of Ubuntu on 18 April 2019 as Ubuntu 19.04.
What is Ubuntu?
Ubuntu is a complete Linux operating system, freely available with both community and professional
support. The Ubuntu is available free of charge and the people have the freedom to customize as per
their needs. The Kernel type of Ubuntu is Monolithic and Userland is GNU. The default user interface
of Ubuntu is GNOME (GNOME is a free and open-source desktop environment for Unix, Linux like
operating systems). The Official website of Ubuntu is www.ubuntu.com
Ubuntu is suitable for both desktop and server. The current Ubuntu release supports Intel x86 (IBM-
compatible PC), AMD64 (x86-64), ARMv7, ARMv8 (ARM64), IBM POWER8/POWER9 (ppc64el), IBM Z
zEC12/zEC13/z14 and IBM LinuxONE Rockhopper I+II/Emporer I+II (s390x).
Ubuntu includes thousands of pieces of software, starting with the Linux kernel version 4.15 and
GNOME 3.28, and covering every standard desktop application from word processing and spreadsheet
applications to internet access applications, web server software, email software, programming
languages and tools and of course several games.
ASTHA PUBLICATIONS 2
COURSE ON COMPUTER CONCEPTS
Features of Ubuntu
A default installation of Ubuntu contains a wide range of software that includes LibreOffice,
Firefox, Thunderbird, Transmission, and several lightweight games such as Sudoku and chess.
Many additional software packages are accessible from the built in Ubuntu Software (Ubuntu
Software Center) as well as any other APT-based package management tools.
The default file manager is GNOME Files, formerly called Nautilus.
Ubuntu operates under the GNU General Public License (GPL) and all of the application
software installed by default is free software.
In addition, Ubuntu installs some hardware drivers that are available only in binary format,
but such packages are clearly marked in the restricted component.
Ubuntu is built on Debian's architecture and infrastructure, and comprises Linux server,
desktop and discontinued phone and tablet operating system versions.
32-bit i386 processors have been supported up to Ubuntu 18.04, but users "will not be allowed
to upgrade to Ubuntu 18.10 as dropping support for that architecture is being evaluated.
Ubuntu is a secure operating system by default. With a built-in firewall and virus protection
software, Ubuntu is one of the most secure operating systems around. And the long-term
support releases give you five years of security patches and updates.
Most network ports are closed by default to prevent hacking. A built-in firewall allows end-
users who install network servers to control access. A GUI (for Uncomplicated Firewall) is
available to configure it.
You can create professional documents, spreadsheets and presentations on Ubuntu with
LibreOffice. Ubuntu also includes Chrome, Opera and other browsers for web browsing. You
can also use Microsoft Exchange, Gmail, Hotmail, POP or IMAP for Email.
What is GNU/Linux?
Linux is an operating system, a series of programs that let you interact with your computer and run
other programs. The most important part of an operating system is the kernel. In a GNU/Linux system,
Linux is the kernel component. The rest of the system consists of other programs, many of which were
written by or for the GNU Project. Because the Linux kernel alone does not form a working operating
system, we prefer to use the term “GNU/Linux” to refer to systems that many people casually refer to
as “Linux”.
Linux is modelled on the Unix operating system. From the start, Linux was designed to be a multi-
tasking, multi-user system. These facts are enough to make Linux different from other well-known
operating systems. However, Linux is even more different than you might imagine. In contrast to other
operating systems, nobody owns Linux. Much of its development is done by unpaid volunteers.
Development of what later became GNU/Linux began in 1984, when the Free Software Foundation
began development of a free Unix-like operating system called GNU.
The Linux kernel first appeared in 1991, when a Finnish computing science student named Linus
Torvalds announced an early version of a replacement kernel for Minix to the Usenet newsgroup
comp.os.minix.
ASTHA PUBLICATIONS 3
COURSE ON COMPUTER CONCEPTS
Linux users have immense freedom of choice in their software. For example, Linux users can choose
from a dozen different command line shells and several graphical desktops. This selection is often
bewildering to users of other operating systems, who are not used to thinking of the command line or
desktop as something that they can change.
Linux is also less likely to crash, better able to run more than one program at the same time, and more
secure than many operating systems. With these advantages, Linux is the fastest growing operating
system in the server market. More recently, Linux has begun to be popular among home and business
users as well.
ASTHA PUBLICATIONS 4
COURSE ON COMPUTER CONCEPTS
ASTHA PUBLICATIONS 5
COURSE ON COMPUTER CONCEPTS
ASTHA PUBLICATIONS 6
COURSE ON COMPUTER CONCEPTS
14. tar: Creates and extracts files from a tape or disk archive.
This command stores and extracts files from a tape or disk.
Syntex: # tar xvzf ravi.tar.gz
15. find: find searches the file located at /
This command searches the directory tree rooted at each given file.
Syntex: # find / -name ravi.txt -print
16. grep: print lines matching a pattern
This command searches the named input files for lines containing a match to the given pattern.
Syntex: # grep ravi losarwar*
17. chown: change file owner and group
This command is used to changes the user and/or group ownership of each given file.
Syntex: # chown ravi ravi.tar.gz
18. chgrp: change group ownership
This command is used to change the group of each file to group.
Syntex: # chgrp ravi ravi.tar.gz
19. chmod: change file mode bits
This command changes the file mode bits of each given file according to mode
Syntex: # chmod 777 ravi.tar.gz
20. ifconfig: configure a network interface
This command is used to configure the kernel-resident network interfaces
Syntex: # ifconfig
1. GNOME Desktop
GNOME 3 desktop is a default Ubuntu 18.04 desktop so it comes with the installation of your
operating system. GNOME project points out various features of this desktop. GNOME 3 offers a
focused working environment, which makes you more productive. It is designed with attention to
detail and recommended for users that store documents using online services. It integrates very
well with online accounts so you can access your data from one place.
ASTHA PUBLICATIONS 7
COURSE ON COMPUTER CONCEPTS
3. Mate Desktop
The MATE Desktop Environment is based on GNOME 2 and preserves its traditional metaphor. It
features an intuitive, comfortable to use and attractive desktop environment. This desktop is the
first choice for many users that liked GNOME2.
4. Budgie Desktop
Budgie is a desktop environment that is based on GNOME. It's design is modern, it focuses on
efficiency, simplicity and elegance. The usability is also emphasized in Budgie, which makes the
desktop seem familiar and intuitive. It in many ways resembles a desktop of a mobile operating
system such as Android but at the same time looks a lot like GNOME. It is not overly configurable
and is not recommended for handling of virtual desktops.
5. Xfce Desktop
Xfce's main feature is that it is a lightweight desktop environment. Therefore, it offers stable, fast
operation by being low on system resources. At the same time it is still visually appealing,
configurable and user friendly.
6. Xubuntu Desktop
Xubuntu is an elegant desktop environment which works well also on older hardware. It is user
friendly, easy to use and comes with the Xfce desktop environment. It is designed for users who
want the most out of their computers. It has rather modern look and offers efficiency for daily use.
7. Cinnamon Desktop
Cinnamon desktop is another fork of the GNOME desktop. Cinnamon is used primarily with the
Linux Mint distribution but it is also suitable for Ubuntu 18.04 and other Linux distributions.
Cinnamon has a rather conservative design and is similar to Xfce and GNOME 2. It is uncomplicated
to learn and from this reason might be a good choice for someone who is new to Linux.
8. Unity Desktop
Unity was originally developed by Canonical Ltd. for Ubuntu and it was designed to make better
use of limited size screens such as netbooks. It features a vertical application switcher called the
launcher and a horizontal top menu bar which saves a lot of space.
Unity was, however, abandoned in favor of GNOME 3, which is now the default desktop
environment in Ubuntu 18.04 LTS. Some users that are used to Unity might be, therefore,
interested in how to switch from GNOME to Unity in Ubuntu 18.04.
ASTHA PUBLICATIONS 8
COURSE ON COMPUTER CONCEPTS
You can install Ubuntu on your system with existing Windows or macOS. This option, known as a dual
boot installation or dual-booting, will install Ubuntu on your computer alongside Windows or macOS.
Whenever you start your computer, you will have the option to choose with operating system you
use.
This is the Ubuntu desktop. While Canonical has added a few of its own elements of charm, the
interface you see is not exclusive to Ubuntu. It’s actually known as GNOME. Some important elements
of Ubuntu desktop are as follow.
Top Bar
The bar across the top of the screen provides access to the Activities overview, the currently open
application’s menu, date & time, and system indicators such as battery life and network connectivity.
ASTHA PUBLICATIONS 9
COURSE ON COMPUTER CONCEPTS
Dock
The dock occupies the left side of the screen. It shows currently open apps plus shortcuts to your
favorites.
Activities Overview
The Activities overview is where most of the magic happens. You open the overview by clicking the
Activities button in the top bar or moving your mouse to the top-left corner of the screen.
App Drawer
The app drawer appears at the bottom of the dock. When clicked, it lists all of the apps installed on
your computer in a grid of icons.
ASTHA PUBLICATIONS 10
COURSE ON COMPUTER CONCEPTS
Search
A search bar appears at the top of the Activities overview. You can open apps, load files, issue
commands, and perform numerous other actions by typing into this area.
Workspaces
Workspaces appear on the right side of the activities overview, across from the dock. Think of
workspaces as multiple desktops that all exist virtually on the same computer.
ASTHA PUBLICATIONS 11
COURSE ON COMPUTER CONCEPTS
The far right corner holds system indicators. There are individual icons showing battery life, network
connectivity, sound, Bluetooth, and more. However, clicking on any of these indicators opens up a
single menu that will let you toggle volume, change your network, restart your computer, and perform
other tasks.
ASTHA PUBLICATIONS 12
COURSE ON COMPUTER CONCEPTS
Right-clicking an app icon allows you to perform app-specific functions such as opening a new window
in Firefox or pausing music in Rhythmbox. This is also how you remove an app stored on the dock or
pull up background information about a piece of software.
Navigating Workspaces
Workspaces appear along the right-hand side of the overview screen. Initially, there are only two
workspaces stacked vertically, but new ones appear automatically as needed.
You can move windows from one workspace to another by dragging them around, either from the
center of the overview screen or from another workspace.
ASTHA PUBLICATIONS 13
COURSE ON COMPUTER CONCEPTS
Start Applications
Move your mouse pointer to the Activities corner at the top left of the screen to show the Activities
overview. This is where you can find all of your applications. You can also open the overview by
pressing the Super key. There are several ways of opening an application once you’re in the Activities
overview:
Start typing the name of an application — searching begins instantly. (If this doesn’t happen,
click the search bar at the top of the screen and start typing.) If you don’t know the exact
name of an application, try to type a related term. Click the application’s icon to start it.
Some applications have icons in the dash, the vertical strip of icons on the left-hand side of
the Activities overview. Click one of these to start the corresponding application.
If you have applications that you use very frequently, you can add them to the dash yourself.
Click the grid button at the bottom of the dash. You will see the frequently used applications
if the Frequent view is enabled. If you want to run a new application, press the all button at
the bottom to view all the applications. Press on the application to start it.
You can launch an application in a separate workspace by dragging its icon from the dash, and
dropping it onto one of the workspaces on the right-hand side of the screen. The application
will open in the chosen workspace.
You can launch an application in a new workspace by dragging its icon to the empty workspace
at the bottom of the workspace switcher, or to the small gap between two workspaces.
ASTHA PUBLICATIONS 14
COURSE ON COMPUTER CONCEPTS
Suspend
To save power, suspend your computer when you are not using it. If you use a laptop, GNOME, by
default, suspends your computer automatically when you close the lid. This saves your state to your
computer’s memory and powers off most of the computer’s functions. A very small amount of power
is still used during suspend.
To suspend your computer manually, click the system menu on the right side of the top bar. From
there you may either hold down the Alt key or click the power off button, or simply long-click the
power off button.
ASTHA PUBLICATIONS 15
COURSE ON COMPUTER CONCEPTS
Click the Ubuntu Software icon in the Dock, or search for Software in the Activities search bar.
When Ubuntu Software launches, search for an application, or select a category and find an
application from the list.
Select the application that you want to install and click Install.
You will be asked to authenticate by entering your password. Once you have done that the
installation will begin. The installation usually finishes quickly, but could take a while if you
have a slow Internet connection.
Remove an application
An application is software that has a graphical user interface (GUI). You can use Ubuntu Software to
remove applications that you no longer use.
Applications are available in two formats: snap packages and Debian packages. An application
available as a snap package is from now on referred to as a snap. Some applications are available in
both formats. In such a case in Ubuntu Software the snap will be listed first.
You may also wish to remove software that does not have a GUI. To remove such software, you can
use Synaptic. Note that Synaptic does not list snaps. Follow the given below steps to remove an
application:
Click the Ubuntu Software icon in the Dock, or search for Software in the Activities search bar.
When Ubuntu Software opens, click the Installed button at the top.
Find the application that you want to remove by using the search box or by looking through
the list of installed applications.
Select the application and click Remove.
Confirm that you want to remove the application.
You will be asked to authenticate by entering your password. After you have done that, the
application will be removed.
ASTHA PUBLICATIONS 16
COURSE ON COMPUTER CONCEPTS
These instructions apply to both files and folders. You copy and move files and folders in exactly the
same way.
Copy and paste files
Cut and paste files to move them
Drag files to copy or move
ASTHA PUBLICATIONS 17
COURSE ON COMPUTER CONCEPTS
User accounts
Each person that uses the computer should have a different user account. This allows them to keep
their files separate from yours and to choose their own settings. It is also more secure. You can only
access a different user account if you know their password. You can following set towards user
accounts.
ASTHA PUBLICATIONS 18
COURSE ON COMPUTER CONCEPTS
ASTHA PUBLICATIONS 19
COURSE ON COMPUTER CONCEPTS
ASTHA PUBLICATIONS 20
COURSE ON COMPUTER CONCEPTS
ASTHA PUBLICATIONS 21
COURSE ON COMPUTER CONCEPTS
If you have multiple displays and they are not mirrored, you can have different settings on
each display. Select a display in the preview area.
Select the resolution or scale, and choose the orientation.
Click Apply. The new settings will be applied for 20 seconds before reverting back.
Resolution
The resolution is the number of pixels (dots on the screen) in each direction that can be displayed.
Each resolution has an aspect ratio, the ratio of the width to the height. Wide-screen displays use a
16∶9 aspect ratio, while traditional displays use 4∶3. If you choose a resolution that does not match
the aspect ratio of your display, the screen will be letterboxed to avoid distortion, by adding black bars
to the top and bottom or both sides of the screen. You can choose the resolution you prefer from the
Resolution drop-down list. If you choose one that is not right for your screen it may look fuzzy or
pixelated.
Native Resolution
The native resolution of a laptop screen or LCD monitor is the one that works best: the pixels in the
video signal will line up precisely with the pixels on the screen. When the screen is required to show
other resolutions, interpolation is necessary to represent the pixels, causing a loss of image quality.
Scale
The scale setting increases the size of objects shown on the screen to match the density of your
display, making them easier to read. Choose from 100%, 200%, or 300%.
ASTHA PUBLICATIONS 22
COURSE ON COMPUTER CONCEPTS
Startup Applications
You can configure what applications should be started at login, in addition to the default startup
applications configured on the system.
Open Startup Applications via the Activities overview. Alternatively you can press Alt+F2 and
run the gnome-session-properties command.
Click Add and enter the command to be executed at login (name and comment are optional).
For example, to make Firefox start automatically, it's sufficient to type firefox in the Command
field and confirm with Add.
Sharing Settings
The Sharing Settings in GNOME help you control what is shared over the local network, or through
other technologies such as Bluetooth.
Set the display name for your computer: You can change the name your computer uses to
display itself to other computers or devices, on the network or over Bluetooth.
Control sharing over Bluetooth: You can enable Bluetooth sharing to receive files over
Bluetooth in the Downloads folder.
Share your desktop: You can let other people view and control your desktop from another
computer with a desktop viewing application. Configure Screen Sharing to allow others to
access your desktop and set the security preferences.
Share your music, photos and videos: You can browse, search and play the media on your
computer using a UPnP or DLNA enabled device such as a phone, TV or game console.
Configure Media Sharing to allow these devices to access the folders containing your music,
photos and videos.
Share your personal files: you can allow access to the Public folder in your Home folder from
another computer on the network. Configure Personal File Sharing to allow others to access
the contents of the folder.
Online accounts
You can enter your login details for some online services, such as Google and Facebook, into the Online
Accounts window. This lets you use applications to access online services like email, calendars, chat,
and documents.
Add an account
Remove an account
Why add an account?
Control which online services an account can be used to access
Online services and applications
Why is my account type not on the list?
ASTHA PUBLICATIONS 23
COURSE ON COMPUTER CONCEPTS
You can also group your applications together within workspaces. Visit the window and workspace
help topics below to better learn how to use these features.
What is a notification?
If an application or a system component wants to get your attention, a notification will be shown at
the top of the screen. For example, if you get a new chat message or a new email, you will get a
notification informing you. Chat notifications are given special treatment, and are represented by the
individual contacts who sent you the chat messages.
Other notifications have selectable option buttons. To close one of these notifications without
selecting one of its options, click the close button.
Clicking the close button on some notifications dismisses them. Others, like Rhythmbox or your chat
application, will stay hidden in the notification list.
Hiding notifications
If you’re working on something and do not want to be bothered, you can switch off notifications.
Open the Activities overview and start typing Settings.
Click on Settings.
Click on Notifications in the sidebar to open the panel.
Switch Notification Popups to OFF.
ASTHA PUBLICATIONS 24
COURSE ON COMPUTER CONCEPTS
When switched off, most notifications will not pop up at the top of the screen. Notifications will still
be available in the notification list when you display it (by clicking on the clock, or by pressing Super+V),
and they will start popping up again when you switch the toggle back to ON. You can also disable or
re-enable notifications for individual applications from the Notifications panel.
Calendar appointments
This requires you to use your Evolution calendar or for you to have an online account set up which
Calendar supports. Most distributions come with Evolution installed by default. If yours does not,
you may need to install it using your distribution’s package manager.
To view your appointments:
Click on the clock on the top bar.
Click the date for which you want to see your appointments from the calendar.
Existing appointments will be displayed to the left of the calendar. As appointments are added to
your Evolution calendar, they will appear in the clock’s appointment list.
ASTHA PUBLICATIONS 25
COURSE ON COMPUTER CONCEPTS
ASTHA PUBLICATIONS 26
COURSE ON COMPUTER CONCEPTS
Icon view
To sort files in a different order, click the view options button in the toolbar and choose By Name, By
Size, By Type, By Modification Date, or By Access Date.
As an example, if you select By Name, the files will be sorted by their names, in alphabetical order.
See Ways of sorting files for other options. You can sort in the reverse order by selecting Reversed
Order from the menu.
List view
To sort files in a different order, click one of the column headings in the file manager. For example,
click Type to sort by file type. Click the column heading again to sort in the reverse order.
In list view, you can show columns with more attributes and sort on those columns. Click the view
options button in the toolbar, pick Visible Columns… and select the columns that you want to be
visible. You will then be able to sort by those columns. See Files list columns preferences for
descriptions of available columns.
ASTHA PUBLICATIONS 27
COURSE ON COMPUTER CONCEPTS
ASTHA PUBLICATIONS 28
COURSE ON COMPUTER CONCEPTS
Ctrl+X Cut (remove) selected text or items and place it on the clipboard.
Ctrl+C Copy selected text or items to the clipboard
Ctrl+V Paste the contents of the clipboard.
Ctrl+Z Undo the last action.
Keyboard navigation
This page details keyboard navigation for people who cannot use a mouse or other pointing device,
or who want to use a keyboard as much as possible. For keyboard shortcuts that are useful to all
users, see Useful keyboard shortcuts instead.
Arrow keys Move selection between items in a single control, or among a set of related controls.
Use the arrow keys to focus buttons in a toolbar, select items in a list or icon view, or
select a radio button from a group.
Ctrl+Arrow keys In a list or icon view, move the keyboard focus to another item without changing
which item is selected.
Shift+Arrow keys In a list or icon view, select all items from the currently selected item to the newly
focused item.
In a tree view, items that have children can be expanded or collapsed, to show or
hide their children: expand by pressing Shift+→, and collapse by pressing Shift+←.
Space Activate a focused item such as a button, check box, or list item.
ASTHA PUBLICATIONS 29
COURSE ON COMPUTER CONCEPTS
Ctrl+Space In a list or icon view, select or deselect the focused item without deselecting other
items.
Alt Hold down the Alt key to reveal accelerators: underlined letters on menu items,
buttons, and other controls. Press Alt plus the underlined letter to activate a control,
just as if you had clicked on it.
Esc Exit a menu, popup, switcher, or dialog window.
F10 Open the first menu on the menubar of a window. Use the arrow keys to navigate
the menus.
Super+F10 Open the application menu on the top bar.
Shift+F10 or Menu Pop up the context menu for the current selection, as if you had right-clicked.
Ctrl+F10 In the file manager, pop up the context menu for the current folder, as if you had
right-clicked on the background and not on any item.
ASTHA PUBLICATIONS 30