Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #165236

Re: cd as much as possible

From Teemu Likonen <tlikonen@iki.fi>
Newsgroups linux.debian.user
Subject Re: cd as much as possible
Date 2016-03-11 13:30 +0100
Message-ID <rbumB-6em-7@gated-at.bofh.it> (permalink)
References <rb1ui-2rw-11@gated-at.bofh.it> <rb334-3w5-21@gated-at.bofh.it> <rbmfo-bV-7@gated-at.bofh.it> <rbu3g-64t-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Jude DaShiell [2016-03-11 07:01:00-05] wrote:

> The find command probably can handle this maybe in a shorter form. I
> don't know as much syntax of that command as I'd like otherwise this
> could probably written in a single line of code.

"Probably", "maybe" and "I don't know"?

Note that the original poster wanted to change the default directory of
current shell (process). If you launch a different process (like "find")
it has its own idea of current working directory which it can change.
That's why a shell _function_ is a the solution.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cd as much as possible kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-03-10 06:40 +0100
  Re: cd as much as possible Teemu Likonen <tlikonen@iki.fi> - 2016-03-10 08:20 +0100
    Re: cd as much as possible kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-03-11 04:50 +0100
      Re: cd as much as possible Jude DaShiell <jdashiel@panix.com> - 2016-03-11 13:10 +0100
        Re: cd as much as possible Teemu Likonen <tlikonen@iki.fi> - 2016-03-11 13:30 +0100
  Re: cd as much as possible kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-03-11 05:10 +0100
    Re: cd as much as possible Jens Bauer <jens-lists@gpio.dk> - 2016-03-16 03:10 +0100
      Re: cd as much as possible kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-03-18 05:20 +0100

csiph-web