Advanced shell scripting ni bila ko boleh buat satu script yang biasanya orang tak buat guna Shell.
Advanced shell scripting biasanya mesti menggabungkan antara shell dan awk, sed, grep dan lain-lain. kalau ko boleh buat one-liner script yang boleh selesaikan tugas yang diperlukan, kira dah advanced gak la tu. contoh script yang aku pernah buat yang aku rasa advance pada diri aku sendiri: 1. script untuk check berapa channel ada dalam server, lepas tu compare dalam database dalam PC, kalau jumlah tak sama, drop senarai channel dalam PC, pas tu download SQL dump dari server, pas tu insert SQL dump tu masuk dalam database dalam PC. tools digunakan: PHP, MySQL, Apache kat server. elinks, wget, mysqlclient, Bash dalam PC 2. script untuk baca senarai satu key dalam LDAP untuk 500 desktop. key tu ada sekurang-kurangnya dua field, eg. "abc, def", kena check dalam key tu ada "def", kalau tak der kena tambah "def" tu. tools digunakan: adcat.py (internal tool untuk baca data LDAP), bash (menggunakan array), grep, adput.py (internal tool untuk tulis data LDAP) 3. random password generator yang wajib ada uppercase, lowercase, special character dan nombor, dan setiap satu mesti tak boleh berulang. contoh, untuk password lapan aksara, kalau dah guna "a" kecik, lepas tu tak leh guna lagi "a" kecik tu, kalau dah guna nombor "6", lepas tu tak leh guna lagi nombor "6" tu. tools digunakan: Bash dan grep On Sat, Jan 8, 2011 at 12:33 AM, Umarzuki Bin Mochlis Moktar < [email protected]> wrote: > aku tak faham "advance" > macam mana nak dikategorikan sebagai advance? > > On Fri, 2011-01-07 at 09:00 +0800, aziman noor wrote: > > Bash scripting ni satu kemestian kalo kita sebagai Linux > > Administrator. > > > > On Thu, Jan 6, 2011 at 8:27 PM, Umarzuki Bin Mochlis Moktar > > <[email protected]> wrote: > > advance shell scripting tu apa macam? > > > > kalau tak advance pulak? > > > > > > On Thu, 2011-01-06 at 15:21 +0800, Sharuzzaman Ahmat Raslan > > wrote: > > > > > > > > > ---------- Forwarded message ---------- > > > From: Nadrah Hussin <[email protected]> > > > Date: Thu, Jan 6, 2011 at 1:58 PM > > > Subject: Careerxcell/Linux System Admin > > > To: [email protected] > > > > > > > > > Hi Sharuzzaman, > > > > > > > > > > > > Regarding the job position of Linux System Admin that I have > > shared > > > with you, here is the JD. > > > > > > > > > > > > Passionate developer, those who enjoy databases. > > > > > > > > > > > > * Administer and monitor networks of servers used for > > the > > > hosting, data collection and production developed > > products and > > > services. > > > * Work with the Research & Development team to design, > > implement > > > & maintain tools, processes and scripts to aid the > > > performance, management and security of the network > > powering > > > the products and services. > > > * Provide systems administrator & server support > > > * Liaise with hardware vendors and data centre > > partners for > > > troubleshoot network problems and hardware failures. > > > * To be available for periods of being on call after > > normal work > > > hours to troubleshoot network or system problems. > > > > > > > > > > > > Experience in production system administration environment, > > and > > > advanced Linux Shell scripting. > > > > > > > > > > > > Hope to hear positive reply from you. > > > > > > > > > > > > Thank you & have a pleasant day! > > > > > > > > > > > > Warmest regards, > > > > > > Nadrah Hussin > > > > > > Staffing Consultant > > > > > > (IT Division) > > > > > > Careerxcell Sdn Bhd > > > > > > Tel: 03-22821242 / 013-3876689 > > > > > > Fax: 03-22821296 > > > > > > skype:nadrah.hussin > > > > > > > > > ------------------------------------------------------------------- > > > > > > ~Xcellent Service Beyond Xpectations~ > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Sharuzzaman Ahmat Raslan > > > > > > > > > -- > > > To unsubscribe from and detail about this group > > > http://www.mosc.my/osdc-my-mailing-list-information > > > > > > > > > > -- > > Komuniti As-Salam > > http://www.salamsentosa.com > > http://aziman.salamsentosa.com > > > > > > > > -- > > To unsubscribe from and detail about this group > > http://www.mosc.my/osdc-my-mailing-list-information > -- Sharuzzaman Ahmat Raslan -- To unsubscribe from and detail about this group http://www.mosc.my/osdc-my-mailing-list-information

