Built-in and External Commands
The following table shows a few of the built-in and external commands that are often used in shell scripts.
You will learn what each command does in the lessons and modules to come. This table is intended to help you recognize which commands are external and which are built in to the shell.
The Emacs variable remote-shell-program contains the path to any desired program for invoking a remote shell. Simply redefine it to be the full path to your ssh executable. Also, the rlogin package, rlogin.el, defines a variable rloginprogram you can redefine to use slogin.
Linux Shell Scripting
- basename: Print the last component of a pathname, optionally removing a suffix.
- dirname: Print all but the last component of a pathname.
- echo: Repeat command-line arguments on the output.
- expr: Perform arithmetic and comparisons.
- id: Print user and group ID and name information.
- line: Read a line of input.
- printf: Format and print command-line arguments.
- sleep: Pause during processing.
- test: Test a condition.