BASH/C2/Array-Operations-in-BASH/Khasi
From Script | Spoken-Tutorial
Time | Narration |
00:01 | Khublei, ngi pdiangsngewbha ia phi sha ka spoken tutorial halor ka Array operations ha BASH. |
00:05 | Ha kane ka jinghikai, ngin pule shaphang kumno ban: Declare ia ka array bad ai ia ki values ha ka. |
00:12 | Initialize ia ka array ha kapor declaration. |
00:15 | Ban wad ia ka jingjrong jong ka array bad ki nth element jong ka. |
00:20 | Ban print ia ka array. |
00:22 | Ban bud ia kane ka jinghikai, phi dei ban tip bad nang ia ka Linux Operating System. |
00:27 | Na ka bynta ki jinghikai ba iadei bad kane, sngewbha leit sha ka: spoken hyphen tutorial dot org. |
00:33 | Na ka bynta kane ka jinghikai, nga pyndonkam: |
00:37 | Ubuntu Linux 12.04 OS |
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 sdang da ka jingbatai shaphang ka array bad ki jinglong jong ka. |
00:55 | Ka array kadei ka variable ba don shibun ki values. |
01:01 | Ki values ki lah ban dei kijuh ki jait lane kiba iapher |
01:04 | Kam don ka jingteh halor ka size jong ka array. |
01:08 | Ki Array members kim donkam ban long uwei hadien uwei |
01:12 | U Array index man ka por u sdang da u zero. |
01:16 | Mynta ngin ia peit kumno ban declare bad ai ia u value sha ka array. |
01:21 | Ka syntax ban declare ia ka array kadei |
01:24 | declare hyphen 'a' arrayname |
01:28 | Ka keyword “declare” la ju pyndonkam ban declare ia ka array. |
01:31 | Kadei ka command ba la don lypa ha Bash. |
01:35 | Ka syntax ban ai ia u value sha ka array kadei |
01:38 | Name hapoh square brackets index equals to hapoh single quotes value. |
01:46 | Mynta, to ngin peit kumno ban initialize ia ka array ha kapor ba leh declaration |
01:51 | Array lah ban declare bad initialize ha ka juh ka por |
01:56 | Ki Elements dei ban pynjngai da u space . |
02:00 | Man uwei pa uwei u element udei ban don hapoh parentheses. |
02:03 | Ka syntax kadei declare hyphen 'a' arrayname equal to hapoh round brackets hapoh single quotes 'element1' , 'element2' bad element3 . |
02:19 | To ngin pyrshang kawei ka nuksa |
02:21 | Plie ia ka terminal window da kaba nion Ctrl+Alt+T keys ha kajuh ka por na ka keyboard jong phi. |
02:28 | Mynta type: gedit space array.sh space ampersand (&) |
02:36 | Ngi pyndonkam ia u ampersand ban pyllait ia u prompt. Nion Enter. |
02:41 | Type ia u code kumba la pyni hangne, ha ka "array.sh" file jong phi. |
02:47 | Kane ka lain ka declare ia ka array ba kyrteng Linux ryngkat bad ki elements "Debian", "Redhat", "Ubuntu" bad "Fedora". |
02:57 | Hangne u hyphen a udei u flag. |
03:00 | U ailad ia ngi ban pule bad ai ia ki values sha ka array. |
03:05 | To ngin phai biang sha ki slides jong ngi. |
03:07 | Ka jingjrong jong ka array lah ban ioh da kane ka syntax: |
03:12 | Dollar sign ($) opening curly bracket hash arrayname hapoh square brackets "At" sign (@) bad closing curly bracket. |
03:22 | Ka jingjrong jong ka nth element lah ban ioh na kane ka syntax: |
03:28 | Dollar sign opening curly bracket hash arrayname hapoh square brackets 'n' bad closing curly bracket. |
03:37 | Hangne 'n' udei u element number uba ka jingjrong jong u hap ban wad. |
03:42 | Baroh ki elements jong ka array lah ban print da kaba pyndonkam ia kane ka syntax. |
03:48 | Dollar sign opening curly bracket arrayname hapoh square brackets 'At' sign (@) bad closing curly bracket. |
03:57 | Mynta phai biang sha ka text editor jong ngi. |
04:00 | Kane ka lain kan pyni ia baroh ki numbar jong ki elements ha ka array Linux. |
04:06 | hyphen 'e' u enable ia ka jinglong jong u backslash escapes. |
04:11 | Ngi lah pynrung ia kane namar ba ngi don ia u backslash 'n' ha kaba kut jong u lain |
04:18 | Ka lain kaba bud ka pyni ia baroh ki elements jong ka array Linux. |
04:23 | Kane ka lain ka pyni ia u 3rd element jong ka array Linux. |
04:28 | Sngewbha kynmaw ba ka array ka sdang beit da u index zero. |
04:34 | Kaba khatduh eh, kane ka lain ka pyni ia ka numbar jong ki dak kiba don ha ka 3rd element. |
04:40 | Mynta , phai biang sha ka Terminal. |
04:42 | Nyngkong eh, to ngin pynlong ia ka file executable da kaba type chmod space plus x space array.sh. Nion Enter. |
04:56 | Type: dot slash array .sh. NionEnter. |
05:01 | Ka output la pyni. |
05:04 | U numbar jong ki elements lane ka jingjrong jong ka array 'Linux' kadei saw. |
05:10 | Ki elements jong ka array Linux kidei Debian, Redhat, Ubuntu and Fedora. |
05:18 | U element balai jong kaarray Linux u dei Ubuntu. |
05:22 | Bad u numbar jong ki dak ha ka element balai udei hynriew, kumba la khmihlynti. |
05:29 | Bad da kane ngi la poi sha kaba kut jong kane ka jinghikai. |
05:32 | To ngin batai kyllum. Phai biang sha ki slides jong ngi. |
05:35 | Ha kane ka jinghikai, ngi la pule ban |
05:40 | Declare bad assign ia ki values sha ka array |
05:43 | Ban initialize ia ka array ha kapor declaration |
05:46 | Ban wad ia ka jingjrong jong ka array bad u nth element jong u bad |
05:51 | Ban print ia baroh kawei ka array. |
05:53 | Kum ka kam na ka bynta jong phi- |
05:55 | Declare ia ka array names bad ka jingheh kadei 7 bad wad: |
06:00 | Ia ka numbar jong baroh ki elements |
06:02 | Print ia baroh ki elements |
06:04 | Bad print ia u 5th element. |
06:06 | Peit ia ka video ba don ha ka link ba la ai harum |
06:10 | Ka batai kyllum ia ka Spoken-Tutorial project. |
06:13 | Lada phim don ia ka bandwidth kaba biang , phi lah ban shu download bad peit ia ka . |
06:18 | Ka kynhun jong ka Spoken-Tutorial Project: |
06:20 | Ka pynlong ia ki workshops da kaba pyndonkam da ki spoken tutorials |
06:24 | Ka ai sertiphikate sha kito kiba pass ha ka online test. |
06:27 | Na ka bynta ki jingtip ba bniah, sngewbha thoh sha ka contact@spoken-tutorial.org |
06:35 | Spoken Tutorial Projek kadei shibynta jong ka "Talk to a Teacher" projek. |
06:40 | La kyrshan ia ka da ka National Mission on Education lyngba ka ICT, MHRD, Sorkar India. |
06:47 | Kham bun ki jingtip halor kane ka mission kidon ha ka link ba la ai harum http://spoken-tutorial.org/NMEICT-Intro |
06:52 | Kane ka script la noh synniang da ka FOSSEE bad ka kynhun jong ka Spoken-Tutorial . |
06:58 | Bad nga I Meboreen na Shillong , nga pynkut ia kane. |
07:02 | Khublei shibun ia ka jingsnohkti lang jong phi. |