Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

1. Linux Notes – Comprehensive Study Guide

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
10-06-2025
Written in
2024/2025

1. Linux Notes – Comprehensive Study Guide Title: Complete Linux Notes for Beginners to Advanced – Commands, Shell Scripting, System Admin, and More Description: This document provides a complete summary of Linux Operating System concepts ideal for students and professionals. It covers: Basic to advanced Linux commands Shell scripting with examples File system hierarchy and permissions Process management, I/O redirection, cron jobs System administration and networking basics Perfect for students in Computer Science, IT, or preparing for certifications like RHCSA/RHCE. 2. Machine Learning (ML) – Crash Course Notes Title: Complete Machine Learning Notes – Algorithms, Math, Python Code, and Real-World Examples Description: This study document contains well-structured notes on Machine Learning, ideal for university students and beginners. It includes: Overview of supervised & unsupervised learning Key algorithms: Linear/Logistic Regression, Decision Trees, SVM, KNN, K-Means Feature scaling, model evaluation, cross-validation Mathematical intuition (derivations, cost functions) Python code snippets for each algorithm Great for quick revision or understanding ML basics before a project or exam. 3. Probability and Statistics – Exam-Focused Notes Title: Probability and Statistics Notes – Definitions, Theorems, Formulas, and Solved Problems Description: This document is a complete and clear summary of key topics in Probability and Statistics. Best suited for engineering, CS, data science, and math students. Covers: Descriptive statistics: mean, median, mode, variance Probability distributions (Binomial, Poisson, Normal) Hypothesis testing and confidence intervals Correlation, regression, and sampling methods Solved numerical problems for practice Useful for both theory revision and numerical problem-solving.

Show more Read less
Institution
Course

Content preview

Package Management Commands

List
Package
Install Command Update Command Remove Command Installed
Manager
Packages
npm install npm update npm uninstall
npm <package_name> <package_name> <package_name>
npm list
pip install --
pip install pip uninstall
pip <package_name>
upgrade
<package_name>
pip list
<package_name>
sudo apt update
sudo apt install sudo apt remove apt list --
apt <package_name>
&& sudo apt
<package_name> installed
upgrade
sudo yum install sudo yum remove yum list
yum <package_name>
sudo yum update
<package_name> installed
sudo dnf install sudo dnf remove dnf list
dnf <package_name>
sudo dnf update
<package_name> installed
brew install brew upgrade brew uninstall
Homebrew <package_name> <package_name> <package_name>
brew l




Understanding File Systems in Linux and Windows
What is a File System?

A file system is a method used by operating systems to store, organize, and retrieve data on
storage devices such as hard drives, SSDs, USB drives, and SD cards. It defines how data is
stored and managed on a disk, ensuring efficient access and data integrity.

Types of File Systems

File Formatting
Features Usage
System Command
Compatible across multiple OS,
USB drives, memory mkfs.vfat
FAT32 supports files up to 4GB, no /dev/sdb1
cards, bootable drives
journaling
Supports files larger than 4GB, no
USB flash drives, SDXC mkfs.exfat
exFAT journaling, optimized for flash /dev/sdb1
cards, external HDDs
storage
Large file support, journaling, file Windows system drives, mkfs.ntfs
NTFS /dev/sdb1
encryption, compression external drives
No journaling, efficient for flash Older Linux distributions, mkfs.ext2
ext2 /dev/sdb1
storage embedded systems
Journaling, backward-compatible Linux storage, minimal mkfs.ext3
ext3 /dev/sdb1
with ext2 downtime environments
Journaling, supports large files
Default in Ubuntu, mkfs.ext4
ext4 (up to 16TB), reduced /dev/sdb1
Debian, RHEL
fragmentation
XFS High-performance, scalable, Enterprise storage, high- mkfs.xfs

, journaling performance computing /dev/sdb1
Snapshots, RAID support, self- Cloud computing, high- mkfs.btrfs
Btrfs /dev/sdb1
healing availability systems
Massive storage support, Enterprise storage, high- zpool create
ZFS
compression, RAID-Z performance environments mypool /dev/sdb1

Summary: Different file systems offer various features optimized for specific use cases.
Choosing the right file system depends on factors like compatibility, performance, and
security needs.

Understanding MBR and GPT

Partitioning Scheme Features
MBR (Master Boot Traditional system, supports up to 4 partitions, maximum 2TB disk
Record) size, uses boot sector.
GPT (GUID Partition Modern system, supports up to 128 partitions, handles disks larger
Table) than 2TB, includes redundancy for integrity.

Summary: MBR is used in older systems, whereas GPT provides better flexibility and
reliability, working with UEFI firmware.



Creating Partitions in Linux

Tool Steps
fdisk (for lsblk → sudo fdisk /dev/sdb → Create partition (n for new, p for primary)
MBR) → Specify size → Write (w) → Format (mkfs.ext4 /dev/sdb1).
parted (for sudo parted /dev/sdb → Create table (mklabel gpt) → Create partition
GPT) (mkpart primary ext4 1MiB 100%) → Format (mkfs.ext4 /dev/sdb1).

Summary: fdisk is used for MBR partitioning, while parted is used for GPT partitions in
Linux.



Mounting and Unmounting Partitions

Action Command
Temporary sudo mkdir /mnt/mydisk → sudo mount /dev/sdb1 /mnt/mydisk →
Mounting df -h (verify) → sudo umount /mnt/mydisk.
blkid /dev/sdb1 (find UUID) → sudo vi /etc/fstab → Add
Permanent
UUID=xxxx /mnt/mydisk ext4 defaults 0 2 → sudo mount -a
Mounting
(test).

Summary: Partitions can be temporarily or permanently mounted. /etc/fstab ensures
automatic mounting at boot.

Written for

Course

Document information

Uploaded on
June 10, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
nafeesroshanbaiga

Get to know the seller

Seller avatar
nafeesroshanbaiga SATHYABAMA UNIVERSITY
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
10 months
Number of followers
0
Documents
8
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions