Linux Commands Examples

A great documentation place for Linux commands

link

call the link function to create a link to a file

Synopsis

link FILE1 FILE2
link
OPTION


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
link A
0
source

retrieve and extract links (Linux/Windows)

In a bash shell you can use grep. grep "/gp/product/" source.txt >extracted.txt

0
source

Linux: Contents of "global" folder synced to other folders automatically

I may be wrong but I think that this is not possible due nature of folders. But you can try couple of alternatives.

  • You can write custom script that will create symlinks in plugins when you create file in global_plugins
  • You can make symlink to global_plugins in both plugins directories
  • You can make symlinks by hand
0
source

directory in /proc/sys/net/ipv4/config have no hard links?

The directories in /proc do not really exist. It is a virtual filesystem with information which is generated on the fly. Hardlinks have no place in them (and would not save any space if you could use them).

0
source

Linux group permission not applying correctly with hard link

I found the answer here.

http://stackoverflow.com/questions/1167006/linux-permission-group

I needed to log out and log back in again in order for the new group to take effect.

0
source

How to share (via network) linux linked content?

Since your smb:// url didn't work over the network I'm going to assume that Samba isn't configured and running on the machine that is serving out files. If it is, then you might need to try the IP address instead of the NetBIOS name.

Otherwise, you first need to make sure that the computer that will be serving the files is running Samba (since you're accessing it via the 'smb' protocol). You can look at this documentation for a very basic how-to on setting that up.

If you're running selinux on the computer you plan to server files from, you might want to look at this blog post regarding the setting up of proper permissions in selinux for Samba to work.

Cheers.

description

Call the link function to create a link named FILE2 to an existing FILE1.

--help

display this help and exit

--version

output version information and exit

copyright

Copyright © 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

reporting bugs

Report link bugs to bug-coreutils[:at:]gnu[:dot:]org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report link translation bugs to <http://translationproject.org/team/>


see also

link

The full documentation for link is maintained as a Texinfo manual. If the info and link programs are properly installed at your site, the command

info coreutils 'link invocation'

should give you access to the complete manual.


author

Written by Michael Stone.

How can this site be more helpful to YOU ?


give  feedback