Digital Education SEM-1 Unit-3
Digital Education SEM-1 Unit-3
SYLLABUS
BINOD BIHARI MAHTO KOYALANCHAL UNIVERSITY
FYUGP Under NEP 2020 w.e.f. 2023-27
SEMESTER – I
DIGITAL EDUCATION
Credit: 3
Unit I: Introduction to Computer
Introduction, Objectives, Computer and Latest IT gadgets, Computers & its
applications, IT gadgets and their applications, Basics of Hardware and
Software, Hardware, Central Processing Unit, Input devices, Output
devices, Computer Memory & storage, Connecting Keyboard, Mouse,
Monitor and Printer to CPU, Software, Application Software, Systems
Software, Mobile Apps
Unit II: Introduction to Operating System
Introduction, Objectives, Operating System, Operating Systems for Desktop
and Laptop, Operating Systems for Mobile Phone and Tablets, User
Interface for Desktop and Laptop, Task Bar, Icons & Shortcuts, Running an
Application, Operating System Simple Setting, Using Mouse, Changing
System Date and Time, Changing Display Properties, To Add or Remove
Program and Features, File and Folder Management, Types of File
Extensions
Undo & Redo, Auto Correct, Spelling & Grammar, Find and Replace, Bullets
and Numbering, Change case, Header & Footer, Table Manipulation, Insert
& Draw Table, Changing cell width and height, Alignment of Text in cell,
Delete / Insertion of Row, Column and Merging & Splitting of Cells, Border
and Shading, Shortcut Keys
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
UNIT – III
Introduction to linux
Linux is a powerful and versatile family of open-source operating systems (OS) unlike the
familiar Windows or macOS. Here's a breakdown of what it is, its core concepts, and why it's
worth considering:
What is Linux?
Open-source: Linux's source code is freely available for anyone to access, modify,
and distribute. This fosters a large community of developers who contribute to its
ongoing development and improvement.
Kernel-based: At its core lies the Linux kernel, a program that manages hardware
resources (memory, storage, etc.) and provides a foundation for other software to run.
Distributions (Distros): Linux doesn't come in a single form. Distributions (distros for
short) are collections of software built around the Linux kernel, each with its own
focus and target audience. Popular distros include Ubuntu, Debian, Fedora, Mint, and
many more.
Key Concepts:
Command Line Interface (CLI): Unlike Windows or macOS, which rely heavily on
a graphical user interface (GUI) with icons and menus, Linux traditionally uses a
command-line interface (CLI) for interaction. While some distros offer GUIs, the CLI
remains a core element for many Linux users. Commands are typed into a terminal
window to interact with the system and perform tasks.
Package Management: Installing and removing software is typically done through
package managers. These are tools that handle downloading, installing, updating, and
removing software packages. This makes software management efficient and avoids
conflicts.
Root User: Linux has a concept of a "root user" account with full administrative
privileges. This account should be treated with caution as mistakes can have serious
consequences. Regular users have limited privileges for everyday tasks.
Why Use Linux?
Open-source and Free: No licensing fees or costs involved. You can freely customize
and modify the OS to your liking.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Security: Linux is known for its robustness and security. The open-source nature
allows for constant scrutiny and improvement by the community.
Versatility: Linux powers a wide range of devices, from personal computers and
servers to supercomputers and embedded systems (like smart TVs). There's a distro for
almost any need.
Stability: Linux systems are known for their stability and uptime. Servers running
Linux often go for months or even years without needing a reboot.
Customization: Power users love the ability to fine-tune and personalize their Linux
experience to a high degree.
Getting Started with Linux:
Live Dists: Many distros offer live distributions (live distros) that you can boot from a
USB drive or CD without installing them on your computer. This lets you try out
Linux before committing to an installation.
Virtual Machines: Another option is to install Linux in a virtual machine (VM) on
your existing Windows or macOS system. This allows you to experiment with Linux
in a safe and isolated environment.
Beginner-friendly Distros: If you're new to Linux, consider distributions designed for
beginners, such as Ubuntu, Mint, or Elementary OS. These distros offer user-friendly
interfaces and are easier to get started with.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
and organizations to create and share knowledge freely, democratizing access to technology.
As Linux continues its journey, it serves as a testament to the power of collective effort and
the potential of open-source software to shape the technological landscape.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Learning basic commands empowers you to navigate the system efficiently and
troubleshoot issues effectively.
Essential Terminology:
Root User: The "root user" is the ultimate administrator with full control over the
system. This account has unrestricted access to modify any configuration or file. Use
root privileges with extreme caution, as mistakes can have serious consequences.
Regular user accounts have limited privileges for everyday tasks, promoting security.
Desktop Environment (DE): If you're used to the graphical interfaces of Windows or
macOS, the desktop environment (DE) is your equivalent in Linux. It provides a
familiar user experience with a desktop, icons, menus, and windows. Popular DEs
include GNOME (known for its clean and user-friendly interface), KDE Plasma
(highly customizable and feature-rich), and Xfce (lightweight and resource-efficient).
Repository: Think of a repository as a software store for Linux. It's a collection of
software packages from which you can install programs using your package manager.
Distros typically have their own repositories containing curated and tested software.
Additional repositories can be added to access a wider range of software or the latest
versions.
Permissions: In the world of Linux, permissions dictate who can access and modify
files and directories. These permissions control who can read, write, and execute files.
Understanding permissions is crucial for maintaining system security and ensuring
authorized access to data.
Shell: The shell acts as an interpreter between you and the Linux kernel. When you
type a command in the terminal window, the shell interprets it and interacts with the
kernel to execute the desired action. Common shells include Bash (Bourne Again
Shell), the most widely used shell, and Zsh (Z shell), known for its customization
options and features.
Benefits of Understanding these Concepts:
Effective Navigation: Grasping core concepts allows you to navigate the Linux file
system with ease. You'll be able to locate files, create directories, and perform essential
tasks using the terminal.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Create a Live USB: Most distros offer tools to create a live USB drive using
downloaded ISO file. This bootable USB allows you to try out the distro before
installation.
Boot from the Live USB: Restart your computer and configure it to boot from the
USB drive (often by pressing a specific key during startup).
Start the Installation: Once booted from the Live USB, you'll find an option to
"Install Linux" or similar wording.
The Installation Process:
The installation process typically involves these steps:
Choose Language and Location: Select your preferred language and time zone
settings.
Partitioning the Disk: Decide how you want to allocate disk space for Linux. In dual-
boot scenarios, you'll need to shrink your existing OS partition to create space for
Linux. Most distributions offer a user-friendly partitioning tool to guide you through
this step.
Create User Account: Set up a username and password for your Linux user account.
This account will be used for daily tasks. Consider creating a separate account with
administrative privileges (root access) for system administration tasks, but use this
account cautiously.
Configure Additional Settings: Depending on the distro, you might be prompted to
configure additional settings like network connectivity or desktop environment
selection.
Begin Installation: Once satisfied with your configuration, initiate the installation
process. This might take some time depending on your system specifications.
Reboot: After successful installation, you'll be prompted to reboot your system. If
using a dual-boot setup, the bootloader screen will appear, allowing you to choose
between Linux and your existing OS.
Post-Installation Configuration:
Update System: After booting into your new Linux system, it's crucial to update the
system software using your distro's package manager. This ensures you have the latest
security patches and bug fixes.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Install Additional Software: Use the package manager to install applications you
need, like web browsers, office suites, or development tools.
Explore Your Desktop Environment: Familiarize yourself with the desktop
environment (GNOME, KDE Plasma, etc.) Most distros offer intuitive interfaces with
menus, icons, and windows.
Security Measures: Consider implementing basic security measures like enabling a
firewall and setting strong passwords.
Hardware requirements
Linux is known for its versatility and ability to run on a wide range of hardware. However, to
ensure a smooth experience, there are some minimum recommended specifications to
consider:
Essential Components:
Processor (CPU): A modern processor (dual-core or higher) is recommended for
comfortable use. While Linux can run on older CPUs, a more powerful processor will
handle multitasking and demanding applications better.
Memory (RAM): For basic use cases like web browsing and document editing, 4GB
of RAM is a good starting point. For more intensive tasks like video editing or
programming, 8GB or more RAM is recommended.
Storage: The storage requirement depends on your usage patterns. If you plan to store
a large amount of files, movies, or music, consider a hard drive with ample space
(500GB or more). Solid-state drives (SSDs) are becoming increasingly affordable and
offer significantly faster performance for booting up and launching applications,
although they typically have less storage capacity than traditional hard drives.
Graphics Card (GPU): For basic desktop use, a dedicated graphics card isn't
mandatory. Modern integrated graphics processors (IGPs) found in many CPUs can
handle everyday tasks. However, if you plan on gaming, video editing, or running
graphics-intensive applications, a dedicated GPU with good performance is
recommended.
Additional Considerations:
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Free Disk Space: During installation, allocate sufficient disk space for the Linux
system itself and your user files. The recommended amount varies depending on the
distro (usually around 20-25GB for the base system), so check your distro's
documentation for specific requirements.
Internet Connection: An internet connection is helpful for downloading updates,
installing software, and accessing online resources. Wired Ethernet connections
generally offer better stability and speed compared to Wi-Fi, but Wi-Fi can be suitable
for most basic tasks.
Distro Variations:
It's important to note that these are general recommendations. Specific hardware
requirements can vary slightly depending on the chosen Linux distribution (distro). Some
lightweight distros, designed for older machines, have minimal resource requirements and
can run on less powerful hardware. Conversely, some resource-intensive desktop
environments or gaming-oriented distros might have slightly higher hardware demands.
Always refer to the documentation of your chosen distro for its specific recommendations.
Verifying Compatibility:
If you're unsure about the compatibility of your existing hardware with Linux, you can try
running the distro from a live USB drive before installation. Most distros offer downloadable
live ISO files that you can use to create a bootable USB drive. Booting your system from the
live USB allows you to test the distro and see if it runs smoothly on your hardware without
making any permanent changes to your current system.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Organization: Partitions help you organize your data. You can dedicate a partition for
your operating system (Linux), another for your personal files (documents, music), and
potentially a separate one for swap space (explained later).
Flexibility: Partitions allow you to manage different file systems on different sections
of your disk. You can choose a file system best suited for each partition's needs.
Dual Booting: If you plan to have both Linux and another operating system (like
Windows) on the same machine (dual booting), partitioning is essential to allocate
space for each OS.
Common Partitioning Schemes:
There's no one-size-fits-all approach, but here's a typical partitioning scheme for a basic
Linux installation:
Root Partition (/): This is the most crucial partition, containing the core Linux system
files and applications. A minimum of 20-25GB is recommended for the root partition.
Home Partition (/home): This partition stores your personal files, documents, music,
and other user data. The size depends on your storage needs. Allocate more space if
you plan to store a large amount of personal data.
Swap Partition (Optional): Swap space acts like an extension of your RAM. When
your physical RAM gets full, inactive data is temporarily moved to the swap partition
to free up memory for running programs. The recommended swap size typically ranges
from the size of your RAM to twice the size of your RAM. However, with modern
systems having ample RAM and hibernation features, a swap partition is becoming
less necessary.
File Systems:
Now that you have your partitions created, it's time to format them with a file system. Think
of a file system as a filing cabinet system for your partitions. It defines how data is stored and
organized on the disk, allowing your OS to locate and access files efficiently.
Common Linux File Systems:
ext4: The most widely used file system for Linux due to its stability, performance, and
journaling feature (tracks changes for faster recovery in case of errors).
Btrfs: A newer file system with features like built-in RAID support and snapshots for
backups. However, it's still considered experimental by some distributions.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
FAT32: A file system commonly used in Windows environments. While it can be used
with Linux, it has limitations on file size and is not recommended for the root partition.
Choosing a File System:
The choice of file system depends on various factors like:
Stability: For critical partitions like the root partition, ext4 is a safe and stable choice.
Features: If you need advanced features like snapshots or RAID support, Btrfs might
be an option, but consider its experimental nature.
Compatibility: If you need to access the partition from other operating systems like
Windows, FAT32 might be suitable for data partitions, but it's not ideal for the root
partition.
Tools for Partitioning and Formatting:
Most Linux distributions come with built-in partitioning tools during the installation process.
These tools offer a user-friendly interface to create, resize, and format partitions. Some
popular tools include fdisk (command-line) and GParted (graphical).
Remember: Partitioning and formatting can erase data, so be cautious and ensure you have
backups before proceeding. If you're unsure, consult your distro's documentation or seek help
from the Linux community.
Installation methods
There are several methods for installing Linux on your computer, each with its own
advantages and considerations. Here's a breakdown of the most common installation
methods:
Dual Booting:
Description: This method allows you to have both Linux and another operating
system (like Windows or macOS) on the same computer. During startup, you choose
which OS to boot into.
Advantages:
Flexibility: You can switch between operating systems based on your needs.
Familiarity: If you're new to Linux, you can keep your existing OS for comfort
while exploring Linux.
Disadvantages:
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Requires Shrinking Disk Space: You'll need to shrink a partition on your existing
OS to create space for Linux.
Bootloader Configuration: Setting up the bootloader (the program that decides
which OS to boot) can be slightly complex.
Reboot Required: Switching between OSes requires a system restart.
Full Disk Installation:
Description: This method erases your entire hard drive and installs Linux as the sole
operating system.
Advantages:
Simpler Setup: No need to worry about partitioning or bootloader configuration for
multiple OSes.
Full Disk Utilization: You can utilize the entire storage capacity for Linux.
Disadvantages:
Data Loss: This method erases all data on your hard drive, so ensure you have a
complete backup before proceeding.
No Existing OS Access: Once installed, you won't have access to your previous
operating system unless you create a separate partition for it during installation
(which essentially becomes dual booting).
Live USB Installation:
Description: This method involves creating a bootable USB drive containing a live
Linux distribution. You can boot your computer from the USB drive and try out Linux
before installation.
Advantages:
Safe Testing: You can test the distro and ensure it works well with your hardware
before committing to a full installation.
No Disk Modification: The live USB doesn't modify your existing hard drive or
data.
Disadvantages:
Limited Functionality: The live environment might have limited functionality
compared to a full installation.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Performance Impact: Running Linux from a USB drive might be slower than a full
installation on your hard drive.
Virtual Machine (VM) Installation:
Description: This method involves installing Linux within a software program called a
virtual machine (VM) on your existing operating system. The VM acts as a simulated
computer, allowing you to run Linux alongside your current OS.
Advantages:
Isolation and Safety: The virtualized environment keeps Linux isolated from your
main system, minimizing risks.
Easy Removal: You can easily remove the VM if you decide you don't need Linux
anymore.
Disadvantages:
Resource Requirements: VMs require a portion of your system's resources to run, so
performance might be slightly slower compared to a native installation.
Limited Disk Space: The amount of disk space you allocate to the VM limits the
available space for Linux.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
rmdir: Remove an empty directory. Use rmdir <directory name> to delete an empty
directory.
cp: Copy files and directories. Use cp <source file> <destination file> to copy a file,
or cp -r <source directory> <destination directory> to copy an entire directory
(including subdirectories).
mv: Move or rename files and directories. Use mv <source file> <destination file> to
move a file, or use it for renaming by specifying the new name as the destination.
Viewing File Contents and Permissions:
cat: Display the contents of a text file. Use cat <filename> to view the contents of a
file.
more/less: These commands allow you to view the contents of a file one page at a time,
useful for long files. Use more <filename> or less <filename>.
head: Display the first few lines of a file. Use head <filename> to see the beginning of
a file.
tail: Display the last few lines of a file. Use tail <filename> to see the end of a file.
chmod: Change file permissions. This controls who can read, write, and execute files.
(Caution: Use with care as improper permissions can lead to security issues.)
System Management:
sudo: Run a command with root privileges (administrative access). Use sudo
<command> followed by your password to execute commands requiring elevated
permissions. (Caution: Use sudo cautiously as mistakes with root access can have
serious consequences.)
ps: Show running processes. Use ps aux for a more detailed list of running processes.
top: Display a list of running processes in real-time, showing CPU and memory usage.
reboot: Restart the system.
shutdown: Halt or power down the system. (Caution: Ensure you have saved your
work before using shutdown.)
Basic Networking:
ping: Test network connectivity to a host. Use ping <hostname or IP address> to see if
your system can reach another device on the network.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
ifconfig: Display network interface information. This shows details about your
network adapters and IP addresses.
Package Management:
apt (Debian-based distros) or yum (RPM-based distros): These are package managers
used to install, update, and remove software packages. Use commands like apt install
<package name> or yum install <package name> to install software.
Additional Utilities:
man: The manual page. Use man <command name> to access the manual page for a
specific command, providing detailed information and usage instructions.
history: Show your command history. This displays a list of commands you've
previously typed in the terminal.
clear: Clear the terminal screen. This removes the displayed text and gives you a fresh
start.
File management
Understanding the File System:
Hierarchical Structure: Imagine an upside-down tree. The root directory (/) sits at the
top, representing the base of your entire file system. Subdirectories branch out from the
root, further organizing your files.
Common Directories: Some essential directories you'll encounter include:
/home: Your home directory, containing your personal files, documents, and user
data.
/bin: Stores essential system executable files (commands).
/etc: Configuration files for system-wide settings.
/usr: Houses user applications and software.
/var: Contains variable data like logs and temporary files.
Permissions: Control access to files and directories. Permissions dictate who can read
(view contents), write (modify contents), and execute (run the file) a file or directory.
Understanding permissions is crucial for maintaining system security.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Additional Tips:
File Managers: While the command line offers power and flexibility, most distros
come with graphical file managers that provide a user-friendly interface for browsing,
copying, moving, and deleting files. These tools often offer features like drag-and-drop
functionality and visual representations of your file system. Popular options include
Nautilus (GNOME), Dolphin (KDE Plasma), and Thunar (XFce).
File Permissions: Always ensure appropriate file permissions are set. Restrictive
permissions enhance security, preventing unauthorized access or modification of
critical system files. On the other hand, some applications might require specific
permissions to function correctly.
File Searching: The find command is a powerful tool for locating files based on
various criteria like filename, file type, or location. Consult your distro's
documentation or online resources to learn more about using find effectively.
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major
Dhanbad Maths Academy
B.Sc. & M.Sc. Online Coaching Institute
Download Dhanbad Maths Academy App to Join Latest Courses of Maths Major