ဝဘ်ဖွံ့ဖြိုးတိုးတက်မှု

လမ်းပြမြေပုံဆိုတာဘာလဲ HTTP ဆိုတာဘာလဲ HTML ဆိုတာဘာလဲ CSS ဆိုတာဘာလဲ Responsive ဆိုတာဘာလဲ JavaScript ဆိုတာဘာလဲ ES5 ဆိုတာဘာလဲ HTML DOM ဆိုတာဘာလဲ Google Maps ဆိုတာဘာလဲ Google Fonts ဆိုတာဘာလဲ Google Charts ဆိုတာဘာလဲ XML ဆိုတာဘာလဲ AJAX ဆိုတာဘာလဲ JSON ဆိုတာဘာလဲ CSS Icons ဆိုတာဘာလဲ Bootstrap ဆိုတာဘာလဲ W3.CSS ဆိုတာဘာလဲ CLI ဆိုတာဘာလဲ npm ဆိုတာဘာလဲ GitHub ဆိုတာဘာလဲ jQuery ဆိုတာဘာလဲ AngularJS ဆိုတာဘာလဲ React ဆိုတာဘာလဲ Vue.js ဆိုတာဘာလဲ W3.JS ဆိုတာဘာလဲ Front-End Dev ဆိုတာဘာလဲ။ Fullstack ဆိုတာဘာလဲ Fullstack JS ဆိုတာဘာလဲ SQL ဆိုတာဘာလဲ

Amazon AWS

AWS EC2 ဆိုတာဘာလဲ AWS RDS ဆိုတာဘာလဲ AWS Cloudfront ဆိုတာဘာလဲ AWS SNS ဆိုတာဘာလဲ Elastic Beanstalk ဆိုတာဘာလဲ AWS Auto Scaling ဆိုတာဘာလဲ AWS IAM ဆိုတာဘာလဲ AWS Aurora ဆိုတာဘာလဲ AWS DynamoDB ဆိုတာဘာလဲ AWS Personalize ဆိုတာဘာလဲ AWS Rekognition ဆိုတာဘာလဲ AWS Quicksight ဆိုတာဘာလဲ AWS Polly ဆိုတာဘာလဲ AWS Pinpoint ဆိုတာဘာလဲ

Command Line Interface (CLI) ဆိုတာဘာလဲ။


C:\>npm install mysoftware

CLI သည်-

  • Command Line Interface
  • Command Line စကားပြန်
  • Command Line ထည့်သွင်းခြင်း။

Command Line ထည့်သွင်းခြင်း။

CLI သည် လည်ပတ်မှုစနစ်လုပ်ဆောင်ချက်များကို လုပ်ဆောင်ရန် စာသားထည့်သွင်းမှုကို လက်ခံသည့် command line ပရိုဂရမ်တစ်ခုဖြစ်သည်။

1960 ခုနှစ်များတွင် ကွန်ပြူတာ terminals များကိုသာ အသုံးပြုခဲ့ပြီး ၎င်းသည် ကွန်ပျူတာများနှင့် အပြန်အလှန် ဆက်သွယ်ရန် တစ်ခုတည်းသော နည်းလမ်းဖြစ်သည်။

1970 နှင့် 1980 ခုနှစ်များတွင် Unix စနစ်များနှင့် MS-DOS နှင့် Apple DOS ကဲ့သို့သော PC စနစ်များမှ command line input ကို အများအားဖြင့် အသုံးပြုခဲ့သည်။

ယနေ့ခေတ်တွင်၊ ဂရပ်ဖစ်အသုံးပြုသူ အင်တာဖေ့စ်များ (GUI) ဖြင့် သုံးစွဲသူအများစုသည် ကွန်မန်းလိုင်းအင်တာဖေ့စ် (CLI) ကို ဘယ်တော့မှ အသုံးမပြုကြပါ။

သို့သော်၊ CLI ကို ဆော့ဖ်ဝဲလ်တီထွင်သူများနှင့် စနစ်စီမံခန့်ခွဲသူများသည် ကွန်ပျူတာများကို စီစဉ်သတ်မှတ်ရန်၊ ဆော့ဖ်ဝဲကို ထည့်သွင်းရန်နှင့် ဂရပ်ဖစ်အင်တာဖေ့စ်တွင် မရရှိနိုင်သည့်အင်္ဂါရပ်များကို ဝင်ရောက်အသုံးပြုရန် အသုံးပြုဆဲဖြစ်သည်။


ဥပမာများ

