mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 21:58:20 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,12 +15,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Send a typed email message with optional CC. The command-line below continues after pressing `<Enter>`. Input message text (can be multiline). Press `<Ctrl>-D` to complete the message text:
|
||||
|
||||
`mail --subject="{{subject line}}" {{to_user@example.com}} --cc="{{cc_email_address}}"`
|
||||
`mail --subject "{{subject line}}" {{to_user@example.com}} --cc "{{cc_email_address}}"`
|
||||
|
||||
- Send an email that contains file content:
|
||||
|
||||
`mail --subject="{{$HOSTNAME filename.txt}}" {{to_user@example.com}} < {{path/to/filename.txt}}`
|
||||
`mail --subject "{{$HOSTNAME filename.txt}}" {{to_user@example.com}} < {{path/to/filename.txt}}`
|
||||
|
||||
- Send a `tar.gz` file as an attachment:
|
||||
|
||||
`tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject="{{subject_line}}" {{to_user@example.com}}`
|
||||
`tar cvzf - {{path/to/directory1 path/to/directory2}} | uuencode {{data.tar.gz}} | mail --subject "{{subject_line}}" {{to_user@example.com}}`
|
||||
|
||||
Reference in New Issue
Block a user