Jak utworzyć link do katalogu [zamknięty]
Jak utworzyć link xxx
do /home/jake/doc/test/2000/something/
?
Załóżmy, że {[0] } jest utworzony pod /home/jake
i aktualnie znajdujesz się w /home/jake
. Kiedy robisz cd xxx
, idziesz bezpośrednio do /home/jake/doc/test/2000/something/
.
205
Author: Gerold Broser, 2012-03-06
2 answers
Link symboliczny lub miękki (pliki lub katalogi, bardziej elastyczne i samodzielne dokumentowanie)
# Source Link
ln -s /home/jake/doc/test/2000/something /home/jake/xxx
Hard link (tylko pliki, mniej elastyczne i nie samodokumentujące się)
# Source Link
ln /home/jake/doc/test/2000/something /home/jake/xxx
Więcej informacji: man ln
371
Author: theglauber,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-05-08 22:25:32
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-05-08 22:25:32
Powinieneś użyć :
ln -s /home/jake/doc/test/2000/something xxx
30
Author: WiseTechi,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2012-03-06 16:10:17
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2012-03-06 16:10:17