Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 8
    If the cd fails, you would get the directory listing of the wrong directory. It's better to use && instead of ; here.
    – Kusalananda
    Commented May 19, 2017 at 7:02
  • @Kusalananda is right. You may find more in this answer
    – nikolas
    Commented May 19, 2017 at 7:04
  • The ; did work for me also. Is there a reason to use && over the semicolon character?
    – benhorgen
    Commented Aug 10, 2022 at 17:37