When I set up a new laptop, I add commands to toggle the on-board touchpad ON/OFF. I don’t permanently disable it because there are times when a mouse is not available.

The laptop I just setup has a touchpad and a “touch stick.” This presented a challenge–how to put multiple commands in a single BASH alias, to disable both at the same time.

My solution is as follows:

The above code is just a snippet that I placed into my ~/.bashrc file. Let me know how it works for you in the comments.