10-24-2001
Problem with Links
Hi,
Someone told me that Links where useful in Unix, but when I asked them how, he couldn't tell me... All he told me was, "well you can use hard-link or symbolic link".
When I asked him what were the diference, he told me that there is no real difference.
Can you please tell enlighten me.
What is link? and is there any differnces between symbolic link and hard- link?
Thankx
7 More Discussions You Might Find Interesting
1. OS X (Apple)
Strangely, chown and chmod don't seem to work on symlinks. In particular, I tried this (as root):
# touch foo
# ln -s foo mysymlink
# chown SOMEUSER mysymlink
as well as changing the last line to:
# chown -h someuser mysymlink
where "-h" is supposed to change the UID of the actualy... (1 Reply)
Discussion started by: noahcowan
1 Replies
2. Linux
DirectFB-0.9.20 is compiled --with-gfxdrivers=all
links-2.1pre15 is compiled with --enable-graphics
there is a problem when I am trying to run Links using DirectFB video driver
may be my DirectFBs config is not right?
video by framebuffer or X works successfully (0 Replies)
Discussion started by: eugrus
0 Replies
3. Programming
Hello,
I'm working on an application that bridges together several applications involved in creating a video workflow for editing with digital cinema cameras. The main platform is MacOSX.
Because of the nature of some of the utilities for working with this video footage I must spoof filenames... (2 Replies)
Discussion started by: ibloom
2 Replies
4. AIX
Hello,
I got an IHS 6.1 installed and want to publish a directory with an index of files, directories and symlinks / symbolic links / soft links, last ones being created with the usual Unix command "ln -s .... ....".
In httpd.conf I've tried following for that directory:
Options Indexes... (1 Reply)
Discussion started by: zaxxon
1 Replies
5. Shell Programming and Scripting
Problem with links programm.
Hi!
I write sctipt for aytomatic checking into IE stas.html ->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="newdata.submit()"></script>
</head>
<body... (1 Reply)
Discussion started by: beckss
1 Replies
6. Solaris
When loooking at files in a directory using ls, how can I tell if I have a hard link or soft link? (11 Replies)
Discussion started by: Harleyrci
11 Replies
7. AIX
Hi
I'm logged in as root in an aix box
Which command will list all the soft links and hard links present in the server ? (2 Replies)
Discussion started by: newtoaixos
2 Replies
LEARN ABOUT SUSE
build-jar-repository
BUILD-JAR-REPOSITORY(1) User Commands BUILD-JAR-REPOSITORY(1)
NAME
build-jar-repository - create a symbolic link to a JAR
SYNOPSIS
build-jar-repository [OPTION]... DIRECTORY... JAR
DESCRIPTION
Build a JAR repository in the named directory by copying files or creating symbolic links
OPTIONS
If no option is specified the default action will be to create symbolic links
-c, --copy
copy files
-h, --hard
create hard links
-p, --preserve-naming
try to preserve the names of the original JAR files (in case of a nested hit the slashes in the path will still be replaced by
underscores)
using this option makes any future automated repository rebuild impossible, and implies -c unless specified otherwise
-s, --soft, --symbolic
create symbolic links (default)
--help
display help text
EXAMPLES
build-jar-repository . jndi
will create a symbolic link to the JNDI JAR in the current working directory
build-jar-repository -h /tmp oro
will create a hard link to the ORO JAR in /tmp
AUTHOR
Written by Nicholas Mailhot and David Walluck
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
build-jar-repository (jpackage-utils) 1.7.0 March 2006 BUILD-JAR-REPOSITORY(1)