Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Display the value of the $SHELL environment variable, which stores the pathname of the current shell.

...


$ echo $SHELL /bin/bash

 

List the available shells in the system. cat (concatenate) is a standard Linux utilities that concatenates and prints the content of a file to standard output. shells is the name of the file, and /etc/ is the pathname of the directory where this file is stored.

...