<a id="lxc-file-edit-md"></a>

# `lxc file edit`

Edit file in instance

## Synopsis

Description:
Edit file in instance

```none
lxc file edit [<remote>:]<instance>/<path> [flags]
```

## Options inherited from parent commands

```none
      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Do not show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number
```

## SEE ALSO

* [lxc file](https://canonical.com/lxd/docs/latest/reference/manpages/lxc/file/index.html.md#lxc-file-md)	 - Manage files in instances
