brctl: add page.
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
ddd40bc650
commit
ac5cd6d896
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
> Display current user and group identity.
|
> 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`
|
`id`
|
||||||
|
|
||||||
@@ -14,6 +14,6 @@
|
|||||||
|
|
||||||
`id -g`
|
`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}}`
|
`id {{username}}`
|
||||||
|
@@ -27,10 +27,6 @@
|
|||||||
|
|
||||||
`kill -{{17|STOP}} {{process_id}}`
|
`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 -{{SIGUSR1}} -{{group_id}}`
|
||||||
|
|
||||||
- Kill every process that can be killed by the current user (except init and kill itself):
|
|
||||||
|
|
||||||
`kill -9 -1`
|
|
||||||
|
23
pages/linux/brctl.md
Normal file
23
pages/linux/brctl.md
Normal 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}}`
|
Reference in New Issue
Block a user