mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-31 10:55:39 +02:00
Adding tokens to variables
This commit is contained in:
parent
fcdd190c3a
commit
3ff22d2260
1 changed files with 3 additions and 3 deletions
|
@ -4,12 +4,12 @@
|
|||
|
||||
- Send a message with the content of message.txt to the mail folder of local user `user_name`:
|
||||
|
||||
`sendmail user_name < message.txt`
|
||||
`sendmail {{user_name}} < {{message.txt}}`
|
||||
|
||||
- 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 -f {{you@yourdomain.com}} {{test@gmail.com}} < {{message.txt}}`
|
||||
|
||||
- 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 -f {{you@yourdomain.com}} {{test@gmail.com}} < {{file.zip}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue