1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 19:05:59 +02:00

brctl: add page.

This commit is contained in:
Marco Bonelli 2019-01-09 00:12:18 +01:00 committed by Starbeamrainbowlabs
parent ddd40bc650
commit ac5cd6d896
3 changed files with 27 additions and 8 deletions

View file

@ -2,7 +2,7 @@
> Display current user and group identity.
- Display current user id (UID), group id (GID) and groups of which you are a member:
- Display current user id (UID), group id (GID) and groups to which they belong:
`id`
@ -14,6 +14,6 @@
`id -g`
- Display an arbitrary user's id (UID), group id (GID) and groups of which they are a member:
- Display an arbitrary user's id (UID), group id (GID) and groups to which they belong:
`id {{username}}`

View file

@ -27,10 +27,6 @@
`kill -{{17|STOP}} {{process_id}}`
- Send a signal to all processes with the given GID (group id):
- Send a `SIGUSR1` signal to all processes with the given GID (group id):
`kill -{{signal_name}} -{{group_id}}`
- Kill every process that can be killed by the current user (except init and kill itself):
`kill -9 -1`
`kill -{{SIGUSR1}} -{{group_id}}`

23
pages/linux/brctl.md Normal file
View file

@ -0,0 +1,23 @@
# brctl
> Ethernet bridge administration.
- Show a list with information about currently existing ethernet bridges:
`sudo brctl show`
- Create a new ethernet bridge interface:
`sudo brctl add {{bridge_name}}`
- Delete an existing ethernet bridge interface:
`sudo brctl del {{bridge_name}}`
- Add an interface to an existing bridge:
`sudo brctl addif {{bridge_name}} {{interface_name}}`
- Remove an interface from an existing bridge:
`sudo brctl delif {{bridge_name}} {{interface_name}}`