h1

create symbolic link in REDHAT

February 15, 2012

The simple way to create symbolic link in REDHAT is just enter the following command at the shell prompt :

ln -s [target-file/directory] [symbolic-name_file/directory]

For example, create symbolic link for /mydir as /home/myname, enter the following command :

ln -s /home/myname /mydir

Output :

lrwxrwxrwx 1 myname myname 1 2012-02-15 09:00 mydir -> /home/myname

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: