Sunday, February 26, 2017

command line - How to run a bash script after 20 sec on Login?

I want to run a bash script like:



#!/bin/bash          
echo 'cpu limit bomi player at 40%'

cpulimit -v -e bomi -l 40


Just 20 seconds after Login into my user. Can you please help me to do that? I searched Google and did what they said but it didn't work for me.



If it's possible for the bash script to run in a new terminal window that will display the output, please tell me what I have to do to achieve that.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...