Linux Basics

Topics

Exercises

Dependencies

cluster_linux Linux cluster_linux_basics Linux Basics cluster_linux_basics_io_redir_pipes I/O Redirection And Pipes cluster_linux_basics_intro Introduction: Concepts and Terminology cluster_linux_basics_shell The Shell (Bash - “Bourne Again Shell”) cluster_linux_basics_shell_exercises The Shell - Exercises cluster_linux_basics_shell_exercises_cp_mv_mkdir_rm Exercises: Create/Copy/Move/Remove cluster_linux_basics_shell_exercises_ls Exercises: The ls Command cluster_linux_basics_exercises Exercises: Linux Basics cluster_linux_basics_archiving_compression Archiving and Compression cluster_linux_basics_permissions File System Permissions cluster_linux_basics_permissions_exercises Exercises: File System Permissions cluster_linux_sysprog Linux Systems Programming cluster_linux_sysprog_fileio File I/O cluster_linux_sysprog_blocking_io Blocking I/O: What Is That? cluster_linux_sysprog_basics Linux Systems Programming: Basics cluster_linux_toolchain Toolchain linux_basics_io_redir_pipes_exercises Exercises: IO-Redirection, Pipes linux_basics_io_redir_pipes_io_redir_swap_stdout_stderr I/O Redirection: Swap stdout And stderr linux_basics_io_redir_pipes_exercises->linux_basics_io_redir_pipes_io_redir_swap_stdout_stderr linux_basics_io_redir_pipes_pipes Pipes linux_basics_io_redir_pipes_exercises->linux_basics_io_redir_pipes_pipes linux_basics_io_redir_pipes_io_redir I/O Redirection linux_basics_io_redir_pipes_exercises->linux_basics_io_redir_pipes_io_redir linux_basics_io_redir_pipes_io_redir_swap_stdout_stderr->linux_basics_io_redir_pipes_io_redir linux_basics_io_redir_pipes_pipes->linux_basics_io_redir_pipes_io_redir linux_basics_shell_commandline Commandline linux_basics_io_redir_pipes_pipes->linux_basics_shell_commandline linux_basics_io_redir_pipes_io_redir->linux_basics_shell_commandline linux_basics_intro_process_tree Process Hierarchy (Parent, Child Process) linux_basics_intro_process Processes, Scheduling, Address Spaces linux_basics_intro_process_tree->linux_basics_intro_process linux_basics_intro_overview Overview linux_basics_intro_environment Environment (Variables) linux_basics_intro_environment->linux_basics_intro_process linux_basics_intro_demo_everything_is_a_file Everything Is A File (Live Demo) linux_basics_intro_demo_everything_is_a_file->linux_basics_intro_overview linux_sysprog_blocking_io_blocking_io_file Blocking I/O (On A File): What is That? linux_basics_intro_demo_everything_is_a_file->linux_sysprog_blocking_io_blocking_io_file linux_basics_intro_process->linux_basics_intro_overview linux_basics_intro_wsl Windows Subsystem for Linux (WSL) linux_basics_intro_wsl->linux_basics_intro_overview linux_basics_intro_login Login? What Is That? linux_basics_intro_login->linux_basics_intro_process_tree linux_basics_shell_commandline->linux_basics_intro_overview linux_basics_shell_configfiles Shell Configuration File: ~/.bashrc linux_basics_shell_configfiles->linux_basics_intro_environment linux_basics_shell_ls Directory Listings: The ls Command linux_basics_shell_ls->linux_basics_intro_overview linux_basics_shell_paths Absolute and Relative Paths linux_basics_shell_ls->linux_basics_shell_paths linux_basics_shell_cwd Current Working Directory linux_basics_shell_ls->linux_basics_shell_cwd linux_basics_shell_cp Copying: cp linux_basics_shell_cp->linux_basics_shell_paths linux_basics_shell_file_dir_create_rm Creating And Removing Files and Directories linux_basics_shell_cp->linux_basics_shell_file_dir_create_rm linux_basics_shell_mv Moving and Renaming: mv linux_basics_shell_mv->linux_basics_shell_cp linux_basics_shell_mv->linux_basics_shell_paths linux_basics_shell_mv->linux_basics_shell_file_dir_create_rm linux_basics_shell_paths->linux_basics_shell_commandline linux_basics_shell_links Symbolic Links, Hard Links linux_basics_shell_links->linux_basics_shell_ls linux_basics_shell_file_dir_create_rm->linux_basics_shell_paths linux_basics_shell_file_dir_create_rm->linux_basics_shell_cwd linux_basics_shell_cwd->linux_basics_intro_process linux_basics_shell_cwd->linux_basics_shell_commandline linux_basics_shell_cwd->linux_basics_shell_paths linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_move_files Exercise: Move Files linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_move_files->linux_basics_shell_ls linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_move_files->linux_basics_shell_cp linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files Exercise: Create Files (I/O Redirection) linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_move_files->linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r Exercise: mkdir, rm linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_move_files->linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files->linux_basics_shell_paths linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files->linux_basics_shell_file_dir_create_rm linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files->linux_basics_shell_cwd linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files->linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r linux_basics_shell_exercises_cp_mv_mkdir_rm_rm_tree Exercise: Remove Directory Tree linux_basics_shell_exercises_cp_mv_mkdir_rm_rm_tree->linux_basics_shell_file_dir_create_rm linux_basics_shell_exercises_cp_mv_mkdir_rm_copy_tree Exercise: Copy Directory Tree linux_basics_shell_exercises_cp_mv_mkdir_rm_rm_tree->linux_basics_shell_exercises_cp_mv_mkdir_rm_copy_tree linux_basics_shell_exercises_cp_mv_mkdir_rm_verify_hierarchy Exercise: Verify, Repeat linux_basics_shell_exercises_cp_mv_mkdir_rm_verify_hierarchy->linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_move_files linux_basics_shell_exercises_cp_mv_mkdir_rm_verify_hierarchy->linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files linux_basics_shell_exercises_cp_mv_mkdir_rm_verify_hierarchy->linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_copy_files Exercise: Copy Files linux_basics_shell_exercises_cp_mv_mkdir_rm_verify_hierarchy->linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_copy_files linux_basics_shell_exercises_cp_mv_mkdir_rm_rm_rf Exercise: Funny Stuff linux_basics_shell_exercises_cp_mv_mkdir_rm_rm_rf->linux_basics_shell_file_dir_create_rm linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r->linux_basics_shell_file_dir_create_rm linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r->linux_basics_shell_cwd linux_basics_shell_exercises_cp_mv_mkdir_rm_copy_tree->linux_basics_shell_cp linux_basics_shell_exercises_cp_mv_mkdir_rm_copy_tree->linux_basics_shell_exercises_cp_mv_mkdir_rm_verify_hierarchy linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_copy_files->linux_basics_shell_cp linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_copy_files->linux_basics_shell_file_dir_create_rm linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_copy_files->linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_copy_files->linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r linux_basics_shell_exercises_ls_home_permissions Exercise: Permissions of Home Directory linux_basics_shell_exercises_ls_home_permissions->linux_basics_shell_ls linux_basics_shell_exercises_ls_etc_passwd_size Exercise: Size of /etc/passwd linux_basics_shell_exercises_ls_etc_passwd_size->linux_basics_shell_ls linux_basics_shell_exercises_ls_dev_types Exercise: File Types in /dev linux_basics_shell_exercises_ls_dev_types->linux_basics_shell_ls linux_basics_exercises_FH_SS2022_EXAM_01_G1 Exam (ECE/SS2022/G1): Do A Lot With Files And Directories linux_basics_exercises_FH_SS2022_EXAM_01_G1->linux_basics_shell_ls linux_basics_exercises_FH_SS2022_EXAM_01_G1->linux_basics_shell_cp linux_basics_exercises_FH_SS2022_EXAM_01_G1->linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files linux_basics_exercises_FH_SS2022_EXAM_01_G1->linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r linux_basics_exercises_FH_SS2022_EXAM_01_G2 Exam (ECE/SS2022/G2): Do A Lot With Files And Directories linux_basics_exercises_FH_SS2022_EXAM_01_G2->linux_basics_shell_ls linux_basics_exercises_FH_SS2022_EXAM_01_G2->linux_basics_shell_cp linux_basics_exercises_FH_SS2022_EXAM_01_G2->linux_basics_shell_exercises_cp_mv_mkdir_rm_echo_create_files linux_basics_exercises_FH_SS2022_EXAM_01_G2->linux_basics_shell_exercises_cp_mv_mkdir_rm_mkdir_p_rm_r linux_basics_archiving_compression_tar tar linux_basics_archiving_compression_tar->linux_basics_shell_commandline linux_basics_archiving_compression_gzip gzip linux_basics_archiving_compression_tar->linux_basics_archiving_compression_gzip linux_basics_archiving_compression_gzip->linux_basics_shell_commandline linux_basics_archiving_compression_overview Archiving and Compression linux_basics_archiving_compression_gzip->linux_basics_archiving_compression_overview linux_basics_archiving_compression_overview->linux_basics_shell_commandline linux_basics_permissions_sticky Ugly Hack: Sticky Bit linux_basics_permissions_basics Permissions: Mode, User and Group Ownership linux_basics_permissions_sticky->linux_basics_permissions_basics linux_basics_permissions_umasks Default Permissions: umask linux_basics_permissions_umasks->linux_basics_shell_file_dir_create_rm linux_basics_permissions_umasks->linux_basics_permissions_basics linux_basics_permissions_setuid SetUID Programs: passwd, sudo, … linux_basics_permissions_setuid->linux_basics_permissions_basics linux_basics_permissions_setuid_livedemo SetUID: Live Demo linux_basics_permissions_setuid_livedemo->linux_basics_permissions_setuid linux_basics_permissions_basics->linux_basics_shell_ls linux_basics_permissions_exercises_public_directory_question Question: Public Directory linux_basics_permissions_exercises_public_directory Exercise: Create Public Directory linux_basics_permissions_exercises_public_directory_question->linux_basics_permissions_exercises_public_directory linux_basics_permissions_exercises_credentials Exercise: Determine Your User Credentials linux_basics_permissions_exercises_credentials->linux_basics_intro_login linux_basics_permissions_exercises_credentials->linux_basics_permissions_basics linux_basics_permissions_exercises_private_directory Exercise: Create Private Directory linux_basics_permissions_exercises_private_directory->linux_basics_permissions_basics linux_basics_permissions_exercises_private_directory->linux_basics_permissions_exercises_credentials linux_basics_permissions_exercises_shared_file Exercise: Create Group-Shared File linux_basics_permissions_exercises_shared_file->linux_basics_permissions_basics linux_basics_permissions_exercises_shared_file->linux_basics_permissions_exercises_credentials linux_basics_permissions_exercises_public_directory->linux_basics_permissions_basics linux_basics_permissions_exercises_public_directory->linux_basics_permissions_exercises_credentials linux_basics_permissions_exercises_private_directory_question Question: Private Directory linux_basics_permissions_exercises_private_directory_question->linux_basics_permissions_basics linux_basics_permissions_exercises_private_directory_question->linux_basics_permissions_exercises_private_directory linux_sysprog_fileio_basics File I/O: Basics linux_sysprog_fileio_basics->linux_basics_permissions_basics linux_sysprog_basics_groupnode Linux Systems Programming: Basics linux_sysprog_fileio_basics->linux_sysprog_basics_groupnode linux_sysprog_blocking_io_blocking_io Blocking I/O: What is That? (“Everything is a file”) linux_sysprog_blocking_io_blocking_io->linux_sysprog_fileio_basics linux_sysprog_blocking_io_blocking_io_file->linux_sysprog_blocking_io_blocking_io linux_sysprog_basics_errorhandling Error Handling linux_sysprog_basics_groupnode->linux_sysprog_basics_errorhandling linux_sysprog_basics_syscalls System Calls vs. Library Functions linux_sysprog_basics_groupnode->linux_sysprog_basics_syscalls linux_sysprog_basics_errorhandling->linux_sysprog_basics_syscalls linux_toolchain_basics Toolchain: Basics linux_sysprog_basics_syscalls->linux_toolchain_basics linux_toolchain_basics->linux_basics_shell_file_dir_create_rm