summaryrefslogtreecommitdiff
path: root/docs/getting_started
diff options
context:
space:
mode:
Diffstat (limited to 'docs/getting_started')
-rw-r--r--docs/getting_started/permissions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/getting_started/permissions.md b/docs/getting_started/permissions.md
index 317d85046..7b1eac693 100644
--- a/docs/getting_started/permissions.md
+++ b/docs/getting_started/permissions.md
@@ -57,7 +57,7 @@ error: Uncaught PermissionDenied: read access to "/etc/passwd", run again with t
Try it out again with the correct permissions by whitelisting `/etc` instead:
```shell
-$ deno run --allow-read=/etc https://deno.land/std/examples/cat.ts /etc/passwd
+deno run --allow-read=/etc https://deno.land/std/examples/cat.ts /etc/passwd
```
`--allow-write` works the same as `--allow-read`.
@@ -73,7 +73,7 @@ const result = await fetch("https://deno.land/");
This is an example on how to whitelist hosts/urls:
```shell
-$ deno run --allow-net=github.com,deno.land fetch.ts
+deno run --allow-net=github.com,deno.land fetch.ts
```
If `fetch.ts` tries to establish network connections to any other domain, the
@@ -82,5 +82,5 @@ process will fail.
Allow net calls to any host/url:
```shell
-$ deno run --allow-net fetch.ts
+deno run --allow-net fetch.ts
```