mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 00:02:02 +00:00
Update cheatsheets
This commit is contained in:
21
miniserve
Normal file
21
miniserve
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# miniserve
|
||||
|
||||
> Simple HTTP file server.
|
||||
> More information: <https://github.com/svenstaro/miniserve>.
|
||||
|
||||
- Serve a directory:
|
||||
|
||||
`miniserve {{path/to/directory}}`
|
||||
|
||||
- Serve a single file:
|
||||
|
||||
`miniserve {{path/to/file}}`
|
||||
|
||||
- Serve a directory using HTTP basic authentication:
|
||||
|
||||
`miniserve --auth {{username}}:{{password}} {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user