#инструкции
Using Linux Basename Command in Bash Scripts
The basename command in Linux prints the final component in a file path. This is particularly helpful in bash scripts where you want to extract the file name from the long file path.
https://docs.google.com/document/d/1ZRMcsG_WmreIeWx4cE5EweVY6mEITYDk0OWCaKCVHtM/edit?usp=sharing