From 4362f83b9d0f32369293c93a94a0a04a601dbe66 Mon Sep 17 00:00:00 2001 From: Morgan Date: Fri, 9 Aug 2019 04:53:49 +0200 Subject: [PATCH] cheat for macos --- cheat/macos.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cheat/macos.md diff --git a/cheat/macos.md b/cheat/macos.md new file mode 100644 index 0000000..fffe1fc --- /dev/null +++ b/cheat/macos.md @@ -0,0 +1,7 @@ +### List what launch scripts are currently loaded (MacOs) + +`launchctl list | wc -l` + +### Removing color from command output ([src](https://stackoverflow.com/questions/17998978/removing-colors-from-output)) + +`somescript | sed $'s,\x1b\\[[0-9;]*[a-zA-Z],,g'`