- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unlink the Linked files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 12:56 AM
10-16-2006 12:56 AM
Unlink the Linked files
We are using ln for creating the Hard-link & Soft link files.
But Is there any specific command to remove the link that we created using ln.
I used to delete the links by using rm command but i want to know is there any specific command for that purpose.
Regards
Suseendran .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 12:58 AM
10-16-2006 12:58 AM
Re: Unlink the Linked files
In the shell, 'rm' will remove a link. The underlying system call is 'unlink()'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 01:10 AM
10-16-2006 01:10 AM
Re: Unlink the Linked files
rm is the command to use, however from man rm:
" If file is a symbolic link, then only the symbolic link is removed.
The file or directory pointed to by the symbolic link is not affected.
If any of the intermediate path components of file happens to be a
symbolic link, then rm follows the symbolic link and removes the file."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 01:15 AM
10-16-2006 01:15 AM
Re: Unlink the Linked files
Until I am using rm to remove the link files , But I want to know is there any specific command for unlink...
Thanks & Regards
Suseendran .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 01:16 AM
10-16-2006 01:16 AM
Re: Unlink the Linked files
please no points for this second part.
As James refers to it:
man 1m link
"/usr/sbin/link file1 file2
/usr/sbin/unlink file"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2006 02:14 AM
10-16-2006 02:14 AM