Browse Source

path

master
Anthony Fadly 1 year ago
parent
commit
855c4bf452
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      sep19-more-commands.md

+ 10
- 0
sep19-more-commands.md View File

@@ -22,3 +22,13 @@ $ /bin/ls # ls is a program in /bin

$ ./ls # ls can be run from a relative path
```

## Command in Path

```
$ echo $PATH

/bin /sbin /usr/bin /usr/sbin [output varies per user]
```

When a command is run, the system checks these locations for them.

Loading…
Cancel
Save