Tuesday, June 16, 2015

Useful Linux commands


nohup :Used to run a start another program in such a way that if parent process is killed still it runs.

eg: $: nohup java test.class &
 even if the console is closed .the java program will be running


 If you want to add any default directories  or files while creating new user add those files/directories in   /etc/skel so during user creation they will be added