লিনাক্সের কিছু বেসিক কমান্ড…আজই দেখে নিন

বন্ধুরা উইন্ডোস এর মত লিনাক্সেও কমান্ড আছে।আজ আমি তোমাদের জন্য নিয়ে আসলাম লিনাক্সের কিছু বেসিক কমান্ড।এই কমান্ড গুলি যারা লিনাক্স ব্যবহার করেন তাদের অনেক কাজে আসবে।এ ছাড়া যারা অনান্য ওপারেটিং সিস্টেম ব্যবহার করছি লিনাক্স ব্যবহারের সময় তাদেরও কাজে আসবে।সুতরাং সবার কমান্ড গুলি নোট প্যাডে সংরক্ষন করে রাখেন।আমি আর কিছূ লিখলাম না যদি কারও কাজে আসে তবে কমেন্ট করবেন।সবাইকে ধন্যবাদ।

For changing directory / to /etc

[root@pc1 /]# cd /etc

One step back /etc to /

[root@pc1 etc]# cd ..

Go to previous working directory

[root@pc1 /]# cd -

Go to current login user home directory

[root@pc1 etc]# cd ~

Show the contents of /etc in single color

[root@pc1 ~]# dir /etc

Show the contents of /etc in different colors with nature of contents

[root@pc1 ~]# Ls /etc

create a folder on root partition

[root@pc1 ~]# mkdir /disk

Create a folder in /disk

[root@pc1 ~]# mkdir /disk/dir

Create multiple folder in multiple directories with single command

[root@pc1 ~]# mkdir /etc/dir1 /var/dir2 /usr/dir3

Create multiple folder in same directory

[root@pc1 ~]# mkdir dir1 dir2 dir3

Copy a file in directory

[root@pc1 disk]# cp file dir

Copy a file from /disk/file and paste it in /disk/dir/

[root@pc1 disk]# cp /disk/file /disk/dir

Copy a directory with –r option

[root@pc1 disk]# cp -r dir dir2

Copy a file from /disk/file and paste it in /etc with myfile name

[root@pc1 disk]# cp /disk/file /etc/myfile

Remove a file

[root@pc1 disk]# rm file

Remove a file with forcefully option

[root@pc1 disk]# rm –f file

Remove a directory with out –r option and you face will an error

[root@pc1 disk]# rm dir

Remove a directory with –r option

[root@pc1 disk]# rm -r /disk

Remove a directory with forcefully option

[root@pc1 disk]# rm -rf dir

Move /etc/dir1 to /disk/ with different name

[root@pc1 disk]# mv /etc/dir1 /disk/mydir

Rename the folder name mydir to dir

[root@pc1 disk]# mv /disk/mydir /disk/dir

Rename the file name with myfile

[root@pc1 disk]# mv file myfile

Read a file page by page with less command

[root@pc1 disk]# less /etc/grub.conf

Read a file page by page with more command

[root@pc1 disk]# more /etc/qrub.conf

Read first ten lines of grub.conf

[root@pc1 disk]# head /etc/grub.conf

Read last ten lings of grub.conf

[root@pc1 disk]# tail /etc/grub.conf

Read first 12 lines with –n option

[root@pc1 disk]# head -n 12 /etc/grub.conf

Read last 11 lines with –n option

[root@pc1 disk]# tail -n 11 /etc/grub.conf

Copy the contents of /etc/grub.conf in /disk/file

[root@pc1 disk]# cat /etc/grub.conf > /disk/file

Append the contents /etc/mtab in /etc/file

[root@pc1 disk]# cat /etc/mtab >> /disk/file

Merging tow commands with pipe sign output of the first command is input of second command

[root@pc1 disk]# cat /etc/squid/squid.conf I more

Count the total lines of squid.conf

[root@pc1 disk]# cat /etc/squid/squid.conf I wc -L

Show only spool words in squid.conf

[root@pc1 disk]# cat /etc/squid/squid.conf I grep spool

Flush the contents of file

[root@pc1 disk]# cat /dev/null > /var/log/messages

 

এটি আগে প্রকাশ হয়েছিল এখানে

ডাউনলোড করুন শতশত বাংলা ইবুক

Level 2

আমি সব্যসাচী দত্ত। বিশ্বের সর্ববৃহৎ বিজ্ঞান ও প্রযুক্তির সৌশল নেটওয়ার্ক - টেকটিউনস এ আমি 13 বছর 8 মাস যাবৎ যুক্ত আছি। টেকটিউনস আমি এ পর্যন্ত 71 টি টিউন ও 410 টি টিউমেন্ট করেছি। টেকটিউনসে আমার 0 ফলোয়ার আছে এবং আমি টেকটিউনসে 0 টিউনারকে ফলো করি।


টিউনস


আরও টিউনস


টিউনারের আরও টিউনস


টিউমেন্টস

ল্যাপটপে Windows7 এবং ডেস্কটপে Windows xp ব্যবহার করি। অল্প কিছু দিনের মদ্ধ্য একটা নেটবুক কিনে লিনাক্স ব্যবহার করবো ইনশাল্লাহ। তাই কমান্ড গুলো পরে কাজে লাগবে। শেয়ার করার জন্য ধন্যবাদ।

কেন রে ভাই এত কমান্ড কমান্ড করে নতুন দের ভয় দেখান !! লিনাক্স এবং windows এখন প্রায় same . বরঞ্চ win থাকে linux a কাজ করা আরও eassy।

হুম কামের জিনিস দিছেন ভাই 😀 দাড়ান পোলাপাইন গুলারে খবর দেই এইগুলা ওগো হ্যাকিং এ কামে লাগব।

কামের জিনিস

Level 0

শিখতে ট্রাই করবো..ধন্যবাদ ভাই

আরে !! আমি আজকেই চিন্তা করলাম এটা নিয়া একটা টিউন করুম। যা ই হোক, bash commannd এর ব্যাপারে আর ও Details লিখুন। শুভেচ্ছা।

লিনাক্স আপারেটিন সিস্টেম কিভাভে ইন্সটল করতে হয়……।
উইন্ডোজ এর মত সিডি দিয়ে…………।কনফিগারেশন কি কি লাগে…
pls ভাই কমেন্ট আমাকে কিছু টিপস দিন…।

আমি অনেকদিন থেকেই লিনাক্স মিন্ট ব্যবহার করছি। তবে এখানে ভাল কোন ডিকশনারী পাচ্ছি না যা খুবই মিস করি। বিশেষ করে Oxford এবং Cambridge Dictionary এই দুটির নাম বলতেই হয়। ওয়াইনের মাধ্যমে cambridge চালু রেখেছি। এগুলোর কোন linux compatible format আছে কি না, বা এর চেয়ে ভাল কোন ডিকশনারী আছে কি না জানালে উপকৃত হব। অবশ্য artha ব্যবহার করি তবে wordweb এর মত মাঊসের right click কাজ করে না।