i read your linux tutorials, but im kind confuse about something

how can i change the settings to change the default gateway on my linux, but im only using ssh to access my server so i need the command only