




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Linux notes with basic commands with explanation
Typology: Study notes
1 / 141
This page cannot be seen from the preview
Don't miss anything!





























































































Linux
Parameters LINUX WINDOWS Inception Year 1991 1985 Standard Open source operating system which is freely available Closed Source Operating system Web Server Share 70% Share 23% Share Filesystem ext2-4, FAT, NTFS, NFS, ISO 9660, JFS, KFS NTFS, FAT, ISO 9660, UDF, HFS Cost Low cost Hardware High cost Hardware Security Secure Insecure Virus 60 - 100 virus listed 60,000 virus listed Developed by Linus Torvalds Microsoft Source Code There is full access to source code There is no access to source code Configuration Storage Maintains configuration in files Maintains a registry to store configurations
Linux OS working The linux operating system follows of standard design that's the key to its several distributions and variations. Every linux distribution is based on the linux kernel but can differ based on factors like: kernel version: distros can be set up with more recent releases to add new aspects or with previous releases to be more balanced. Kernel modules: it is software that can be unloaded and loaded into the kernel develop functionality without restarting. Often, kernel modules are used for supporting:
A terminal (or terminal emulator) is a program used to interact with the operating system through text rather than a graphical interface. The shell is the program that interprets the commands you type in the terminal and executes them. ● (^) Bash (Bourne Again Shell) has been the default shell for many Linux distributions and macOS (until recently) for years. ● (^) Zsh (Z shell) is a more modern, extended version of Bash that offers numerous improvements, such as better tab completion, themes, and plugin support. It is the default shell for macOS since Catalina. Most basic commands function identically in both Bash and Zsh.
Linux Directory Structure
Virtual Lab Environment
- Virtualbox OR VMware for Virtualization
ls - The most frequently used command in Linux to list directories pwd - Print working directory command in Linux cd - Linux command to navigate through directories mkdir - Command used to create directories in Linux mv - Move or rename files in Linux cp - Similar usage as mv but for copying files in Linux rm - Delete files or directories touch - Create blank/empty files ln - Create symbolic links (shortcuts) to other files cat - Display file contents on the terminal