3.3 Turning Commands into a Script: Printing Output and Making a Script Executable

Introduction             Commands တွေကို Shell ထဲမှာ Execute လုပ်တာတွေ လေ့လာပြီးတဲ့နောက်မှာ ဖိုင်တဖိုင်ထဲကို ထည့်ပြီး Run (or) Execute လုပ်ခွင့်ပေးနိုင်တာတွေ ဆက်ကြည့်ပါမယ်။ ဖိုင်ကို Execute လုပ်လိုက်တဲ့အခါ ဖိုင်ထဲမှ […]

Read More

3.2 Searching and Extracting Data from Files (2): Regular Expressions

Regular Expressions Regular Expressions တွေဟာ ဖိုင်တွေထဲက စာသားတွေကို ရှာဖွေဖို့ ဖော်ထုတ်ဖို့ရာ အားကောင်းလှတဲ့ ဒုတိယ Tool တစ်ခုပါ။ Patterns တွေတည်ဆောက်ပြီး ဖိုင်တွေထဲမှ စာသားတွေ အချက်အလက်တွေထုတ်ယူရာမှာ အလွန်ပဲ အသုံးဝင်ပါတယ်။ […]

Read More

3.2 Searching and Extracting Data from Files (2): Searching within Files with grep

Introduction             ယခုအခန်းမှာတော့ စာသား Text တွေကို ကိုင်တွယ်စီမံရာမှာ အသုံးပြုလေ့ရှိတဲ့ Tools တွေအကြောင်း ပြောပါမယ်။ အဲ့ဒီ Tools တွေကို System Administrators (သို့) Programs တွေမှ ထပ်ခါထပ်ခါ […]

Read More

3.2 Searching and Extracting Data from Files (1): Combinations & Command Line Pipes

Combinations             Redirection Operators တွေ ပထမဆုံးပေါင်းစည်းမှုအဖြစ် Standard Output နှင့် Standard Error Output တို့ကို ဖိုင်တဖိုင်ထဲသို့ အတူရေးကြည့်ပါမယ်။ “&>” နှင့် “&>>” Operators တွေကို […]

Read More

3.2 Searching and Extracting Data from Files (1): Redirecting Standard Input & Here Documents

Redirecting Standard Input             Keyboard မှ Input ပေးမယ့်အစား၊ Command တွေ ရိုက်မယ့်အစား၊ သက်ဆိုင်ရာဖိုင်တစ်ဖိုင်မှ Input ရယူဖို့ရာ အသုံးပြုတဲ့ Redirection ပုံစံတစ်မျိုးပါ။ “<” Operator ကို […]

Read More

3.2 Searching and Extracting Data from Files (1): Redirecting Standard Error

Redirecting Standard Error Error Messages တွေကိုပဲ လွှဲယူဖို့အတွက် 2> Operator ရဲ့နောက်မှာ Errors တွေရေးမယ့် သိမ်းထားမယ့်ဖိုင်ကို ထည့်ပေးရမှာပါ။ ဖိုင်မရှိလျင် အသစ်ဖန်တီးပေးမှာဖြစ်ပြီး ရှိပြီးသားဆိုပါက Overwrite လုပ်ပြီး ထပ်ရေးပေးသွားမှာပါ။ […]

Read More

3.2 Searching and Extracting Data from Files (1): I/O Redirection

Introduction             ယခု လက်တွေ့ပြုလုပ်မယ့် Lab မှာ သက်ဆိုင်ရာ Tools တွေ အသုံးပြုပြီး တနေရာမှ တနေရာသို့ Information တွေ ပို့တာ လွှဲပြောင်းတာတွေကို အဓိကပြုလုပ်ပါမယ်။ Linux Command Line […]

Read More

3.1 Archiving Files on the Command Line: Managing ZIP Files

Managing ZIP files Linux Systems တွေပေါ်မှာ တွေ့ရလေ့ရှိတဲ့ Compression Tools တော်တော်များများ (သို့) Tarballs ဖိုင်တွေကို ကိုင်တွယ်ဖြေရှင်းပေးမယ့် Applications မျိုးတွေ Windows OS တွေမှာ များများစားစား […]

Read More

3.1 Archiving Files on the Command Line: Introduction

Introduction အချက်အလက်တွေ နေရာယူတဲ့ပမာဏတွေ လျှော့ချဖို့ ချုံ့ဖို့အတွက် Compression နည်းလမ်းကိုသုံးပါတယ်။ Compression ကို ဖိုင်တဖိုင်သိမ်းဖို့လိုအပ်တဲ့ နေရာပမာဏတွေ လျှော့ချဖို့သုံးလေ့ရှိတာပါ။ နောက်တစ်ချက်က Network ပေါ်မှာ ပို့ရတဲ့ Data ပမာဏလျှော့ချဖို့အတွက်လည်း သုံးပါတယ်။ Compression […]

Read More