---
title: "ezgh files mount-command"
description: "Print the command that mounts a file system or an access point."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh files mount-command

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh files mount-command <file-system|access-point> [--mount-target m] [--no-tls] [flags]
```

Print the command that mounts a file system (fsy\_…, a UUID or its name) or an access point (fap\_…) from an instance in its VPC, through one of the file system's available mount targets (`--mount-target` picks one). It mounts over TLS, which needs ktls-utils on the instance; `--no-tls` prints the plain command, unless the file system requires TLS. Create the directory first (sudo mkdir -p).

Part of [`ezgh files`](/cli/reference/files).

## Examples

```sh
ezgh files mount-command web
ezgh files mount-command fap_1b8c4d6f0gkm --no-tls
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--mount-target` | string |  | the mount target to mount through (fmt\_…; default the first available) |
| `--no-tls` | boolean |  | print the command that mounts without TLS |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/files-mount-command/index.mdx
