Multiple choice technology operating systems

giving the command cd , what will be the action of the shell

  1. it will change directory to user home directory

  2. it will give out an error

  3. it will remain silent

  4. both a & b

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

When cd is executed without arguments, it changes the current directory to the user's home directory. This is defined by the HOME environment variable and defaults to /home/username. It's a standard Unix shell behavior across all shells (bash, zsh, sh).