I am using
Konsole in Kubuntu.
I was wondering what is the difference between a profile in Konsole and the profiles in our bash?
I am reading that we can create different profiles per Konsole session and use different bash per session.
What is meant by using different bash per session here?
I thought that the default bash is the one defined in the
/etc/passwd for a user
I am using
The Konsole profile contains settings specific to Konsole eg terminal font, text colour, background colour, settings for shorcuts to manipulate tabs etc.
/etc/passwd defines the default shell for the user, of which
bash is just the most common option. Alternatives to
csh etc. You can google each of them to find out more about them. The default shell is the program that will be run inside of Konsole, which essentially can work with any shell or terminal program for that matter.
You also have files like
.bashrc which contains settings specific to bash, regardless of the terminal it is run in.
.profile is broader still in that it will effect whatever shell is used, even if it is not
I think the most important distinction to make is that Konsole is a 'terminal emulator,' meaning that that it just does the same job as an old style terminal, but nicely inside a desktop environment. There are various settings which effect how it does this job and aren't much to do with the actual shell running inside it.