Skip to content

Instantly share code, notes, and snippets.

View Lakshanz's full-sized avatar

Lakshan Jayathilaka Lakshanz

View GitHub Profile
@Lakshanz
Lakshanz / limit-tc.sh
Last active August 3, 2024 05:47
TC limiting : Helps to set maximum upload/download speed limit to your linux server/pc's selected network interface.
#!/bin/bash
# Full path to tc binary
TC=$(which tc)
#
# NETWORK CONFIGURATION
# interface - name of your interface device
# interface_speed - speed in mbit of your $interface
# ip - IP address of your server, change this if you don't want to use