what does '-' stand for in bash?

Posted by trybeingarun on Stack Overflow See other posts from Stack Overflow or by trybeingarun
Published on 2010-05-08T16:27:12Z Indexed on 2010/05/08 16:38 UTC
Read the original article Hit count: 196

Filed under:
|
|

Hi,

What exactly are the uses of '-' in bash? I know they can be used for 1. cd - # to take you to the old 'present working directory' 2. some stream generating command | vim - # somehow vim gets the text.

My question is what exactly is - in bash? In what other contexts can I use it?

Regards Arun

© Stack Overflow or respective owner

Related posts about bash

Related posts about linux