LINUX Operating System Notes | B.Sc. (Computer Science) Semester 1 | Mumbai University | munotes
Official Notes munotes.in
LINUX Operating System
B.SC. (COMPUTER SCIENCE) · SEMESTER 1
Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Computer Science)
For B.Sc. (Computer Science) students of the University of Mumbai and all its affiliated colleges
Open the book ↓munotes.in First Year
Contents
Module I
- What an Operating System Is, and Where Linux Fits 1
- The History of Linux: Unix, MINIX, GNU and a Student's Kernel 4
- Linux Distributions, and Why There Are So Many 7
- The Architecture of a Unix or Linux System 10
- The Features of Unix and Linux 13
- Installing Ubuntu: Making the USB and Booting From It 17
- Installing Ubuntu: The Installer, Step by Step 20
- Installing Software: App Center, Synaptic and apt 23
- Packages, Repositories and the Software Worth Having 27
- Administering System and User Settings 30
- Keyboard Shortcuts, and the Story of Unity 33
- The Terminal: Where the Rest of This Book Happens 36
- Starting the Shell: Which Shell Are You Running 39
- The Shell Prompt, and How to Change It 42
- The Structure of a Command: Options and Arguments 44
- The File System: One Tree That Starts at / 47
- What Each Top-Level Directory Holds 50
- Paths: Absolute, Relative, Dot, Dot Dot and Tilde 53
- man Pages: Reading the Manual 55
- The Other Documentation: help, --help, info and apropos 58
- pwd and cd: Moving Around the Tree 61
- ls: Listing What Is There 63
- ls -l: Reading the Long Listing 65
- mkdir and rmdir: Making and Removing Directories 68
- touch: Making a File, and Changing Its Times 70
- find: Searching the Tree 73
- du, df and stat: How Much Space, and What Exactly Is This File 77
- cat: Reading, Making and Joining Files 80
- more and less: Reading a File That Will Not Fit 82
- cp: Copying Files and Directories 84
- mv: Moving and Renaming 86
- rm: Removing, and Why There Is No Undo 88
- file: What Kind of File Is This 91
- wc: Counting Lines, Words and Characters 93
- od: Looking at the Bytes Inside a File 95
- cmp, diff and comm: Comparing Two Files 98
- gzip and gunzip: Compressing One File 101
- zip and unzip: The Archive Windows Can Open 104
- tar: Packing a Whole Directory Into One File 106
- ln: Hard Links and Symbolic Links 109
- cal and date: The Calendar and the Clock 112
- echo and printf: Printing a Line 116
- who, whoami, uname and hostname: Who and Where Am I 118
- tty and stty: The Terminal Itself 121
- passwd: Changing Your Password 124
- script: Recording a Session, Which Is How the Journal Is Kept 127
- history, alias, which and clear: Working Faster 130
- Environment Variables: PATH, HOME and export 133
- File Permissions: Who Can Do What 137
- Reading the Ten Characters of ls -l 140
- Users and Groups 143
- chmod: Changing Permissions 146
- chown and chgrp: Changing the Owner and the Group 149
- umask: The Permissions a New File Is Born With 152
- The Special Bits: setuid, setgid and the Sticky Bit 155
Module II
- Understanding Linux Security 159
- root: What the Superuser Can Do 163
- sudo: Borrowing root for One Command 166
- Working With Passwords 169
- ssh: Logging In to Another Machine 173
- Keys Instead of Passwords, and Copying Files With scp 177
- who, whoami and w: Who Is On This Machine 181
- ping: Is That Machine There 184
- telnet and ftp: The Old Pair, and What Replaced Them 188
- ip, hostname, wget and curl 191
- Standard Input, Standard Output and Standard Error 195
- Redirection: >, >>, < and 2> 199
- Pipes: Joining Commands Together 202
- head and tail: The Beginning and the End 205
- cut and paste: Columns In and Out 208
- sort: Putting Lines in Order 211
- uniq: Collapsing and Counting Repeats 214
- tr: Translating and Deleting Characters 217
- tee: Saving the Middle of a Pipeline 220
- Regular Expressions: The Basic Set 223
- Extended Regular Expressions 228
- grep and the grep Family 232
- vi: The Three Modes 236
- vi: Moving, Editing, Searching and Saving 242
- sed: The Stream Editor 249
- awk: Records, Fields and Actions 254
- Your First Shell Script 260
- Variables, Quoting and Command Substitution 265
- read: Asking the User a Question 270
- exit and the Exit Status 274
- Arithmetic: expr, $(( )) and bc 278
- test and [ ]: Asking Questions About Files, Strings and Numbers 282
- if, elif and else 287
- Logical Operators: &&, || and ! 290
- case and Functions: the Other Control Structures 294
- The for Loop 299
- The while and until Loops 303
- Redirection Inside a Script, and Here Documents 307
- Creating Your Own Redirection: exec and File Descriptors 311
- Processes: What One Is, and ps 315
- Foreground, Background and Jobs 319
- kill and Signals 323
- nice and renice: Choosing a Priority 327
- top and the Other Process Tools 330
- at and batch: Running a Command Once, Later 334
- cron and the crontab: Running a Command Again and Again 339
- Installing the C and C++ Compilers 344
- A First C Program on Linux 348
- Installing Java, and a First Java Program 353
- Python on Linux, and a Virtual Environment 357
Module J The journal and the practical examination
The chapters
Every chapter of this book comes with the B.Sc. (Computer Science) Semester 1 notes.
The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.
Notes: ₹499 Already bought it? Sign in
Free either way: question papers, the syllabus, and the cover and contents of every book.
The rest of this subject
These notes are cut from the University's printed syllabus. Open the syllabus itself for the same subject.