coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New utility suggestion: chdir(1)


From: Kaz Kylheku (Coreutils)
Subject: Re: New utility suggestion: chdir(1)
Date: Sat, 26 Aug 2017 18:23:33 -0700
User-agent: Roundcube Webmail/0.9.2

On 26.08.2017 11:10, Colin Watson wrote:
  sudo chroot /path/to/chroot sh -c 'cd /foo && ls -l'

The -c option is not the only way to pass a script to the shell.

You can also pipe it in.

This means dealing with shell quoting, which is tedious and error-prone.

   sh <<'end'
   echo 'hello, world'
   end




reply via email to

[Prev in Thread] Current Thread [Next in Thread]