- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
echo first >first.txt
echo second >second.txt
ln -s first.txt second.txt
# Выведет: ln: cannot create symbolic link from 'first.txt' to 'second.txt': File exists
mount --bind first.txt second.txt
# А так работает.
cat second.txt
#Выведет first.
Follow us!
Комментарии (2) RSS
Добавить комментарий