The Linux Community Forum

Support => General Help & Advice => Topic started by: Ava on April 03, 2011, 01:46:15 pm

Title: Navigating to folders in terminal
Post by: Ava on April 03, 2011, 01:46:15 pm
This is probably going to sound a little stupid, and I know I should really know this by now, but... if I want to get somewhere like my downloads, documents, etc, what is the file path to get there?

I've tried:
/lucy/downloads
/home/lucy/downloads
/home/downloads
./lucy/downloads

Apparantly none of these places exist and I'm having trouble figuring out what I'm missing out. I usually put 'nautilus' before them but this is really all so I can install something...
Title: Re: Navigating to folders in terminal
Post by: Mark Greaves (PCNetSpec) on April 03, 2011, 01:49:32 pm
You were there with /home/lucy/downloads .. well nearly .. Remember Linux commands/paths ARE case sensitive, so it should have been /home/lucy/Downloads

so /home/lucy/downloads, and /home/lucy/Downloads are 2 different places.

You can shorten this to ~/Downloads

As ~ means the current users home directory.

hth.
Title: Re: Navigating to folders in terminal
Post by: Ava on April 03, 2011, 01:51:18 pm
Ahh, of course... thanks!  :)
Title: Re: Navigating to folders in terminal
Post by: Ava on April 03, 2011, 02:02:35 pm
When I navigate to a folder in the Downloads it works, but not with 'cd' before it...

lucy@Lumae:~$ cd /home/lucy/Downlooads/rawstudio-1.1
bash: cd: /home/lucy/Downlooads/rawstudio-1.1: No such file or directory
lucy@Lumae:~$ nautilus /home/lucy/Downloads/rawstudio-1.1
(Works)

Any idea what's going on? :(
Title: Re: Navigating to folders in terminal
Post by: Mark Greaves (PCNetSpec) on April 03, 2011, 02:07:06 pm
Yup .. typo .. you've got 2 oo's in Downlooads :)
Title: Re: Navigating to folders in terminal
Post by: Ava on April 03, 2011, 02:24:13 pm
...oh dear. Well, that makes sense >.> Oops... thanks for spotting that, lol.

Edit - it still does the same thing with it spelled correctly :/
Title: Re: Navigating to folders in terminal
Post by: Mark Greaves (PCNetSpec) on April 03, 2011, 02:29:16 pm
if the nautilus /home/lucy/Downloads/rawstudio-1.1 command worked and opened nautilus in the rawstudio-1.1 directory ...

so should:
Code: [Select]
cd /home/lucy/Downloads/rawstudio-1.1
or
Code: [Select]
cd ~/Downloads/rawstudio-1.1

and you should end up at this prompt:
lucy@Lumae:~/Downloads/rawstudio-1.1$

Try changing the current directory, one directory at a time...

Code: [Select]
cd ~
then
Code: [Select]
cd Downloads
then
Code: [Select]
cd rawstudio-1.1

at the very least you'll see where it's falling over.
Title: Re: Navigating to folders in terminal
Post by: Ava on April 03, 2011, 03:00:30 pm
It's working now :)

It got some of the way through configuring... then came up with this:
configure: error: *** Rawstudio requires libjpeg.

I looked on the Synaptic Package Manager, and it says I do have 'libjpeg62' installed, which is the latest version. Do I need 'libjpeg62-dev' or 'libjpeg-dbg' as well? I don't know if this is specific to the program though, so if you don't know what I'm talking about don't worry about it :)
Title: Re: Navigating to folders in terminal
Post by: Mark Greaves (PCNetSpec) on April 03, 2011, 03:00:46 pm
You do realise rawstudio 1.2-5 is available in the repos don't you?
Title: Re: Navigating to folders in terminal
Post by: Ava on April 03, 2011, 03:03:49 pm
Oh, I didn't even consider it would be...  that was easier... Thank you  :)
Title: Re: Navigating to folders in terminal
Post by: Mark Greaves (PCNetSpec) on April 03, 2011, 03:06:13 pm
gimp-dcraw and/or gimp-ufraw *may* be easier to use... they'll import RAW images directly into the GIMP.

both in the repos.
Title: Re: Navigating to folders in terminal
Post by: Ava on April 03, 2011, 04:22:23 pm
Ok, I've installed gimp-dcraw (only lets me install one or the other) - I really like this program so I'll be using it for most of the editing, but it'll definitely help to be able to edit them more in Gimp afterwards. :)
SimplePortal 2.3.3 © 2008-2010, SimplePortal