azalea / gatk_setup

Setup GATK on Ubuntu 12.04 LTS
MIT License
0 stars 0 forks source link

Issues about >> ~/.bashrc #1

Open ghost opened 10 years ago

ghost commented 10 years ago

Recently, I peeped your repository of gatk_setup, and find a question. For my taste, I always use>> ~/.profile to set a new path instead of ~/.bashrc. My question is that why you choose add a new path at/.bashrc rather than ~/.profile? Is there any reason for it?

azalea commented 10 years ago

The difference is subtle and I think these two are equivalent in this scenario.

See here.

The reason is that I use .bashrc for other personal settings, and I prefer to maintain just one personal configuration file.

ghost commented 10 years ago

OK, got it. Thank you for your help and I totally solved this problem with your answer and the reference I find below:

azalea commented 10 years ago

You are totally right. But I can hardly imagine a situation where one need to open multiple non-login shells.

ghost commented 10 years ago

For me, I always run a big data on my local computer like Tophat, which will often spend me at least 24 hr. So during this time, I still need to do other things and still use a non-login terminal to do that. Additionally, I am an undergraduate and no one could provide me a good HPC resources. So sometimes I need to consider my actual working efficiency. That's the reason.

azalea commented 10 years ago

You can run a process in background. You can also use screen.