mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
16 lines
273 B
Markdown
16 lines
273 B
Markdown
![]() |
# assoc
|
||
|
|
||
|
> Display or modify file extension associations.
|
||
|
|
||
|
- Display all associated filetypes:
|
||
|
|
||
|
`assoc`
|
||
|
|
||
|
- Display the associated filetype for a specific extension:
|
||
|
|
||
|
`assoc {{.txt}}`
|
||
|
|
||
|
- Modify the associated filetype for a specific extension:
|
||
|
|
||
|
`assoc {{.txt}}={{txtfile}}`
|