How does shell get the path name and file name
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!