From 885f431d5b63ab643849a17629dc46b41a93bb80 Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire Date: Thu, 8 Feb 2024 02:51:31 -0300 Subject: [PATCH] add some useful commands in README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index a6bba14..96e35d0 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,21 @@ Usage: NOTE: Always run this script with privileged permissions (currently not) ``` + +## Some useful commands + +- `ps` of processes + +```sh +sudo ip netns pids $netns_name | xargs ps +``` + +- run firefox + +```sh +./split-vpn-manager.sh run $netns_name firefox -P $profile --new-session +``` + ## Exit codes ```