Monday, May 22, 2017

Soft link and hard link in linux

Soft link has a different inode number and original file has different number. Soft link can link to a directory and the link will not have original file but shows the path.

Hard link has same inode number and will have original file contents. Removing the links will not affect original file contents. We cannot create a hard link to a directory.

No comments:

Post a Comment

Call a function in child component from parent component in React

Consider the following parent component class Parent extends React.Component { constructor(props) { super(props);         thi...