D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Bashled with this one

 

On Sat, Jan 03, 2015 at 11:35:12AM +0000, Tom wrote:
> Just built boost and its there but not there:
> -----------------------------------------------
> tom@laptop1:~/Programming/boost_1_57_0$ ls \~/Programming/boost_1_57_0/play/
> include  lib
> tom@laptop1:~/Programming/boost_1_57_0$ cd play
> tom@laptop1:~/Programming/boost_1_57_0/play$ ls
> tom@laptop1:~/Programming/boost_1_57_0/play$ cd include
> bash: cd: include: No such file or directory
> tom@laptop1:~/Programming/boost_1_57_0/play$ cd ..
> tom@laptop1:~/Programming/boost_1_57_0$ ls \~/Programming/boost_1_57_0/play/
> include  lib
> ---------------------------------------------
> the "\" is added by bash when hitting tab for auto expand...

This doesn't happen when using ~ as a shortcut to your home directory.

Is there a directory called "~" somewhere, e.g. in
~/Programming/boost_1_57_0 ?

That would explain the behaviour you describe.

Martijn.


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq