List common shell builtin examples.

0117

Here are some common shell builtin examples:

  1. cd - Change the current directory.
  2. echo - Display a line of text or a variable value.
  3. exit - Exit the shell or terminate a script.
  4. set - Set or unset shell options and positional parameters.
  5. unset - Remove variable or function names.
  6. alias - Create an alias for a command.
  7. export - Set environment variables for child processes.
  8. history - Display the command history.
  9. pwd - Print the current working directory.
  10. fg - Bring a background job to the foreground.

These builtins are integral to shell operation and provide essential functionality without needing external programs.

0 Comments

no data
Be the first to share your comment!