View Full Version : script at shell start??????


M I L A N I
بسم الله الرحمن الرحيم

هذي اول مشاركه لي واتمنى تكون فاتحة خير................

عندي استفسار عن موضوع صغير وهو كالتالي/
عندي ملف فيه اوامر اللي هو script file
وابي اخليه يشتغل ويشغل الاوامر اللي داخله اوتوماتيكيا مع تشغيل shell

أتمنى الرد باقرب فرصة وشاكر تعاون الكل وان شا الله القادم افضل...

.
.
.
...انتهى...

mohamed
Can you please describe your problem clearly ??
I can't understand it because of the mix between arabic and english, write it in one language please.

M I L A N I
hi again,
my Q is:
I have a script file, and i want this file to run automatically when i run my shell(sign in)

thx

sattia
man bash

dr_tux
a rapid solution: just source it in ur ~/.bashrc file, like this

source /path/to/script.sh

or even just

/path/to/script.sh