Only Few Seats Left for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT Roorkee
Apply NowA 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:
nano orig_text1
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:
cat orig_text1
Create Link:
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:
cat myslink
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...