Multiple choice technology programming languages

To find all available shells in your system type the following command

  1. cat /etc/shells

  2. cat /tmp/shells

  3. cat /root/shell

  4. echo $SHELLS
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The /etc/shells file contains the list of valid login shells on Unix/Linux systems. The cat command displays file contents, so cat /etc/shells shows all available shells. The /tmp and /root directories are not standard locations for shell configurations, and $SHELLS is not a standard environment variable.