From: Vladimir Karpinsky <vkarpinsky@mail.ru> To: smoke-room@lists.altlinux.org Subject: [room] bash Date: Fri, 9 Mar 2018 20:12:24 +0300 Message-ID: <88c70206-518e-41ce-5087-6366e18e0661@mail.ru> (raw) Здравствуйте! Объясните, пожалуйста, логику: # pwd /home/user # find ./ -name *~ | xargs -r ls -l -rwxrwxr-x 1 user user 467 мар 9 16:39 ./tmp/file~ -rwxrwxr-x 1 user user 16718 мар 9 16:40 ./tmp/.file.un~ # cd tmp # find ./ -name *~ | xargs -r ls -l -rwxrwxr-x 1 user user 467 мар 9 16:39 ./file~ Почему при запуске из домашнего каталога (или из более высокого) файл .file.un~ "виден", а из tmp -- нет? Я, конечно, понимаю, что можно: # find ./ -name .*~ | xargs -r ls -l -rwxrwxr-x 1 user user 16718 мар 9 16:40 ./.file.un~ но хотелось бы одним запросом и из любого места... -- С уважением, Владимир. --- Это сообщение проверено на вирусы антивирусом Avast. https://www.avast.com/antivirus
next reply other threads:[~2018-03-09 17:12 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-09 17:12 Vladimir Karpinsky [this message] 2018-03-09 17:59 ` Vladimir Karpinsky
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=88c70206-518e-41ce-5087-6366e18e0661@mail.ru \ --to=vkarpinsky@mail.ru \ --cc=smoke-room@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Культурный офтопик This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \ smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com public-inbox-index smoke-room Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.smoke-room AGPL code for this site: git clone https://public-inbox.org/public-inbox.git