Update 'README.md'
--m -> -m
This commit is contained in:
parent
49c36b471f
commit
9368be0fda
1 changed files with 2 additions and 2 deletions
|
@ -48,14 +48,14 @@ $ telme --init --profile <profile_name>
|
||||||
## Examples:
|
## Examples:
|
||||||
###### Simple message
|
###### Simple message
|
||||||
```shell
|
```shell
|
||||||
$ telme --m "Message to send"
|
$ telme -m "Message to send"
|
||||||
```
|
```
|
||||||
|
|
||||||
In the next example a message will be sent every time the user `user` logs in to a tty.
|
In the next example a message will be sent every time the user `user` logs in to a tty.
|
||||||
> Added the next lines at the bottom of `~/.profile` file
|
> Added the next lines at the bottom of `~/.profile` file
|
||||||
```shell
|
```shell
|
||||||
# Telme on login
|
# Telme on login
|
||||||
telme --m "A new Login:\n\`\`\` user: $(whoami) | hostname: $(hostname) | remote ip $(who | cut -d'(' -f2 | cut -d')' -f1)\`\`\` Hope this is you!"
|
telme -m "A new Login:\n\`\`\` user: $(whoami) | hostname: $(hostname) | remote ip $(who | cut -d'(' -f2 | cut -d')' -f1)\`\`\` Hope this is you!"
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Task message
|
###### Task message
|
||||||
|
|
Loading…
Reference in a new issue