ဆော့ဖ်ဝဲ ပက်ကေ့ဂျ်မန်နေဂျာ npm သည် ဆော့ဖ်ဝဲလ်ထည့်သွင်းရန်အတွက် အမိန့်ပေးစာလိုင်းထည့်သွင်းမှုကို အသုံးပြုသည်-

Windows ဥပမာ

C:\>npm install mysoftware

Mac OS နမူနာ

>npm install mysoftware

သင့်ဖိုင်တွဲများ (လမ်းကြောင်းများ) ကို command line command များဖြင့် လမ်းညွှန်နိုင်သည်-

Windows ဥပမာ

C:\Users\myuser>cd ..
C:\Users\>cd ..
C:\>

CLI အမိန့်များကို အထူးဂရုပြုပါ။

မှားယွင်းစွာအသုံးပြုခြင်းသည် ဖိုင်များကို အလွယ်တကူ ဖျက်နိုင်သည် သို့မဟုတ် သင့်ကွန်ပြူတာစနစ်ကို လုံးဝဖျက်ဆီးပစ်နိုင်သည်။


အခြေခံ Linux CLI အမိန့်များ

အမိန့်ပေးသည်။ဖော်ပြချက်
lsလမ်းညွှန် (ဖိုင်တွဲ) စနစ်အား စာရင်းပြုစုပါ။
cd လမ်းကြောင်းအမည်ဖိုင်စနစ်ရှိ လမ်းညွှန် (ဖိုင်တွဲ) ကို ပြောင်းပါ။
cd.။ဖိုင်စနစ်ရှိ အဆင့်တစ်ခု (ဖိုင်တွဲတစ်ခု) ကို ရွှေ့ပါ။
cpဖိုင်ကို အခြားဖိုင်တွဲသို့ ကူးယူပါ။
mvဖိုင်ကို အခြားဖိုင်တွဲသို့ ရွှေ့ပါ။
mkdirလမ်းညွှန်အသစ် (ဖိုင်တွဲ) ဖန်တီးပါ။
rmdirလမ်းညွှန် (ဖိုင်တွဲ) ကို ဖယ်ရှားပါ။
ရှင်းလင်းသောCLI window ကိုရှင်းလင်းပါ။
ထွက်ပေါက်CLI ဝင်းဒိုးကို ပိတ်ပါ။
လူ အမိန့်ပေးထားသည့် အမိန့်အတွက် လက်စွဲကို ပြသည်။

အခြေခံ Windows CLI အမိန့်များ

အမိန့်ပေးသည်။ဖော်ပြချက်
သင့်ဆီလမ်းညွှန် (ဖိုင်တွဲ) စနစ်အား စာရင်းပြုစုပါ။
cd လမ်းကြောင်းအမည်ဖိုင်စနစ်ရှိ လမ်းညွှန် (ဖိုင်တွဲ) ကို ပြောင်းပါ။
cd \ဖိုင်စနစ်၏ အမြစ်ဖိုင်တွဲသို့ ရွှေ့ပါ။
cd.။ဖိုင်စနစ်ရှိ အဆင့်တစ်ခု (ဖိုင်တွဲတစ်ခု) ကို ရွှေ့ပါ။
ကော်ပီဖိုင်ကို အခြားဖိုင်တွဲသို့ ကူးယူပါ။
ရွှေ့ဖိုင်ကို အခြားဖိုင်တွဲသို့ ရွှေ့ပါ။
ဖိုင်အမည်ကို ရိုက်ထည့်ပါ။ဖိုင်တစ်ခုရိုက်ပါ။
mkdir သို့မဟုတ် mdလမ်းညွှန်အသစ် (ဖိုင်တွဲ) ဖန်တီးပါ။
rmdir သို့မဟုတ် rdလမ်းညွှန် (ဖိုင်တွဲ) ကို ဖယ်ရှားပါ။
clsCLI window ကိုရှင်းလင်းပါ။
ထွက်ပေါက်CLI ဝင်းဒိုးကို ပိတ်ပါ။
အကူအညီ အမိန့်ပေးထားသည့် အမိန့်အတွက် လက်စွဲကို ပြသည်။

DOS Commands အကူအညီ

help command ဖြင့် ရရှိနိုင်သော command အားလုံးကို သင်ပြသနိုင်သည်-

ဥပမာ

