[UPHPU] symlinks

Brady Mitchell bradym at softhome.net
Wed Jun 25 13:28:48 MDT 2003


The command is ln (that is a lowercase L - not an I) - once you change
that the command you gave should work fine..

ln -s /mnt/media/music /var/www/web_page/music  <-- that will create a
symbolic link in /var/www/web_pages/ called music.

Brady

-----Original Message-----
From: Wade Preston Shearer [mailto:groups at anavidesign.com] 
Sent: Wednesday, June 25, 2003 12:26 PM
To: Utah PHP User Group; PLUG POST; BYU UUG Post
Subject: [UPHPU] symlinks


jacob fugal said to use the following syntax to create a symlink 
(symbolic link)...

	In -s /path/to/real/file link name

	eg.

	In -s /mnt/media/music /var/www/web_page/music
	(where /var/www/web_page/ would be the web page's root)


...but i am getting the following error...

	-bash: syntax error near unexpected token 'in'



i have read the man page on 'symlink' but it didn't give me anything 
that help.

can anyone instruct me further on how to create a symbolic like 
("shortcut," "alias")?

i am running RH 9.

-wade



---------------------------------------------------------------------
To unsubscribe, e-mail: uphpu-unsubscribe at anavidesign.com
For additional commands, e-mail: uphpu-help at anavidesign.com





More information about the UPHPU mailing list