PDA

View Full Version : [ubuntu] How do you make a hard file?



BunnyBear
February 17th, 2011, 01:49 PM
I am in my home directory and need to make Hard Links to another Directory. I have used In and that does not work. I have also used In -s and that does not work either. I have tried to use a pipe but that doesn't work either. What can I do to make a hard link?

I have been up for the last 3 days reading and trying to figure this out before coming here. Any help?:eek:
Thanks!

TeoBigusGeekus
February 17th, 2011, 02:00 PM
Have you used In or ln?

BunnyBear
February 17th, 2011, 02:02 PM
In

TeoBigusGeekus
February 17th, 2011, 02:07 PM
The correct command is ln (LN) from link, not In (Eye en).

philinux
February 17th, 2011, 02:25 PM
I am in my home directory and need to make Hard Links to another Directory. I have used In and that does not work. I have also used In -s and that does not work either. I have tried to use a pipe but that doesn't work either. What can I do to make a hard link?

I have been up for the last 3 days reading and trying to figure this out before coming here. Any help?:eek:
Thanks!

See here - http://en.wikipedia.org/wiki/Ln_%28Unix%29

and here - http://unixhelp.ed.ac.uk/CGI/man-cgi?ln