When the player acquires a controllable pet, a Pet Action Bar will appears on screen. While every pet has unique abilities, there is a list of six commands that are universal to all pets. These commands are not class specific and are listed in the window below.
The / commands for some pet actions are as follows:
Other more specific pet abilities, such as a Spider pet's Web can be input simply as /cast Web.
(If you use /sit and have a cat pet selected they will sit in your lap)