I'm waiting for the help of the master Linux staff
linux
It's not on Cilantro Linux, but... It's a simple story, so I'll pretend to know.
First, we created data1, and then we created a symbolic link to it, data1.sl.
At this point, both the data1.cp
file and the data1.sl
file exist. And don't forget that data1.sl
is a special file that points to data1.cp
.
After deleting data1, I ran cat data1.sl and it said, "There are no such files or directories."
It's a matter of course. When running cat data1.sl
, the OS finds that the file data1.sl
points to is data1.cp
and attempts to run cat data1.cp
. Also, data1.cp
has been deleted, so an error occurs that such a file does not exist.
By the way, if you enter the command ln -s data1.cp data1.sl, the file appears.
It's a matter of course. When you run ln -s AB
, by default, you create a B
file, which is a symbolic link file and the link points to A
. So the OS will try to create data1.sl
. However, data1.sl
already exists. (Only data1.cp
has been deleted.) Therefore, an error is returned stating that the file is present (cannot be created again).
It's not hard, is it?
539 Uncaught (inpromise) Error on Electron: An object could not be cloned
723 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.