Intellipaat Back

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

I working on a symbolic link in Linux. I have written the Bash command in the first path of my folder I want to link to the second path in the compiled source.

ln -s '+basebuild+'/IpDome-kernel/kernel /home/build/sandbox/gen2/basebuild/IpDome-kernel/kernal

Is this correct?

1 Answer

0 votes
by (36.8k points)

To create new symlink:

ln -s /path/to/file /path/to/symlink

To create or update the symlink:

ln -sf /path/to/file /path/to/symlink

Want to be a Linux expert? Come and join this Linux course

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 Nov 26, 2020 in Linux by blackindya (18.4k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...