Re: How to check the number of terminals open from inside a shell script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29 October 2010 06:39, Mark Liggett <mliggett@xxxxxxxxxxxxxx> wrote:
> You could add your script to the .bashrc file – this way the script would
> run once when the user logs on.

I presume you meant ~/.bash_profile ? ~/.bashrc is sourced every time
a user opens a terminal, whereas ~/.bash_profile is sourced every time
a user logs in. This distinction however becomes redundant when the
user always uses a text terminal to login. (as in no gui)

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux