troubleshooting Question

How to write a Linux script to automate a command?

Avatar of missymadi
missymadi asked on
LinuxShell Scripting
21 Comments1 Solution489 ViewsLast Modified:
Experts,

   I am working on a pc that I need to type the following command:
route add -host 10.10.10.1 subnet 0.0.0.0 gw 10.10.0.0   (I may not have the syntax exactly correct) How would I write a linux script to automate this? Maybe run it when the system boots?

Thanks, Missymadi
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 21 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 21 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros