im new to shell scripting
i want a simle script to configure the ip adress and add a default gw
this is what i got so far
#!/bin/bash
ifconfig eth0 "ipadress"
route add default gw "gw adress"
it does not recognise route ? can anyone help?