BASH/C2/More-on-Arrays/Khasi
From Script | Spoken-Tutorial
Time | Narration |
00:02 | Khublei, ngi pdiangsngewbha ia phi sha ka spoken tutorial halor ka More on Arrays ha BASH. |
00:07 | Ha kane ka jinghikai, ngin pule shaphang |
00:10 | Ban sei ia u element na ka array |
00:13 | Ban bujli ia u element ha ka array |
00:16 | Ban pynrung ia u element sha ka array bad |
00:19 | Ban weng ia u element na ka array. |
00:22 | Ban bud ia kane ka jinghikai, phi dei ban tip bad nang ia ka Linux Operating System. |
00:28 | na ka bynta ka jinghikai ba iadei bad kane, sngewbha leit sha ka website kumba la pyni |
00:34 | Na ka bynta kane ka jinghikai, nga pyndonkam: Ubuntu Linux 12.04 OS bad |
00:41 | GNU Bash version 4.1.10 |
00:45 | ka GNU Bash version 4 lane kiba kham shajrong la ai jingmut na ka bynta ka jinghikai |
00:50 | To ngin peit kumno ban sei ia u element na ka array. |
00:55 | Ki elements ha ka array lah ban sei na kano kano ka position. |
01:00 | Hangne , position u dei index number. |
01:04 | Kynmaw, ba u index number u sdang beit na u zero. |
01:09 | Ka syntax ka dei kumne harum: |
01:12 | ArrayName hapoh square bracket "At" sign colon position colon Number of elements ba dei ban sei na ka position ba la kdew. |
01:25 | To ngin sngewthuh ia kane da ka jingiarap kawei ka nuksa. |
01:29 | Plie ia ka terminal da kaba nion Ctrl+Alt bad T keys ha kajuh ka por na ka keyboard jong phi. |
01:37 | Type: gedit space array2.sh space & (ampersand sign). NionEnter. |
01:47 | Mynta type ia u code kumba la pyni hangne , ha ka "array2.sh" file jong phi. |
01:54 | To ngan batai ia ka program |
01:56 | Kane kadei ka Shebang line. |
01:59 | Kane ka "declare" command ka declare ia ka array ba kyrteng Linux ryngkat bad ki elements- |
02:06 | "Debian", "Redhat" |
02:08 | "Ubuntu" bad "Fedora". |
02:11 | Kane ka "echo" command kan print ia ka list jong baroh ki elements ha ka array. |
02:16 | Ka "echo" command kaba bud kan print ia ki elements ba la sei. |
02:21 | Ka command ${Linux[@]:1:2} kan print artylli ki elements ba sdang na index 'one'
Uba dei "Redhat". |
02:34 | Mynta, phai biang sha ka Terminal. |
02:36 | Nyngkong, to ngin pynlong ia ka file executable da kaba type chmod space plus x space array2.sh. NionEnter. |
02:50 | Type: dot slash array2.sh Nion Enter. |
02:56 | Ngi ioh ia ka output- "Original elements in an array Linux: Debian Redhat Ubuntu Fedora". |
03:06 | ' "The two elements starting from index one(Redhat): Redhat Ubuntu". |
03:12 | To ngin phai biang sha ki slides. |
03:15 | Ngin iapeit mynta kumno ban bujli ia u element ha ka array . |
03:19 | U element ba la don lypa ha ka array lah ban bujli da kaba pyndonkam ia kane ka syntax. |
03:25 | ArrayName hapoh square brackets 'n' equals to hapoh single quote NewWord. |
03:34 | Hangne 'n' udei u index number lane element number. |
03:38 | Phai biang sha ka text editor jong ngi. |
03:41 | Linux[2]='Mandriva' . |
03:45 | Kane ka command kan bujli ia u element balai "Ubuntu" da u "Mandriva". |
03:51 | Kane ka echo command kan pyni ia baroh ki elements jong ka array Linux hadien ba la dep bujli. |
03:58 | Phai biang sha ka Terminal jong ngi. |
04:01 | To ngin execute sa shisien |
04:04 | Kane ka pyni - "All elements after replacement : Debian Redhat Mandriva and Fedora" . |
04:12 | Mynta , phai biang sha ki slides. |
04:14 | Ngin ia peit kumno ban pynrung ia u element sha ka array. |
04:18 | ArrayName equal to opening round bracket hapoh double quotes dollar sign opening curly bracket ArrayName opening square bracket "At" sign closing square bracket closing curly bracket space hapoh double quotes New_Word_1 space hapoh double quotes New_Word_2 bad closing round bracket. |
04:45 | To ngin sngewthuh ia kane da ka jingiarap kawei ka nuksa. |
04:50 | Phai sha ka code file. |
04:52 | Ka command ba la pynthaba kan append ia u element ba thymmai "Suse" sha ka array Linux. |
04:59 | Nangta, ngin sa echo ia baroh ki elements hadien ba la dep append "Suse". |
05:05 | Phai biang sha ka terminal. |
05:07 | To ngan clear ia ka prompt. |
05:09 | Ngin execute ia ka program sa shisien |
05:12 | Ka output la pyni: All elements after appending Suse : Debian Redhat Mandriva Fedora and Suse. |
05:22 | Mynta, phai biang sha ki slides jong ngi. |
05:24 | Ngin iapeit kumno ban weng ia u element na ka array. |
05:29 | U element lah ban weng na ka array da kaba pyndonkam ia kane ka syntax harum: |
05:35 | unset space ArrayName opening square bracket index number closing square bracket. |
05:44 | To ngin phai sha ka code file. |
05:46 | Hangne, ngi pyndonkam ka unset command. |
05:50 | Bad ngin weng ia u element balai Mandriva na ka array Linux. |
05:56 | Nangta,ngin echo ia baroh ki elements sa shisien hadien ba la weng ia ka Mandriva. |
06:02 | Mynta phai biang sha ka terminal. |
06:04 | Ngin execute ia ka program. |
06:07 | Kine kidei ki list jong ki elements hadien ba la weng ia ka Mandriva. |
06:12 | Debian Redhat Fedora bad Suse |
06:16 | Bad da kane ngi la poi sha kaba kut jong kane ka jinghikai |
06:19 | Phai biang sha ki slides jong ngi. |
06:21 | To ngin batai kyllum |
06:23 | Ha kane ka jinghikai, ngi la pule ban |
06:25 | Sei ia u element na ka array |
06:28 | Ban bujli ia u element na ka array |
06:30 | Ban pynrung ia u element sha ka array bad |
06:32 | Ban weng ia u element na ka array. |
06:36 | Kum ka kam na ka bynta jong phi- # Declare ka array names2 kaba jorng 7 bad leh ia kine ki kam harum: |
06:44 | Sei ia lai tylli ki elements, sdang na index two. |
06:48 | Bujli ia u element balai da Debian bad pyni. |
06:55 | Append kano kano ka kyrteng thymmai ha kaba kut jong ka array. |
06:58 | Peit ia ka video ba don ha ka link ba la ai harum |
07:01 | Ka batai kyllum ia ka Spoken-Tutorial project. |
07:04 | Lada phim don ia ka bandwidth kaba biang , phi lah ban shu download bad peit ia ka . |
07:09 | Ka kynhun jong ka Spoken-Tutorial Project: |
07:12 | Ka pynlong ia ki workshops da kaba pyndonkam da ki spoken tutorials |
07:15 | Ka ai sertiphikate sha kito kiba pass ha ka online test. |
07:19 | Na ka bynta ki jingtip ba bniah, sngewbha thoh sha ka contact@spoken-tutorial.org |
07:27 | Spoken Tutorial Projek kadei shibynta jong ka "Talk to a Teacher" projek. |
07:31 | La kyrshan ia ka da ka National Mission on Education lyngba ka ICT, MHRD, Sorkar India. |
07:38 | Kham bun ki jingtip halor kane ka mission kidon ha ka link ba la ai harum http://spoken-tutorial.org/NMEICT-Intro |
07:44 | Kane ka script la noh synniang da ka FOSSEE bad ka kynhun jong ka Spoken-Tutorial . |
07:50 | Bad nga I Meboreen na Shillong , nga pynkut ia kane. |
07:55 | Khublei shibun ia ka jingsnohkti lang jong phi. |