HowTo: Linux Limit A Specific User’s Shell Account Network Bandwidth Using Bash Shell and Trickle

Posted on in Categories , , , last updated September 18, 2015

I am using a bash shell under Ubuntu Linux operating system. Sometime I need to restrict my own Internet bandwidth for all my shell applications such as ftp, sftp, wget, curl and friends. How do I limit the network speed under bash without setting up a complicated firewall and tc rules as described here?