What are other examples of each?

094

Here are some additional examples of built-in and external commands in Linux:

Built-in Commands

  1. echo - Displays a line of text or a variable value.
  2. exit - Exits the shell or a script.
  3. history - Displays the command history.
  4. alias - Creates an alias for a command.
  5. export - Sets environment variables.

External Commands

  1. grep - Searches for patterns in files.
  2. find - Searches for files and directories in a directory hierarchy.
  3. cp - Copies files and directories.
  4. mv - Moves or renames files and directories.
  5. rm - Removes files or directories.

These examples illustrate the distinction between commands that are built into the shell and those that are separate executable files.

0 Comments

no data
Be the first to share your comment!