My Blog

All about my activities, Ideas and everything.

Grails : run-app on different port

COMMAND $ grails -Dserver.port=9090 run-app

Ubuntu : run a shell script in a background

I have a problem with running a program with a shell script. and it take control of my terminal. So, I have to start another terminal. This is how you can do to run a shell script in a background COMMAND $ nohup your command &

Ubuntu : use apt-get install behide proxy server

I have a problem with using apt-get while I work at my company, because they use proxy server. Here’s the solution. COMMAND $ http_proxy=http://username:password@host:port/ $ export http_proxy