[PLUG] How to set path of shell script in .profile in Ubuntu 23.x system?
Amey
sco1984 at gmail.com
Sun Apr 14 00:59:47 IST 2024
Hello Gaurav,
On Sat, 6 Apr 2024 at 06:13, Gaurav Pant via plug-mail <
plug-mail at plug.org.in> wrote:
> See inline
>
> On Fri, Apr 5, 2024 at 12:12 PM Amey Abhyankar via plug-mail <
> plug-mail at plug.org.in> wrote:
>
>> Hello All,
>>
>> I haven't done this in ages hence thought of asking here thank you.
>>
>> I have a simple shell script which will set mtu after I login via GUI.
>> [Ubuntu 23.x system]
>>
>> I want to set it under .profile but I'm not sure exactly how to put the
>> path of my script in the .profile
>> I do not want to copy-paste the script in the .profile of my user.
>>
>
> The .profile is run when you start an instance of bash. It would not run
> when GUI starts. If you want the setting globally put it under the main
> profile file.
>
Understood thanks.
>
>
>> Any thoughts on how to do it?
>>
>
> You can check out this link. Hopefully it provides and ans
> https://askubuntu.com/questions/1391030/ubuntu-run-bash-script-on-startup-with-visible-terminal
>
>
>>
>> I tried searching for solutions at stackoverflow but all solutions I
>> found so far are suggesting to put the content of the script under .profile
>>
>> Thanks & Regards,
>> Amey.
>> _______________________________________________
>> plug-mail mailing list
>> plug-mail at plug.org.in
>> http://list.plug.org.in/listinfo/plug-mail
>>
>
>
> --
> Dexter
> -------------------------------------------
> http://OpenSourceCook.in
> If you can cook, you can code.
> _______________________________________________
> plug-mail mailing list
> plug-mail at plug.org.in
> http://list.plug.org.in/listinfo/plug-mail
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.plug.org.in/pipermail/plug-mail/attachments/20240413/c91bdf11/attachment-0001.htm>
More information about the plug-mail
mailing list