C:\Users\myuser>help
ASSOC Displays or modifies file extension associations.
ATTRIB Displays or changes file attributes.
BREAK Sets or clears extended CTRL+C checking.
BCDEDIT Sets properties in boot database to control boot loading.
CACLS Displays or modifies access control lists (ACLs) of files.
CALL Calls one batch program from another.
CD Displays the name of or changes the current directory.
CHCP Displays or sets the active code page number.
CHDIR Displays the name of or changes the current directory.
CHKDSK Checks a disk and displays a status report.
CHKNTFS Displays or modifies the checking of disk at boot time.
CLS Clears the screen.
CMD Starts a new instance of the Windows command interpreter.
COLOR Sets the default console foreground and background colors.
COMP Compares the contents of two files or sets of files.
COMPACT Displays or alters the compression of files on NTFS partitions.
CONVERT Converts FAT volumes to NTFS. You cannot convert the current drive.
COPY Copies one or more files to another location.
DATE Displays or sets the date.
DEL Deletes one or more files.
DIR Displays a list of files and subdirectories in a directory.
DISKPARTDisplays or configures Disk Partition properties.
DOSKEY Edits command lines, recalls Windows commands, and creates macros.
DRIVERQUERY Displays current device driver status and properties.
ECHO Displays messages, or turns command echoing on or off.
ENDLOCALEnds localization of environment changes in a batch file.
ERASE Deletes one or more files.
EXIT Quits the CMD.EXE program (command interpreter).
FC Compares two files or sets of files, and displays the differences between them.
FIND Searches for a text string in a file or files.
FINDSTR Searches for strings in files.
FOR Runs a specified command for each file in a set of files.
FORMAT Formats a disk for use with Windows.
FSUTIL Displays or configures the file system properties.
FTYPE Displays or modifies file types used in file extension associations.
GOTO Directs the Windows command interpreter to a labeled line in a batch program.
GPRESULTDisplays Group Policy information for machine or user.
GRAFTABLEnables Windows to display an extended character set in graphics mode.
HELP Provides Help information for Windows commands.
ICACLS Display, modify, backup, or restore ACLs for files and directories.
IF Performs conditional processing in batch programs.
LABEL Creates, changes, or deletes the volume label of a disk.
MD Creates a directory.
MKDIR Creates a directory.
MKLINK Creates Symbolic Links and Hard Links.
MODE Configures a system device.
MORE Displays output one screen at a time.
MOVE Moves one or more files from one directory to another directory.
OPENFILES Displays files opened by remote users for a file share.
PATH Displays or sets a search path for executable files.
PAUSE Suspends processing of a batch file and displays a message.
POPD Restores the previous value of the current directory saved by PUSHD.
PRINT Prints a text file.
PROMPT Changes the Windows command prompt.
PUSHD Saves the current directory then changes it.
RD Removes a directory.
RECOVER Recovers readable information from a bad or defective disk.
REM Records comments (remarks) in batch files or CONFIG.SYS.
REN Renames a file or files.
RENAME Renames a file or files.
REPLACE Replaces files.
RMDIR Removes a directory.
ROBOCOPYAdvanced utility to copy files and directory trees.
SET Displays, sets, or removes Windows environment variables.
SETLOCALBegins localization of environment changes in a batch file.
SC Displays or configures services (background processes).
SCHTASKSSchedules commands and programs to run on a computer.
SHIFT Shifts the position of replaceable parameters in batch files.
SHUTDOWNAllows proper local or remote shutdown of machine.
SORT Sorts input.
START Starts a separate window to run a specified program or command.
SUBST Associates a path with a drive letter.
SYSTEMINFO Displays machine specific properties and configuration.
TASKLISTDisplays all currently running tasks including services.
TASKKILLKill or stop a running process or application.
TIME Displays or sets the system time.
TITLE Sets the window title for a CMD.EXE session.
TREE Graphically displays the directory structure of a drive or path.
TYPE Displays the contents of a text file.
VER Displays the Windows version.
VERIFY Tells Windows whether to verify that your files are written correctly to a disk.
VOL Displays a disk volume label and serial number.
XCOPY Copies files and directory trees.
WMIC Displays WMI information inside interactive command shell.

Command Help

သီးခြား command တစ်ခုအတွက် နောက်ထပ်အချက်အလက်များအတွက် help + command-name ကို ရိုက်ထည့်ပါ။

ဥပမာ

C:\Users\myuser>help date
Displays or sets the date.

DATE [/T | date]

Type DATE without parameters to display the current date setting and
a prompt for a new one. Press ENTER to keep the same date.

If Command Extensions are enabled the DATE command supports
the /T switch which tells the command to just output the
current date, without prompting for a new date.