Shell & Environment Basics
The everyday commands every Linux session starts with โ navigating, printing, and shaping your shell.
8 commands in this section.
alias
Beginner
Create a shortcut for a longer command.
alias name='command'
cd
Beginner
Change the current working directory.
cd [directory]
echo
Beginner
Print text or the value of a variable.
echo [options] text
export
Intermediate
Set an environment variable for the current shell and its child processes.
export VARIABLE=value
history
Beginner
Show previously run commands.
history [options]
man
Beginner
Read a command's manual page.
man [section] command
pwd
Beginner
Print the current working directory.
pwd
which
Beginner
Show the full path of a command that would run.
which command