Asigning keys scripts in linux
Hey, I know a little bit about Linux but I have a question. Is it possible to set Linux up do that if you press a key it will run a certain script? I have a Linux router that I want to set bandwidth caps on certain computers and boost the bandwidth on others. Such as boosting the bandwidth on the port connected to the computer to my room and the living room, and limiting the bandwidth to the family computer room. A gaming mode so to say. After I'm done gaming with my friends I would press another button and the connection caps and boosts would reset.
OS: Win XP PRO SP2 | RAM: 2GB | COOLING: Heatsink and fans, not factory | MOBO: Biostar 6100-m9 | GFX: GeForce 8400GS | SOUND: SB Audigy SE | NET: RTL8201 | CPU: AMD Athlon64X2 3800+ 2.0Ghz (current highest OC at 2.15, its a work in progress, will finish during spare time)
---90% of teens today would die if Myspace had a system failure and was completely destroyed. If you are one of the 10% that would be laughing, copy and paste this to your signature.---