Run a program with modified priority (e.g. ./test.sh)

# nice value is adjustable from -20 (most favorable) to +19
# the nicer the application, the lower the priority
# Default niceness: 10; default priority: 80

nice -10 ./test.sh
click the source code to copy