# Commands | Command | Description | | ------- | ----------- | | `/add-user` | Search for a user to add to the current channel | | `/add-user <@user>` | Add a user to the current channel | | `/attach ` | Attach a given file without browsing | | `/create-channel ` | Create a new public channel | | `/create-private-channel ` | Create a new private channel | | `/cycle-channel-list-sorting` | Cycle through channel list sorting modes for this team | | `/delete-channel` | Delete the current channel | | `/flags` | Open a window of your flagged posts | | `/focus <~channel>` | Focus on a channel or user | | `/focus` | Select from available channels | | `/group-create <@user [@user ...]>` | Create a group chat | | `/help` | Show the main help screen | | `/help ` | Show help about a particular topic | | `/hide` | Hide the current DM or group channel from the channel list | | `/join` | Find a channel to join | | `/join <~channel>` | Join the specified channel | | `/leave` | Leave a normal channel or hide a DM channel | | `/left` | Focus on the previous channel | | `/log-mark ` | Add a custom marker message to the Matterhorn debug log | | `/log-snapshot ` | Dump the current debug log buffer to the specified path | | `/log-start ` | Begin logging debug information to the specified path | | `/log-status` | Show current debug logging status | | `/log-stop` | Stop logging | | `/members` | Show the current channel's members | | `/message-preview` | Toggle preview of the current message | | `/move-team-left` | Move the currently-selected team to the left in the team list | | `/move-team-right` | Move the currently-selected team to the right in the team list | | `/msg` | Search for a user to enter a private chat | | `/msg <@user>` | Chat with the specified user | | `/msg <@user> ` | Go to a user's channel and send the specified message or command | | `/notify-prefs` | Edit the current channel's notification preferences | | `/pinned-posts` | Open a window of this channel's pinned posts | | `/quit` | Exit Matterhorn | | `/reconnect` | Force a reconnection attempt to the server | | `/remove <@user>` | Remove a user from the current channel | | `/rename-channel-url ` | Rename the current channel's URL name | | `/right` | Focus on the next channel | | `/search ` | Search for posts with given terms | | `/sh` | List the available shell scripts | | `/sh