-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
layout: page | ||
title: common/l2ping (English) | ||
description: "Send an L2CAP echo request and receive an answer." | ||
content_hash: 06172deaa854bfa1869a98938267c99a5818a772 | ||
last_modified_at: 2023-09-11 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># l2ping | ||
|
||
Send an L2CAP echo request and receive an answer. | ||
More information: <https://manned.org/l2ping>. | ||
|
||
- Ping a Bluetooth device: | ||
|
||
`sudo l2ping `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">mac_address</span> | ||
|
||
- Reverse ping a Bluetooth device: | ||
|
||
`sudo l2ping -r `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">mac_address</span> | ||
|
||
- Ping a Bluetooth device from a specified interface: | ||
|
||
`sudo l2ping -i `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">hci0</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">mac_address</span> | ||
|
||
- Ping Bluetooth device with a specified sized data package: | ||
|
||
`sudo l2ping -s `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">byte_count</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">mac_address</span> | ||
|
||
- Ping flood a Bluetooth device: | ||
|
||
`sudo l2ping -f `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">mac_address</span> | ||
|
||
- Ping a Bluetooth device a specified amount of times: | ||
|
||
`sudo l2ping -c `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">amount</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">mac_address</span> | ||
|
||
- Ping a Bluetooth device with a specified delay between requests: | ||
|
||
`sudo l2ping -d `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">seconds</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">mac_address</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: page | ||
title: linux/systemd-sysusers (English) | ||
description: "Create system users and groups." | ||
content_hash: e79d5f1cb5ef1dd60c67217cd618a68ea120f22e | ||
last_modified_at: 2023-09-11 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># systemd-sysusers | ||
|
||
Create system users and groups. | ||
If the config file is not specified, files in the `sysusers.d` directories are used. | ||
More information: <https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html>. | ||
|
||
- Create users and groups from a specific configuration file: | ||
|
||
`systemd-sysusers `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file</span> | ||
|
||
- Process configuration files and print what would be done without actually doing anything: | ||
|
||
`systemd-sysusers --dry-run `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">path/to/file</span> | ||
|
||
- Print the contents of all config files (before each file, its name is printed as a comment): | ||
|
||
`systemd-sysusers --cat-config` |
Submodule source
updated
2 files
+32 −0 | pages/common/l2ping.md | |
+17 −0 | pages/linux/systemd-sysusers.md |