Get the App
SLTechnology News&Howtos  ›  Development  › 

How does shell get the path name and file name

Shulou Source: shulou.com Published: 2022-06-01 04:04:46 09月22日 Update

Editor to share with you how to get the path name and file name of shell, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Get pathname and file name

What does $dirname'/ home/lalor/a.txt'/home/lalor$ basename'/ home/lalor/a.txt'a.txtshell mean? shell is a command language that provides users with an operating interface. The software can receive commands from users, execute commands entered by users, and then call the corresponding programs.

The above is all the contents of the article "how to get pathnames and file names by shell". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: File file name path path command article content user software not much user most meaning more interface knowledge program industry language information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Apple Shulou Tech Info OPPO Reno macOS