Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
edited by

How to create the link 

xxx to /home/jake/doc/test/2000/something/?


Assume an xxx is created under the /home/jake and you're currently in /home/jake. When you do cd xxx, you directly go to 

/home/jake/doc/test/2000/something/.

1 Answer

0 votes
by (36.8k points)

The symbolic or soft link (files or directories, more flexible and self documenting)

#     Source                             Link

ln -s /home/jake/doc/test/2000/something /home/jake/xxx

Hard link (files only, less flexible and not self documenting)

#   Source                             Link

ln /home/jake/doc/test/2000/something /home/jake/xxx

Come and join Linux training to gain great knowledge. 

Do check out the video below

 

 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Dec 12, 2020 in Linux by blackindya (18.4k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...