Skip to content

Commit

Permalink
Add useful Mac commands
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav-nath committed Jan 21, 2023
1 parent 0d3cfeb commit 6a93246
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion mac-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,24 @@ For horizontal stacking (left to right):

```
convert +append 1.jpg 2.jpg out.jpg
```
```

## Fixing Docker issue on M1 Macbook Pro

```shell
rm -rf ~/Library/Group\ Containers/group.com.docker
rm -rf ~/Library/Containers/com.docker.docker
rm -rf ~/.docker
```

## Find and kill port in use

```shell
kill -9 $(lsof -ti:3000)
```

**For multiple ports:**

```shell
kill -9 $(lsof -ti:3000,3001)
```

0 comments on commit 6a93246

Please sign in to comment.