Fabulous Feb Offer: Flat 70% Off + 20-days Extra Lab + 10% Addl. Off on All Courses | Use Coupon Code FAFB | Expires inEnroll Now
A symbolic link points to a file. In case, the original file is deleted, the symbolic link would be pointing to non-existing file.
You can create a symbolic link to a directory too.
Create a file:
Put the following text in it:
This is my not-so-valuable data
Save and Exit: Press Ctrl+x and y
Check if the file has right data:
ln -s orig_text1 myslink
Check if it is there:
ls -l myslink
You should see something like this
lrwxrwxrwx 1 sandeepgiri9034 sandeepgiri9034 10 Dec 14 11:45 myslink -> orig_text1
Check the contents of myslink using:
Taking you to the next exercise in seconds...