Linux Shell Basics - course 13,900 rub. from IBS Training Center, training 14 hours, Date November 26, 2023.
Miscellaneous / / November 30, 2023
The course focuses on introducing you to the Linux® command line, popular utilities and command line commands.
The principle of creating and executing shell scripts is studied (all examples are given for ksh).
Conditional operators, loops, special variables, and functions are considered.
The basics of the file system and the principles of organizing access rights in systems that support the POSIX standard, basic data types (files, links, named pipes, device files) are given.
The basics of the Linux® operating system are covered (user management, remote work via ssh, process and task management, vi text editor, cron service).
Preliminary preparation
Knowledge of basic programming principles (the concept of variables, data types, conditions and loops).
Introduction to shell:
- terminology (shell, GUI, CLI, terminal);
- basic syntax – arguments and options;
- internal and external teams;
- masks, paths to files and directories;
- popular commands for navigating and working with files and directories, as well as displaying system information (ls, who,
- pwd, date, cd, mkdir, cp, mv., etc.).
Input and output:
- viewing text files;
- input and output redirection;
- processing redirected output (grep, sort, wc).
Shell variables:
- data types;
- escaping and quotes;
- wildcards;
- environment variables, system variables.
Arithmetic operations in the CLI.
File system:
- files, directories, device files;
- virtual file systems (devfs, procfs);
- types of file systems, brief comparison;
- file storage on disk and fragmentation;
- access rights to files and directories;
- users and groups. Control;
- super user, su and sudo commands;
- hard and symbolic links, named pipes;
- mount points, /etc/fstab.
Vi text editor.
Cron scheduling service.
Shell scripts – creating and running a script:
- return values;
- opening parentheses.
Commands for working with text (cut, tr, grep).
Regular expressions.
Briefly about Sed.
Processes in Linux (PID, ps, top, htop):
- signals, kill command.
Task management (bg, fg, jobs).
tar and gzip utilities.
Remote work with files (ftp, scp, wget).
Find command.
Arrays.
Conditional statements (if-then and case).
Loops while, for, until.
Special variables.
Functions.
Remote access via SSH:
- SSH keys.
Additional materials:
- Select command to build a menu;
- Virtual screens (screen, tmux);
- nohup.