Tonmoy Evan
Introduction to Linux 2021
Introduction to Linux 2021

Introduction to Linux 2021

Introduction to Linux 2021 – Introduction to Linux

Linux এর কথা শুনলেই command লিখে কাজ করার দৃশ্য চোখে ভাসে। এই command গুলো আসলে একেকটি file এর নাম। সেই file গুলো থাকে /usr/bin এবং /usr/sbin নামক ডিরেক্টরি বা ফোল্ডারের মধ্যে। তবে, পার্থক্য আছে। যেকেউ /usr/bin এর কমান্ড লিখে কাজ করতে পারলেও /usr/sbin এর কমান্ডগুলো ব্যাবহার করার জন্য root ইউজারের দেওয়া পাসওয়ার্ড লিখতে হয়। Introduction to Linux 2021

( As soon as you hear about Linux, the scene of typing commands comes to mind. These commands are actually the names of individual files. Those files are in a directory or folder called / usr / bin and / usr / sbin. However, there are differences. Anyone can work by typing the command of / usr / bin, but to use the commands of / usr / sbin, one has to enter the password given by the root user. ) Introduction to Linux 2021

কিন্তু, root ইউজার কি?মোবাইল root করার কথা শুনেছেন নিশ্চয়ই? Linux কম্পিউটারেও root বলে একটা বিষয় আছে। তবে, মোবাইল root করা আর, লিনাক্সের root আলাদা জিনিস। লিনাক্সের ৩ স্থানে root নামক বিষয়টি আছে- Introduction to Linux 2021

  • root user: আপনি Windows কম্পিউটার ব্যাবহার করলে নিশ্চয়ই জানেন যে, কম্পিউটার চালু করলে username এবং password দিয়ে একটি user হিসেবে login করতে হয়। লিনাক্সেও এরকম user আছে। একটি ইউজারের নাম হচ্ছে root। এই root নামক user হচ্ছে সবথেকে ক্ষমতাশীল।
  • root directory: Windows কম্পিউটারে যাকে folder বলে, Linux কম্পিউটারে তাকে directory বলা হয়। আর, Linux কম্পিউটারে root ইউজারের জন্য root নামের একটি directory আছে।
  • root path: Windows কম্পিউটারে C: ড্রাইভের মতো কিছু ড্রাইভ থাকে, যার মধ্যে অন্যান্য folder থাকে। কিন্তু, Linux কম্পিউটারে যতো file আছে সেগুলো / থেকে শুরু হয়। আর, এটাকে root বলা হয়। Introduction to Linux 2021

(

But, what is a root user?
Surely you have heard of mobile rooting? Linux computers also have a root. However, rooting mobile is different from rooting Linux. There are 3 places in Linux called root- Introduction to Linux 2021


  • root user: If you use Windows computer, you must know that when you start the computer, you have to login as a user with username and password. Linux also has such users. The name of a user is root. This user named root is the most powerful.

  • root directory: a folder on a Windows computer, a directory on a Linux computer. Also, Linux computers have a directory called root for root users. Introduction to Linux 2021
  • root path: Windows computers have some drives like C: drives, which contain other folders. However, the number of files on a Linux computer starts from /. And, it’s called root.)

এখন Linux কম্পিউটারে ওয়েব ব্রাউজিং নিয়ে আলোচনা করা যাক। আপনি যেকোন কম্পিউটার থেকে ওয়েবসাইটের নাম লিখে সার্চ করলে, প্রথমে DNS সার্ভার থেকে সেই ওয়েবসাইটের আইপি এড্রেস খুঁজে বের করতে হয়। আর, Linux কম্পিউটারে ওয়েবসাইটের নাম লিখে সার্চ দিলে প্রথমে nsswitch.conf নামক file এর মধ্যে দেখা হয়- কিভাবে আইপি এড্রেস খুঁজতে হবে। এই file এর মধ্যে hosts -এর পাশে যদি প্রথমে files এবং তারপরে dns লেখা থাকে তাহলে, শুরুতে hosts ফাইলে আইপি এড্রেস খোঁজা হয়। সেখানে না থাকলে resolv.conf নামক file এর মধ্যে থাকা DNS সার্ভারের আইপি এড্রেস অনুযায়ী সেই সার্ভারের মাধ্যমে ওয়েবসাইটের আইপি এড্রেস খোঁজা হয়। Introduction to Linux 2021

( Now let’s talk about web browsing on Linux computers. If you search by typing the name of the website from any computer, first you have to find the IP address of that website from the DNS server. And, if you search by typing the name of the website on the Linux computer, first you see in the file called nsswitch.conf – how to find the IP address. If files and then dns are written next to hosts in this file, then IP address is searched in the hosts file at the beginning. If not there, the IP address of the website is searched through that server according to the IP address of the DNS server in the file called resolv.conf. )

Introduction to Linux 2021

Linux কম্পিউটারে মাঝে মাঝে কিছু ত্রুটি পাওয়া যায়। যেমনঃ কিছুদিন আগে sudo bug নামের ত্রুটি পাওয়া গিয়েছিলো, যার ফলে একজন সাধারণ ইউজার sudoers নামক file বিশেষভাবে edit করে নিচের কমান্ড দিয়ে root ইউজার হিসেবে কমান্ড দিতে পারতো- Introduction to Linux 2021

sudo -u#-1 /bin/bash

( Linux computers have occasional errors. For example, a few days ago, an error was found in the name sudo bug, as a result of which a normal user could edit a file called sudoers specially and give the command as the root user with the following command-

sudo -u#-1 /bin/bash

)

Linux কম্পিউটারে rsyslog.conf ফাইল এর নির্দেশণা অনুযায়ী প্রতিনিয়ত /var/log ডিরেক্টরি বা, ফোল্ডারে log ফাইল লেখা হচ্ছে- সেই বিষয়ে গতকালই বিস্তারিত বলেছি। তবে, Windows কম্পিউটারের মতো লিনাক্সেও task manager আছে। এছাড়া top কমান্ড দিয়েও প্রসেস দেখা সম্ভব। Windows কম্পিউটারে যাকে সফটওয়্যার বলা হয়, Linux কম্পিউটারে তাকে package বলা হয়। বর্তমানে অনেকেই Linux এর প্রতি আগ্রহী। বাংলাদেশেও লিনাক্সের জনপ্রিয়তা বৃদ্ধি পাচ্ছে। Linux এতোটাই প্রচলিত হয়ে গিয়েছে যে, বাংলায় লিনাক্স লেখা দেখলে সহজেই চেনা যায় কিন্তু, Windows কে বাংলায় উইন্ডোজ লিখলেও হয়তো প্রথম দেখায় কেউ বুঝবেই না যে, উইন্ডোজ কি জিনিস!

( As per the instructions of rsyslog.conf file on Linux computer, log file is being written in / var / log directory or in folder – I told you about that yesterday. However, like Windows computers, Linux also has a task manager. It is also possible to view the process with the top command. In Windows computers it is called software, in Linux computers it is called package. Many people are currently interested in Linux. Linux is also gaining popularity in Bangladesh. Linux has become so popular that it is easy to recognize Linux in Bengali, but even if Windows is written as Windows in Bengali, at first glance, no one will understand what Windows is! )

আরো পড়ুন – the best laptop in India at 2021- May

Writer –Md. Abdullah Al Mamun

ইনফরমেশন সোর্স–

সাইবার সোসাইটি

Tonmoy Evan

1 comment

Follow Me

Don't be shy, get in touch. We love meeting interesting people and making new friends.