---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# edit

> An alias to a `run-mailcap`'s action edit.
> Originally `run-mailcap` is used to process/edit mime-type/file.
> More information: <https://www.computerhope.com/unix/uedit.htm>.

- Edit action can be used to view any file on default mailcap explorer:

`edit {{filename}}`

- With `run-mailcap`:

`run-mailcap --action=edit {{filename}}`
