hard links

How to enable NTFS support on CentOS Linux version 5 or 6? How do I mount ntfs partition under RHEL 5 or 6?

{ 9 comments }

I see the following error in my SELinux enabled CentOS or RHEL server:

Jun 21 13:58:43 server3 restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory

Jun 21 16:14:51 server3 restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory
Jun 22 13:32:23 server3 restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory

How do I fix this problem?

{ 0 comments }

Unix Create a Symbolic Link

by Vivek Gite on May 15, 2008 · 3 comments

How do I create file links under UNIX / Linux / BSD operating systems?

{ 3 comments }

UNIX / Linux Find File Owner Name

by Vivek Gite on April 15, 2008 · 1 comment

Q. How do I find out the name of file / directory owner under UNIX / Linux operating systems?

{ 1 comment }

I‘d like to configure my Debian box to backup two remote servers using rsnapshot software. It should make incremental snapshots of local and remote filesystems for any number of machines on 2nd hard disk located at /disk1 ( /dev/sdb2).

{ 17 comments }

Q. I need to find file permission and store the same to a shell variable. How do I find out the file permission without parsing ls -l output? A. Use GNU stat command to display file or file system status. It has option to display output in specific format. Display stat for /etc/passwd file Type [...]

{ 2 comments }

HowTo: Create a Hard Links in Linux / UNIX

by Vivek Gite on October 9, 2007 · 5 comments

Both Linux / UNIX allows the data of a file to have more than one name in separate places in the same file system. Such a file with more than one name for the same data is called a hard-linked file. How do I create a hard link under Linux / UNIX / Apple Mac OS X / BSD operating systems?

{ 5 comments }