$ ./guess_the_languageLinux CLI
Linux CLI · medium · #3

What is /opt/app/current after these commands?

ln -s /opt/app/v2 /opt/app/current
rm -rf /opt/app/v2
  1. A broken link to a missing path
  2. A hard link that keeps the data
  3. An empty directory left behind
  4. A regular file holding old data
A symbolic link only stores a path; once the target is deleted the link dangles and any access fails.
Play Linux CLI ▸