<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:atom="http://www.w3.org/2005/Atom"
				  >
<channel>
<atom:link rel="self"  type="application/rss+xml"  href="http://rulinux.net/rss_from_sect_4_subsect_6_thread_43273"  />
<title>rulinux.net - Форум - Development - Ебучий шелл</title>
<link>http://rulinux.net/</link>
<description><![CDATA[Портал о GNU/Linux и не только]]></description>
<image><title>rulinux.net - Форум - Development - Ебучий шелл</title>
<link>http://rulinux.net/</link>
<url>http://rulinux.net/rss_icon.png</url>
</image>
<item>
<title>Re:Ебучий шелл</title>
<link>https://rulinux.net/message.php?newsid=43273&amp;page=1#224540</link>
<guid>https://rulinux.net/message.php?newsid=43273&amp;page=1#224540</guid>
<pubDate>Fri, 13 Nov 2020 10:52:55 +0300</pubDate>
<description><![CDATA[<p>Симлинки на директории создаю<br><br>ln -sfvn path/to/dir .<br><br><fieldset><legend>text</legend><div class="highlight text"><br />
-no-dereference<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treat destination that is a symlink to a directory as if it were a normal file<br />
&nbsp;</div></fieldset><br><br>Без -n та же свистопляска с кучей вложенных симлинков </p>]]></description>
</item>
<item>
<title>Re:Ебучий шелл</title>
<link>https://rulinux.net/message.php?newsid=43273&amp;page=1#223636</link>
<guid>https://rulinux.net/message.php?newsid=43273&amp;page=1#223636</guid>
<pubDate>Tue, 06 Aug 2019 08:17:58 +0300</pubDate>
<description><![CDATA[<p>Но с какого перепуга?

Учитывая, что ман говорит:
<fieldset><legend>text</legend><div class="highlight text"><br />
&nbsp; &nbsp; &nbsp; &nbsp;-f, --force<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove existing destination files<br />
&nbsp;</div></fieldset>
 
- не должно быть никакой разницы.</p>]]></description>
</item>
<item>
<title>Re:Ебучий шелл</title>
<link>https://rulinux.net/message.php?newsid=43273&amp;page=1#223635</link>
<guid>https://rulinux.net/message.php?newsid=43273&amp;page=1#223635</guid>
<pubDate>Tue, 06 Aug 2019 06:03:28 +0300</pubDate>
<description><![CDATA[<p>lrwxrwxrwx  1 user users    1 авг  6 09:01 X -&gt; X</p>]]></description>
</item>
<item>
<title>Ебучий шелл</title>
<link>https://rulinux.net/message.php?newsid=43273&amp;page=1#223634</link>
<guid>https://rulinux.net/message.php?newsid=43273&amp;page=1#223634</guid>
<pubDate>Mon, 05 Aug 2019 23:13:27 +0300</pubDate>
<description><![CDATA[<p>Зогадко:

<fieldset><legend>bash</legend><div class="highlight bash"><br />
$ <span class="kw2">mkdir</span> X<br />
$ <span class="kw2">ln</span> <span class="re5">-s</span> <span class="re5">-f</span> X Y<br />
$ <span class="kw2">rm</span> <span class="re5">-rf</span> .<span class="sy0">/</span>X<br />
$ <span class="kw2">mkdir</span> X<br />
$ <span class="kw2">ln</span> <span class="re5">-s</span> <span class="re5">-f</span> X Y<br />
$ <span class="kw2">ls</span> X<span class="sy0">/</span><br />
&nbsp;</div></fieldset>

Вобщем создал пустой каталог Х, сделал на него симлинк У. Потом убил каталог Х и создал его заново. Обновил симлинк той же командой, какой его создал. Спрашивается - что у нас теперь в каталоге Х?</p>]]></description>
</item>
</channel>
</rss>