Re: cd dir && command

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

 



On 8/24/06, Ed Greshko <Ed.Greshko@xxxxxxxxxxx> 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@e root]# pwd
> /root
> [root@e root]# cd /home && ls
> kaushal  mydefs  newbuild  ram  test
> [root@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@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Thanks Ed

Kaushal


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux