Hi,
what is link? and soft link? how about hard one and symbolic link.
and inode.
i get confuse about this links. could anyone help me with full explainsion?
thks
Gusla (5 Replies)
I am digging for certain types of files in the current directory and all its sub-directories and archiving them with the following code:
#! /usr/bin/ksh
Archive=`date +%Y_%m_%d_%T`
find . -type f \( -name \*\.ksh -o -name \*\.sql -o -name \*\.ini \) -print|xargs tar -cf... (4 Replies)
i'm trying to write a c code to copy a soft link over to a specified directory. Is it possible to do this without using symlink()?
if so, what can I use?
Thanks! (2 Replies)
Hi team, i am writing a purge script to delete softlinks and hardlinks on linux system which are 3/10/30 days old. To test the script i need to create links with old timestamp, i am able to cange timestamp for files but not for links.
i tried touch -h option but this option is not available on... (1 Reply)
Hello.
I have some main directories.
For example :
/main_dir1
/main_dir2In main_dir2, I have a sub dir named sub_dir2-1 with 2 files in it ( file_2-1, file_2-2 )
/main_dir2sub_dir2-1file_2-1
file_2-2From "/main_dir1/A/B/C" I make a soft link
ln -s /main_dir2/sub_dir2-1 ... (6 Replies)
Discussion started by: jcdole
6 Replies
LEARN ABOUT HPUX
show_link
show link(1m) show link(1m)NAME
show link - Displays attribute information about the specified soft link
SYNOPSIS
cdscp show link link-name [attribute-name] [with attribute-name = attribute-value]
ARGUMENTS
The full name of a specific soft link. The last simple name can contain wildcard characters. The name of a particular attribute; see
Description for valid attribute names. The value of a particular attribute.
DESCRIPTION
The show link command displays the names and values of the attributes specified in attribute-name. You can use a combination of attributes
in any sequence in a single command. Use a space to separate multiple attributes. You can use a with attribute-name = attribute-value
clause to limit output only to soft links whose attributes have values equal to the specified values. A space must precede and follow the
= (equals sign). If you do not supply any attributes, the command displays all attributes and their values. The following is a description
of soft link attributes: Specifies the creation timestamp (CTS) of this soft link Specifies the full name of the directory, object entry,
or other soft link to which the soft link points Specifies a timeout value after which the soft link is either checked or deleted Specifies
the timestamp of the most recent update to an attribute of the soft link
Privilege Required
You must have read permission to the soft link. If you specify a wildcard soft link name, you also need read permission to the directory
that stores the soft link.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command displays the current values of all the attributes associated with the soft link /.:/sales/region1. cdscp> show link
/.:/sales/region1
SHOW
SOFTLINK /.../abc.com/sales/region1
AT 1991-10-15-15:54:40
CDS_CTS = 1991-10-15-19:54:35.00000003/08-00-2b-1c-8f-1f
CDS_UTS = 1991-10-15-19:54:35.00000006/08-00-2b-1c-8f-1f
CDS_LinkTarget = /.../abc.com/sales/service
SHOW
SOFTLINK /.../abc.com/sales/region1
AT 1991-10-15-15:54:41
CDS_CTS = 1991-10-15-19:54:36.00000077/08-00-2b-1c-8f-1f
CDS_UTS = 1991-10-15-19:54:36.00000009/08-00-2b-1c-8f-1f
CDS_LinkTarget = /.../abc.com/sales/software
CDS_LinkTimeout = :
Expiration = 1991-10-15-00:00:00.0
Extension = +1-00:00:00.000
RELATED INFORMATION
Commands: create link(1m), delete link(1m), list link(1m), remove link(1m), set link(1m)
show link(1m)