mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 16:01:40 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Send a message with the content of `message.txt` to the mail directory of local user `username`:
|
||||
|
||||
`sendmail {{username}} < {{message.txt}}`
|
||||
`sendmail < {{message.txt}} {{username}}`
|
||||
|
||||
- Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`:
|
||||
|
||||
`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{message.txt}}`
|
||||
`sendmail < {{message.txt}} -f {{you@yourdomain.com}} {{test@gmail.com}}`
|
||||
|
||||
- Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the file `file.zip`:
|
||||
|
||||
`sendmail -f {{you@yourdomain.com}} {{test@gmail.com}} < {{file.zip}}`
|
||||
`sendmail < {{file.zip}} -f {{you@yourdomain.com}} {{test@gmail.com}}`
|
||||
|
||||
Reference in New Issue
Block a user