3 Linux
3 Linux
3 Linux
• Disadvantages
⚫ Software compilation – not user friendly
⚫ Not Windows
Linux Distributions
• Linux Mint (https://linuxmint.com/)
• Pop!_OS (https://pop.system76.com/)
• Fedora (https://getfedora.org/)
• Ubuntu (https://ubuntu.com/)
⚫ KDE Plasma
⚫ XFCE
⚫ Cinnamon
⚫ ETC
Linux Mint with Cinnamon
Garuda Linux with KDE Plasma
Rocky Linux with GNOME3
Terminal – Terminal Emulators
Linux File System
Linux File system
• File System
⚫ Collection of methods OS uses to manage data on a storage device such as hard
disks
• Partition Types:
⚫ NTFS, FATx (Microsoft)
⚫ Ext4 (Linux)
⚫ HFS (Apple)
• Windows can only read NTFS and FATx partition / not Ext4
• Linux can read most partition types
• Files and directories organized differently from Windows
Windows File System
Windows File System
Linux File system
• All storage devices amalgamated into one root file system
• Top directory --> Root or /
• Storage devices mounted in directories within /
• Home directories --> / home / <username>
⚫ Users have full permissions in their own home directories
⚫ No write permissions in system directories
⚫ More secure
• File extensions for your convenience and not important in Linux
Linux File system
Linux File system
Linux File system
File and directory paths
Windows Linux
I: \ Fantasy /media/leon/MOVIES/Fantasy
• touch
• cp
• mv
• rm
Viewing File Contents
• cat
• more
• less
• head
• tail
Miscellaneous Commands
• tar
• screen
Regular Expressions
• Patterns that match strings
* Note that Anchors can only be used with tools such as grep and sed
Writing regular expressions - Example
• List all files that start with the prefix foo
• $ ls foo*
• $ ls *.fasta
• $ cp hpc_job* new_directory