How is a symbolic link called bar.conf pointing to foo.conf created?
Suggested Answer: B
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
29 comments · newest first
ED
Edward
11 months ago
C is totally wrong, it doesn't even make sense!
SA
Sabina
11 months ago
No way, I thought it was B at first.
ZO
Zona
11 months ago
Wait, is it really that simple?
GE
Georgene
12 months ago
I agree, A is the correct command!
MA
Mattie
12 months ago
It's definitely A, that's how you create a symlink.
RE
Regenia
1 year ago
I think the answer is A, but I’m confused about the syntax. I hope I remember it right during the exam!
VI
Vivienne
1 year ago
I'm not entirely sure, but I feel like "ln foo.conf bar.conf" might just create a hard link instead of a symbolic one.
RO
Robt
1 year ago
I practiced a similar question, and I remember that the correct option should have the "-s" flag for symbolic links.
FL
Fletcher
1 year ago
I think the command for creating a symbolic link is something like "ln -s", but I can't remember if it's "--s" or just "-s".
OR
Oretha
1 year ago
I think option B is correct. The ln command without any options creates a hard link, which is what we want here to link bar.conf to foo.conf.
LY
Lynda
1 year ago
Okay, let me walk through this step-by-step. The question is asking how to create a symbolic link called bar.conf that points to foo.conf. So the command would be "ln -s foo.conf bar.conf". Option A has the right syntax.
TA
Tarra
1 year ago
Hmm, I'm a bit confused on this one. I know symbolic links are created with ln, but I can't remember the exact syntax. I'll have to think this through carefully.
YA
Yasuko
1 year ago
I'm pretty sure the answer is A. The ln command with the -s option creates a symbolic link.
CA
Cassi
1 year ago
I bet the person who wrote this question has a great sense of humor. A symbolic link named 'bar.conf' pointing to 'foo.conf'? Classic!
NO
Nohemi
1 year ago
Ha! 'ln bar.conffoo.conf'? Looks like someone's trying to be a comedian on this exam.
SH
Shenika
1 year ago
D? Really? I'm not even sure what that's supposed to do. That's gotta be a trick answer.
GL
Glen
1 year ago
I think A is the correct command to create a symbolic link.
ME
Mertie
1 year ago
Yeah, D doesn't seem right. It's probably A or B.
HE
Helaine
1 year ago
C) ln --s bar.conf foo.conf
CO
Corazon
1 year ago
B) ln foo.conf bar.conf
CH
Charlesetta
1 year ago
A) ln --s foo.conf bar.conf
FE
Felicitas
1 year ago
Hmm, I thought the command was 'ln -s', not '--s'. Better double-check the man page.
RI
Rickie
1 year ago
Option A is correct. The '--s' flag creates a symbolic link, not a hard link.
TH
Theola
1 year ago
B) ln foo.conf bar.conf
GE
Gennie
1 year ago
Got it, thanks for the info!
TE
Tegan
1 year ago
A) ln --s foo.conf bar.conf
LI
Lindsey
2 years ago
That makes sense. It's important to use the correct syntax for creating symbolic links.
MA
Marjory
2 years ago
I think it's A) because the -s flag is used to create a symbolic link.
LI
Lindsey
2 years ago
A) ln --s foo.conf bar.conf