FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMMAND LINE INTERFACE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which best describes the results of the following command syntax?
A
File1 is duplicated and named file2
B
The contents of file1 are copied to file 2, file1 is deleted
C
A hard link of file 1 is created to file2
D
A symbiotic link of file1 is created to file2
Explanation: 

Detailed explanation-1: -The ln command is a standard Unix command utility used to create a hard link or a symbolic link (symlink) to an existing file or directory.

Detailed explanation-2: -A hard link always points a filename to data on a storage device. A soft link always points a filename to another filename, which then points to information on a storage device.

Detailed explanation-3: -A hard link is the file-system representation of a file by which more than one path references a single file in the same volume.

Detailed explanation-4: -The ln command links the file designated in the SourceFile parameter to the file designated by the TargetFile parameter or to the same file name in another directory specified by the TargetDirectory parameter. By default, the ln command creates hard links.

There is 1 question to complete.