Yes, you can use all the keyboard shortcuts with your selenium.
The method of doing that is either you create a web element for the same or directly pass the keyboard key strokes in your command.
Here is the syntax I used :
String selectAll = Keys.chord(Keys.CONTROL, "a");
You can also follow the second method:
driver.findElement(By.xpath(id("anything")).sendKeys(Keys.CONTROL + "a");