cd dir && command

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Aug 24 09:47:35 UTC 2006


On 8/24/06, Ed Greshko <Ed.Greshko at greshko.com> wrote:
> Kaushal Shriyan wrote:
> > Hi ALL
> >
> > I am referring to http://www.pixelbeat.org/cmdline.html
> >
> > I have a query I did executed the above command
> >
> > For example
> >
> > [root at e root]# pwd
> > /root
> > [root at e root]# cd /home && ls
> > kaushal  mydefs  newbuild  ram  test
> > [root at e home]#
> >
> > It didnot returned to the current directory I mean /root instead it
> > went to /home
> >
> > I am doing wrong somewhere
>
> You are forgetting to leave the ( and ) as shown.
>
> --
> While it may be true that a watched pot never boils, the one you don't
> keep an eye on can make an awful mess of your stove.
>                -- Edward Stevenson
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Thanks Ed

Kaushal




More information about the fedora-list mailing list