Skip to main content

Home/ Diigo Community/ Group items tagged linux nlinux

Rss Feed Group items tagged

abclearn

ABC LEARN - Hard Link ln Command in Linux/Unix with examples - 0 views

  •  
    Hard linking a file Let's take a case, We are working on updating particular software packages on Linux machine. And unexpectedly, a couple of important files got deleted by the administrator. During this situations, hard linked files will come handy as a backup. Note: Generally, the hard link file is used for the backup purpose of small and important configuration files like /etc/passwd, /etc/shadow etc. Command Syntax: ln actual-file hard link-file Example: [root@sys2 ~]# ln abclearn hardln [root@sys2 ~]# ls -l hardln -rw-r--r--. 2 root root 16 Jan 28 19:55 hardln [root@sys2 ~]# ls -l abclearn -rw-r--r--. 2 root root 16 Jan 28 19:55 abclearn
1 - 1 of 1
Showing 20 items per page