On Linux, a symbolic link and a hard link are made to the same file, and then the original file name is deleted. What happens?
Sous Linux, un lien symbolique et un lien physique sont créés vers le même fichier, puis le nom de fichier d'origine est supprimé. Que se passe-t-il ?
Answers
AThe hard link still opens the data; the symbolic link is brokenLe lien physique ouvre toujours les données ; le lien symbolique est cassé
BBoth links still open the data normallyLes deux liens ouvrent toujours les données normalement
CBoth links become broken at onceLes deux liens sont cassés d'un coup
DThe symbolic link still works; the hard link is brokenLe lien symbolique fonctionne toujours ; le lien physique est cassé
The answer and explanation are in the full bank.
This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.
Unlock for 5,000 RWFMIFOTRA exam practicealigned to Practice set: Operating Systems·3 marks·Hard
More Operating Systems questions
- You need to print the whole contents of a file. Which command does that?
- What does the Linux command `uname` do?
- What does the Linux command `chmod` do?
- On a Linux system, what does /boot contain?
- What does the Linux command `ping` do?
- What does the Linux command `ps` do?
- What does the Linux command `tar` do?
- You need to search a directory tree for files matching criteria. Which command does that?