Multiple choice technology programming languages

The option not allowed in test command

  1. -d

  2. -l

  3. -u

  4. -a

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

The test command (or [) in Unix shell scripting has specific valid options. -d checks if a file is a directory, -u checks if set-user-id bit is set, -a is for logical AND. However, -l is NOT a valid test operator - for symbolic links, use -L (uppercase) or -h instead.