diff --git a/pages/common/history.md b/pages/common/history.md index 8e7acaadc77bb..e98fa7c5bc3b4 100644 --- a/pages/common/history.md +++ b/pages/common/history.md @@ -13,3 +13,7 @@ - Overwrite history file with history of current `bash` shell (often combined with `history -c` to purge history): `history -w` + +- Delete the history entry at the specified offset: + +`history -d {{offset}}` diff --git a/pages/common/id.md b/pages/common/id.md index 2aa5331ba5fdf..ac11b317f0a70 100644 --- a/pages/common/id.md +++ b/pages/common/id.md @@ -2,6 +2,10 @@ > Display current user and group identity. +- Display current user's id (UID), group id (GID) and groups to which they belong: + +`id` + - Display the current user identity as a number: `id -u` @@ -9,3 +13,7 @@ - Display the current group identity as a number: `id -g` + +- Display an arbitrary user's id (UID), group id (GID) and groups to which they belong: + +`id {{username}}` diff --git a/pages/common/kill.md b/pages/common/kill.md index bd729e8c24cb8..3e92f92d3f247 100644 --- a/pages/common/kill.md +++ b/pages/common/kill.md @@ -23,6 +23,10 @@ `kill -{{9|KILL}} {{process_id}}` -- Signal the operating system to pause a program, it until a SIGCONT ("continue") signal is received: +- Signal the operating system to pause a program until a SIGCONT ("continue") signal is received: `kill -{{17|STOP}} {{process_id}}` + +- Send a `SIGUSR1` signal to all processes with the given GID (group id): + +`kill -{{SIGUSR1}} -{{group_id}}` diff --git a/pages/linux/brctl.md b/pages/linux/brctl.md new file mode 100644 index 0000000000000..60dec317734d4 --- /dev/null +++ b/pages/linux/brctl.md @@ -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}}`