---
title: "Discussion on \"The idea behind $PATH environment variable and shell commands locations\" | Hashnode"
description: "Discussion on \"The idea behind $PATH environment variable and shell commands locations\". Commands are executable files, think of them like that. To use a command means you need to run an executable file so you have to provide it's path(where this executable file resides).\nFor example, if I want to use date command I should type /bin/date..."
url: "https://hashnode.com/posts/the-idea-behind-dollarpath-environment-variable-and-shell-commands-locations/6160d2a8b945c81a907d0f8e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The idea behind $PATH environment variable and shell commands locations](https://rahmayasser.hashnode.dev/the-idea-behind-dollarpath-environment-variable-and-shell-commands-locations?utm_source=hashnode&utm_medium=feed)

Commands are executable files, think of them like that. To use a command means you need to run an executable file so you have to provide it's path(where this executable file resides). For example, if I want to use date command I should type /bin/date...

Oct 8, 2021 · 2 min read · rahmayasser.hashnode.dev  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#shell](https://hashnode.com/tag/shell)
-   [#go](https://hashnode.com/tag/go)

## Written by

[Rahma Yasser](https://hashnode.com/@rahmayasser)

@rahmayasser

  
[View profile](https://hashnode.com/@rahmayasser)

go developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
