Here are some common built-in commands in Linux:
-
cd: Changes the current directory.cd /path/to/directory -
echo: Displays a line of text or variable value.echo "Hello, World!" -
pwd: Prints the current working directory.pwd -
history: Shows the command history.history -
exit: Exits the shell or terminal session.exit -
alias: Creates an alias for a command.alias ll='ls -l' -
unset: Removes a variable or function.unset VARIABLE_NAME -
set: Sets shell options and positional parameters.set -x # Enables debugging -
type: Displays the type of a command (built-in, external, or alias).type command_name -
jobs: Lists active jobs in the current shell session.jobs
These built-in commands are essential for navigating and managing your shell environment efficiently. If you want to learn more about any specific command, feel free to ask!
