හැම Beginner කෙනෙක්ම දැන ගත යුතු Main Linux Commands
Cloud, Cybersecurity සහ Internet පිටුපස Operating System එකට ඔබේ පළමු පියවර
Linux Commands වැදගත් වන්නේ ඇයි?
Linux එක මුලදී බයජනක දෙයක් වගේ දැනෙන්න පුළුවන්. black screen එකක් . Blink වෙන cursor එකක්. ls, grep, සහ chmod වගේ අමුතු වචන.
ඒත් ඇත්ත මේකයි : Linux commands කියන්නේ magic එකක් නෙවෙයි, ඒවා systems control කරන්න යොදාගන්න shortcuts.
ඔබ student කෙනෙක් වුණත්, beginner කෙනෙක් වුණත්, හෝ technology ගැන කුතුහලයෙන් ඉන්න කෙනෙක් වුණත්, core Linux commands කීපයක් master කිරීමෙන් cloud computing, cybersecurity, DevOps, data science, සහ software engineering වගේ careers වලට දොරටු විවෘත වෙනවා.
ඔබට commands සියගණනක් මතක තියාගන්න ඕන නෑ. ඔබට අවශ්ය වන්නේ කුඩා, ශක්තිමත් set එකක් සහ ඒවා ඇත්තටම කරන්නේ මොනාද කියලා තේරුම් ගැනීම විතරයි .
Linux Commands වැඩ කරන ආකාරය (සරල වචනවලින්)
Linux වල භාවිතා කරන්නේ command-line interface (CLI) එකක්, එහිදී ඔබ text commands භාවිතා කරමින් operating system එක සමඟ direct අවබෝධයෙන් කතා කරන්න පුළුවන් .
එය සරලව උපදෙස් දීම වගේ හිතන්න:
- "Files පෙන්නන්න"
- "මේක මෙතනට move කරන්න"
- "මේ වචනය හොයන්න"
- "මේ program එක run කරන්න"
සෑම command එකක්ම සරල pattern එකක් follow කරනවා:
[(command) (option) (target)]
උදාහරණය:
ls -l /home
මේකේ අදහස: files list කරන්න (ls), long format එකේ (-l), /home ඇතුලත.
ඔබ දැනගත යුතු ප්රධාන Linux Commands
1. System එක Navigate කිරීම
මේ commands ඔබට system එකේ එහා මෙහා යන්න උදව් කරනවා.
Real-life usage :
System administrators ලා graphical interface එකක් නැතිව servers navigate කරන්න මේවා දිනපතා use කරනවා.
2. Files සහ Folders එක්ක වැඩ කිරීම
Productivity ආරම්භ වෙන්නේ මෙතැනින්.
mkdir→ Folder එකක් සාදන්නtouch→ File එකක් සාදන්නcp→ Files copy කරන්නmv→ Files move කරන්න හෝ rename කරන්නrm→ Files delete කරන්න
Small Story :
Remote server එකක project files organize කරන developer කෙනෙක්ට හැමදේම seconds කීපයකින් restructure කරන්න පුළුවන් mouse එකක් අවශ්ය නැතුවම වුනත්
3. File අන්තර්ගතය බැලීම
Edit කරන්න හෝ debug කරන්න කලින්, ඔබට data බලන්න ඕනනම් .
cat→ මුළු file එකම පෙන්වනවාless→ විශාල files scroll කරනවාhead / tail→ ආරම්භය හෝ අවසානය බලන්න
මේක වැදගත් වන්නේ ඇයි:
උදාහරණයක් විදිහට Cybersecurity වලදී, log files ඉක්මනින් check කිරීමෙන් සැක සහිත ක්රියාකාරකම් හෙළි කරන්න පුළුවන්.
4. Pro කෙනෙක් වගේ සෙවීම
grep→ Files ඇතුලත text search කරනවාfind→ නමින් හෝ type එකෙන් files locate කරනවා
උදාහරණය:
grep "error" logfile.txt
මේකෙන් ගැටලු ක්ෂණිකව සොයාගන්න පුළුවන්.
5. Permissions සහ Security මූලධර්ම
Linux security එක බරපතල ලෙස ගන්නවා.
chmod→ Permissions වෙනස් කරන්නchown→ Ownership වෙනස් කරන්නsudo→ Admin විදියට commands run කරන්න
Real-world වැදගත්කම:
බොහෝ server breaches වෙන්නේ දුර්වල permissions නිසා මිසක් hacking skills නිසා නෙවෙයි.
6. Process සහ System Monitoring
මොනවද run වෙන්නේ කියලා දැනගන්න.
ps→ Running processes බලන්නtop / htop→ සජීවී system monitorkill→ Process එකක් නවත්වන්න
Case උදාහරණය:
Server එකක් slow වුනොත්, engineers මේ commands use කරලා ගැටලුව හඳුනාගෙන ක්ෂණිකව නවත්වනවා.
7. Networking සහ Connectivity
Linux networks සඳහා ගොඩනගා තියෙනවා.
ping→ Connectivity test කරන්නip a→ Network interfaces බලන්නssh→ Remote systems වලට connect වෙන්න
මේ Commands එතරම් වැදගත් වන්නේ ඇයි?
Linux බලගන්වනවා:
Cloud platforms (AWS, Azure, Google Cloud)
Cybersecurity tools
AI සහ data infrastructure
Docker සහ Kubernetes වගේ Containers
Linux commands දැනගැනීම තවදුරටත් optional එකක් නෙවෙයි, එය career multiplier එකක්.
Employers ,ලා සාමාන්යෙන් අහන්නේ නෑ, "ඔබ Linux දන්නවද?" කියලා ,
ඔවුන් අහනවා, "ඔබට Linux වල සුවපහසුව වැඩ කරන්න පුළුවන්ද?"
ඔබ දැනගෙන සිටියාද?
- ලෝකයේ servers වලින් 90%කට වැඩි ප්රමාණයක් Linux run කරනවා
- Android phones Linux kernel එක භාවිතා කරනවා
- බොහෝ hackers සහ defenders එකම Linux commands use කරනවා
More Reosurces
- Linux Journey (beginner-friendly)
- TryHackMe – Linux Fundamentals
- FreeCodeCamp Linux videos
- Built-in man pages
Small commands , more Power
Linux commands සරල වගේ පේනවා වුනාට , ඒ commands නවීන ලෝකය run කරන systems control කරනවා.
Comments
Post a Comment