> For the complete documentation index, see [llms.txt](https://omalab.gitbook.io/engineeringwiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://omalab.gitbook.io/engineeringwiki/setup/bash-commands.md).

# Bash Commands

Other helpful things to add to your environment if you want.

## OAuth Clone

Clones a container using our $DEVELOPER\_TOKEN instead of loggging in and out. A lot of our scripts use this same method.

```
function oauth_clone {
  git clone https://$DEVELOPER_TOKEN:x-oauth-basic@github.com/$1.git $2;
}
```

## WhatsOnPort

What's on port tells you what process is running on a particular port.

```
function whatsonport {
  lsof -n -i :$1 | grep LISTEN
}
```

## Keys are working to Github

```
ssh -T git@github.com
```

You should see a "You've successfully authenticated, but GitHub does not provide shell access."
