# Posix

Linux and MacOS both include a posix subsystem. This essentially means that they have a set of APIs and commands that conform to the posix stands.

DCli exports a number of posix specific commands.

To access these commands you need to import DCli's posix library.

```dart
import 'package:dcli/posix.dart';
```

## DCli posix specific functions

### chmod

Sets the permissions on a file on posix systems.

### chown

Sets the owner of a file on posix systems.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dcli.onepub.dev/dcli-api/cross-platform/posix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
