Author Topic: Navigating to folders in terminal  (Read 7364 times)

0 Members and 1 Guest are viewing this topic.

Offline Ava

  • Jr. Member
  • **
  • Posts: 22
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Navigating to folders in terminal
« 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...

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18210
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Navigating to folders in terminal
« Reply #1 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.
« Last Edit: April 03, 2011, 01:52:10 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ava

  • Jr. Member
  • **
  • Posts: 22
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Navigating to folders in terminal
« Reply #2 on: April 03, 2011, 01:51:18 pm »
Ahh, of course... thanks!  :)

Offline Ava

  • Jr. Member
  • **
  • Posts: 22
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Navigating to folders in terminal
« Reply #3 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? :(

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18210
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Navigating to folders in terminal
« Reply #4 on: April 03, 2011, 02:07:06 pm »
Yup .. typo .. you've got 2 oo's in Downlooads :)
« Last Edit: April 03, 2011, 02:19:04 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ava

  • Jr. Member
  • **
  • Posts: 22
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Navigating to folders in terminal
« Reply #5 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 :/

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18210
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Navigating to folders in terminal
« Reply #6 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.
« Last Edit: April 03, 2011, 02:53:09 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ava

  • Jr. Member
  • **
  • Posts: 22
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Navigating to folders in terminal
« Reply #7 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 :)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18210
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Navigating to folders in terminal
« Reply #8 on: April 03, 2011, 03:00:46 pm »
You do realise rawstudio 1.2-5 is available in the repos don't you?
« Last Edit: April 03, 2011, 03:22:35 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ava

  • Jr. Member
  • **
  • Posts: 22
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Navigating to folders in terminal
« Reply #9 on: April 03, 2011, 03:03:49 pm »
Oh, I didn't even consider it would be...  that was easier... Thank you  :)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18210
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Navigating to folders in terminal
« Reply #10 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.
« Last Edit: April 03, 2011, 03:23:51 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Ava

  • Jr. Member
  • **
  • Posts: 22
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Navigating to folders in terminal
« Reply #11 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