TestOut Linux Pro Practice Test

1 / 400

How can you create a symbolic link?

ln -s [target] [link_name]

To create a symbolic link in a Linux environment, the correct command is structured as `ln -s [target] [link_name]`. This command utilizes the `ln` utility with the `-s` option, which specifically indicates that a symbolic (or soft) link should be created rather than a hard link.

In this command, `[target]` represents the original file or directory you want the symbolic link to point to, while `[link_name]` is the name you want to give to the new symbolic link. When executed, this command effectively creates a new directory entry that references the original target, allowing users and applications to access the target through the link name.

The other choices reflect incorrect methods of creating a symbolic link. They either use invalid commands or improper syntax that does not conform to the expected Linux command line utilities.

Get further explanation with Examzify DeepDiveBeta

symlink [target] [link_name]

link -s [target] [link_name]

create symlink [target] [link_name]

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy