I am using fedora distribution. There are few commands i have to enter to for a project involved such as below:
# echo 0 > /proc/sys/net/ipv6/conf/eth0/forwarding
# echo 1 > /proc/sys/net/ipv6/conf/eth0/autoconf
# echo 1 > /proc/sys/net/ipv6/conf/eth0/accept_ra
# echo 1 > /proc/sys/net/ipv6/conf/eth0/accept_redirects
May I know is there possible to write a script to run the several commands in terminal if I don't want type the command line by line?
If yes, can you tell me how to do so? Because I have never do so before.