Listing previous used commmand function.