Path is one of the most essential concepts in Linux and this is something every Linux user must know.

A path is how you refer to files and directories. It gives the location of a file or directory in the Linux directory structure. It is composed of a name and slash syntax.

As a user youaposll have to use the path when you want to access a certain file or directory or when you have to give the location of a file or directory to a command or script.

Remember if the path starts with slash quotquot the first slash denotes root. The rest of the slashes in the path are just separators. Beginners often get confused between the root slash and the separator slashes.

In the above diagram you have the first path that starts with root slash. There is another path that doesnapost start with i.e. root.


Read Full Post

News Link:

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.