لكل من يعرفUNIX بليز ساعدوني

ليالي العين 07-09-2005 1 رد 402 مشاهدة
ل
هلا فيكم

والصراحة اريد فزعتكم للي يعرف :cry:

UNIX operating system

الصراحة عندي مسألة ما عرفتلها لأن مب تخصصي computer scinse

ياليت تساعدوني بحل المسألة اللي يعرف ياليت يساعدني او اللي عنده حد يعرف يخبرة عشان يساعدني... المسألة كالتالي:


write a shell script myfilenum to excute the following

a- It takes two arguments filename1 and filename2

b- It copies filename1 to filename2

c- It also numbers the lines in filename2

d- If there is already filename2, the shell should ask the user whether to proceed or not by supplying either y or yes to say to continue, or n or no to say not to prceed and the program abort

g- If filename1 does not exist, an error should be displayed to the user>

An example execution of ur program is the following

myfilenum filename1 and filename2

Hint:
u may use Unix utilities like
"ls"
to display all files

اسمحولي على الكتابة الانجليزية لان المسالة بالانجليزي .. ياليت اللي يعرف يحلها يطرشلي الكوود خاص........ ومشكوورين لكل اللي يتجاوب معاي
ا
هلا اختي ذي برمجيات وانا تخصص هاردوير وسوفت وير وتعريب بس

اما الامور العميقة ذي ..... كان ودي اساعدك بس مالي خبرة للأسف

تحياتي

اخوك البندر
X