Skip to contentমূল লেখায় যান

Stage 01 · Linuxধাপ 01 · Linux · 7 topics · 20 commands7টি টপিক · 20টি কমান্ড

Shell Basics

Move around the system, read help, and understand the shell and its paths.

UPPERCASE = your own value · red ! = can destroy data · tick a card when you know itUPPERCASE = আপনার নিজের মান · লাল ! = data নষ্ট করতে পারে · জানা হলে কার্ডে টিক দিন

0 / 7 done0 / 7 সম্পন্ন

Shell Basics

echo $SHELL
your login shellআপনার login shell
Tab
complete a command or file namecommand বা file-এর নাম সম্পূর্ণ করে
↑ ↓
browse earlier commandsআগের command-গুলো দেখায়
Ctrl+R
search the command historycommand history-তে খোঁজে
Ctrl+C
stop the running commandচলমান command থামায়
Ctrl+D
exit the shell (on an empty line)shell থেকে বের হয় (খালি লাইনে)
!!
repeat the last commandশেষ command আবার চালায়

Source 1সোর্স 1

Basic Commands

pwd
print the current directoryবর্তমান directory-র path দেখায়
ls
list filesfile-এর তালিকা দেখায়
cd DIR
change directorydirectory বদলায়
echo TEXT
print texttext ছাপে
cat FILE
print a filefile-এর লেখা দেখায়
whoami
show your user nameআপনার user name দেখায়
date
show the date and timeতারিখ ও সময় দেখায়
history
list past commandsআগের command-এর তালিকা দেখায়

Source 1সোর্স 1Source 2সোর্স 2Source 3সোর্স 3Source 4সোর্স 4Source 5সোর্স 5

Command Help

man CMD
open the manual pagemanual page খোলে
man -k WORD
search manual pages by keywordkeyword দিয়ে manual page খোঁজে
CMD --help
short usage summaryসংক্ষিপ্ত usage দেখায়
help cd
help for a shell builtinshell builtin-এর সাহায্য দেখায়
whatis CMD
one-line descriptionএক লাইনের বর্ণনা দেখায়
/WORD
inside man: search; n next, q quitman-এর ভেতরে খোঁজে; n পরেরটা, q বের হয়

Source 7সোর্স 7Source 8সোর্স 8Source 9সোর্স 9Source 1সোর্স 1Source 10সোর্স 10

Command Path

which CMD
path of the program that runsযে program চলবে তার path
type CMD
alias, builtin, or file?alias, builtin নাকি file তা দেখায়
command -v CMD
does the command exist? (for scripts)command আছে কি না দেখে (script-এর জন্য)
whereis CMD
binary, source, and manual pathsbinary, source ও manual-এর path
echo $PATH
directories searched for commandsযেসব directory-তে command খোঁজা হয়
export PATH="$PATH:DIR"
add a directory to PATH (this shell)PATH-এ directory যোগ করে (এই shell-এ)
hash -r
forget remembered command pathsমনে রাখা command path ভুলে যায়

Source 1সোর্স 1Source 11সোর্স 11Source 12সোর্স 12

Directory Hierarchy

/
root of the whole treeপুরো tree-র root
/home
user home directoriesuser-দের home directory
/etc
system configuration filessystem-এর configuration file
/var
logs, caches, changing datalog, cache ও পরিবর্তনশীল data
/tmp
temporary filesঅস্থায়ী file
/usr
installed programs and librariesinstall করা program ও library
/dev /proc /sys
devices · processes · kernel infodevice · process · kernel তথ্য
man hier
full description of the layoutপুরো layout-এর বিবরণ

Source 13সোর্স 13

Environment Variables

printenv
list all variablesসব variable দেখায়
echo $HOME
read one variableএকটি variable-এর মান দেখায়
export NAME=VALUE
set for this shell and its childrenএই shell ও তার child-এর জন্য সেট করে
NAME=VALUE CMD
set for one command onlyশুধু একটি command-এর জন্য সেট করে
unset NAME
remove a variablevariable মুছে ফেলে
env -i CMD
run with an empty environmentখালি environment-এ চালায়
~/.bashrc
put export lines here to keep themস্থায়ী করতে export লাইন এখানে রাখুন

Source 14সোর্স 14Source 15সোর্স 15Source 16সোর্স 16Source 1সোর্স 1

2 min read2 মিনিটে পড়া যায় · 7 sections7টি সেকশন · 16 sources16টি সোর্স · updated Nov 2026আপডেট: Nov 2026

Reels on this topicএই টপিকের রিলস

Short videos from other creators, picked for this topic. They are not part of this page's fact-checked text. Nothing loads from YouTube until you press Play.অন্য ক্রিয়েটরদের বানানো ছোট ভিডিও, এই টপিকের জন্য বাছাই করা। এগুলো এই পেজের ফ্যাক্ট-চেক করা লেখার অংশ নয়। চালান বাটন চাপার আগে YouTube থেকে কিছুই লোড হয় না।

Sourcesসোর্স16 · accessed 2026-11-03দেখা হয়েছে: 2026-11-03

Suggest an editএডিটের পরামর্শ দিন
  1. [1]bash(1) - GNU Bourne-Again SHell
  2. [2]ls(1) - list directory contents
  3. [3]cat(1) - concatenate files and print on the standard output
  4. [4]date(1) - print or set the system date and time
  5. [5]whoami(1) - print effective user name
  6. [6]pwd(1) - print name of current/working directory
  7. [7]man(1) - an interface to the system reference manuals
  8. [8]apropos(1) - search the manual page names and descriptions
  9. [9]whatis(1) - display one-line manual page descriptions
  10. [10]less(1) - display the contents of a file in a terminal
  11. [11]which(1) - locate a command
  12. [12]whereis(1) - locate the binary, source, and manual page files for a command
  13. [13]hier(7) - description of the filesystem hierarchy
  14. [14]environ(7) - user environment
  15. [15]env(1) - run a program in a modified environment
  16. [16]printenv(1) - print all or part of environment