ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What are some practices for writing shell scripts?

user-image
تم إضافة السؤال من قبل dana tutunji , Architect , Helou Trading Co
تاريخ النشر: 2013/06/30
Nada Nada
من قبل Nada Nada

1-Develop and test a program to reenter fields during data entry2-Create a program algorithm to solve a cursor repositioning problem3-Create shell functions and use them in a program4-Develop and test a program to eliminate duplicate records5-Load shell functions automatically when you log in6-.
Automating your daily tasks.
For example, to back up all the programs at the end of the day.
7- Executing important system procedures, like shutting down the system,  formatting a disk, creating a file system etc.

Ravi K
من قبل Ravi K , RAKBANK

you can try starting off with writing a loop to cat /etc/passwd and then extracting the user id using awk.
after that you can use the userid to list specific properties using for.

المزيد من الأسئلة المماثلة