cheat for macos

This commit is contained in:
Morgan 2019-08-09 04:53:49 +02:00 committed by GitHub
parent 7b4cd604ea
commit 4362f83b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
cheat/macos.md Normal file
View File

@ -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'`