diff --git a/tldr/ifdata b/tldr/ifdata index 94f70311..d5e3e9fc 100644 --- a/tldr/ifdata +++ b/tldr/ifdata @@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git `ifdata -pa -pn {{eth0}}` -- [p]rint the [N]etwork address, the [b]roadcast adress, and the [m]TU of the specified interface: +- [p]rint the [N]etwork address, the [b]roadcast address, and the [m]TU of the specified interface: `ifdata -pN -pb -pm {{eth0}}` diff --git a/tldr/linux/imp b/tldr/linux/imp new file mode 100644 index 00000000..8e08dabf --- /dev/null +++ b/tldr/linux/imp @@ -0,0 +1,26 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# imp + +> A helper to use native systemd support under WSL (Windows Subsystem for Linux). +> Note: To run these from Windows rather than an already-running distribution, precede them with `wsl`. +> More information: . + +- Initialize the helper functions and keep WSL running until explicit shutdown (run once, at start): + +`imp {{[-i|--initialize]}}` + +- Run a shell inside a systemd user session: + +`imp {{[-s|--shell]}}` + +- Run a specified command inside a systemd user session (preserves working directory): + +`imp {{[-c|--command]}} {{command}}` + +- Shut down systemd and the WSL instance: + +`imp {{[-u|--shutdown]}}`