QuestionQ4Verified/Basic Unix SkillsCopy linkReport a problemAsk AstroTutorSave questionWhile creating a symbolic link, an error reports that the target already exists. Which statement is true?Aln can not override an existing target so the target must be manually removed.Bln can override the target, but only if it is a file.Cln can override the target, but only if it is a directory.Dln can override the target, whether it is a file or a directory.Eln can not override an existing symbolic link.Show AnswerAnswerExplanationThe ln command normally does not replace an existing destination. Its -f (--force) option removes an existing destination file before creating the link, but an existing directory is treated as a directory destination rather than overwritten.Learn moreGNU Coreutils: ln invocationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion