D&C GLug - Home Page

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

Re: [LUG] Bashled with this one

 

On 03/01/15 11:40, Martijn Grooten wrote:
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.


There is! Didn't know you could have one of those! Something didn't expand the home properly! For some reason the file manager gui didn't refresh and show that... or I didn't notice it...
Tom te tom te tom

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