LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2015, 02:08 PM   #1
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 214

Rep: Reputation: 8
usr/bin


given that im in the home directory, what cli command should i typoe to get access to my documents folder which i can clearly see in the gui but cannot seem to access.

i thought logically it should be /home/files/documents or perhaps /home/user/files/documents

where am i being a dweeb!!!!!....... again
 
Old 02-08-2015, 02:20 PM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 981
Blog Entries: 2

Rep: Reputation: 235Reputation: 235Reputation: 235
/home/dunnery/Documents would not surprise me. ~/Documents for short.
 
Old 02-08-2015, 03:18 PM   #3
chris2k
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
simple type "cd ~".
That brings you to your home directory.
Then type "pwd" and you will see the path where you are.

Bye
Chris
 
Old 02-08-2015, 03:47 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
And if you type "ls", you will see all files and directories in that directory.
 
Old 02-08-2015, 06:53 PM   #5
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 214

Original Poster
Rep: Reputation: 8
getting there

ok guys, i understand the cd command and it took me to /home/user
i made a ls command and it listed all the the files in that directory
Desktop Downloads Music Public Videos
Documents examples.desktop Pictures Templates

but when i type /home/user/music it tells me
bash: /home/user/music: No such file or directory

?????? surely this is messed up? is my system messed up or am I missing the point? if the music directory is inside of the home/user directory doesnt it make sense that I simply add it on to the end of the command list?
im trying to find out what songs are in the music folder
 
Old 02-08-2015, 07:01 PM   #6
capt ron
LQ Newbie
 
Registered: Aug 2003
Location: Albuquerque New Mexico
Distribution: LinuxMint 17
Posts: 21

Rep: Reputation: 2
Try:

/home/username/Music

where username is the user name you logged into the session with. Also, path names are case sensitive so /home/username/music is not the same as home/username/Music
 
1 members found this post helpful.
Old 02-08-2015, 07:11 PM   #7
dunnery
Member
 
Registered: May 2010
Location: East Stroudsburg
Distribution: Debian Jessie
Posts: 214

Original Poster
Rep: Reputation: 8
greatstuff. it was not showing because the Music directory starts with a capital M and linux cli is case sensitive
thank you
 
Old 02-09-2015, 05:17 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Actually, Linux is case sensitive for pretty much everything ....
You may find this worth a read http://rute.2038bug.com/index.html.gz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or director irlogo Red Hat 5 03-12-2012 05:38 AM
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 05:00 AM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 09:33 AM
Failed to chck remot comnd executin using shells /usr/bin/ssh and /usr/bin/rsh farnaw4u Linux - Software 2 04-06-2009 01:08 AM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 02:02 AM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration