Linux Operating System Question:
Download Questions PDF

You wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What option should you use in this command line to be successful.

Answer:

Use the -F option

In order to create a link to a directory you must use the -F option.

Download Linux OS Interview Questions And Answers PDF

Previous QuestionNext Question
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose