LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2011, 04:21 PM   #1
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Rep: Reputation: 3
Files are present in Gnome but not there from the command line?


Friends:

I have an Acer Aspire 5100 with Ubuntu 10.04 running. Recently I loaded from a storage drive all of my music library which happens to be in its orignal wav format. I was going to convert it to mp3 using lame or some other program. I worked with the files using the command line with some success. The files were there when I did this. No problem.

I came back to the computer after several days absence and when I got to a commandline I entered "ls -l" no files. Yes I went to the right directory. I logged in as Root no help. The files are not there according to the command line as far as I can tell.

Using Gnome the files are available and playable via the desktop. Are the files there or not?

Gary Baker
 
Old 05-12-2011, 05:29 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you leave them on the removable drive ?
or did you copy them to a new folder ?
 
Old 05-13-2011, 12:45 PM   #3
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Original Poster
Rep: Reputation: 3
Copied them to a new folder on the desktop.
 
1 members found this post helpful.
Old 05-13-2011, 12:49 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
When you say that the output of 'ls -l' is nothing, can you post the output of 'pwd' from the same directory?
 
Old 05-13-2011, 12:51 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by sycamorex View Post
When you say that the output of 'ls -l' is nothing, can you post the output of 'pwd' from the same directory?
I would be interested in the output of:
Code:
alias
ls -alh /home/
whoami
pwd
ls -alh /home/your_username/your_foldername_onthe_desktop

Last edited by szboardstretcher; 05-13-2011 at 12:58 PM.
 
Old 05-13-2011, 01:26 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the desktop is a special type of folder


and is not the default folder that the terminal opens to
you would need to cd it the "Desktop" after opining a terminal

for a normal standard user the terminal opens up to " ~ " ( your /home/YourUserName folder )

Last edited by John VV; 05-13-2011 at 01:32 PM.
 
Old 05-15-2011, 05:44 PM   #7
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Original Poster
Rep: Reputation: 3
gjb@gjb-laptop:~$ alias
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'
gjb@gjb-laptop:~$ ls -alh /home/
total 12K
drwxrwxrwx 3 root root 4.0K 2011-04-02 10:08 .
drwxr-xr-x 22 root root 4.0K 2011-04-02 10:10 ..
drwxrwxrwx 36 gjb gjb 4.0K 2011-05-15 15:28 gjb
gjb@gjb-laptop:~$ whoami
gjb
gjb@gjb-laptop:~$ pwd
/home/gjb
gjb@gjb-laptop:~$ ls -alh /home/gjb/Desktop/Music
total 8.0K
drwxrwxrwx 2 gjb gjb 4.0K 2011-05-14 08:45 .
drwxr-xr-x 3 gjb gjb 4.0K 2011-05-14 08:53 ..
gjb@gjb-laptop:~$ ^C
gjb@gjb-laptop:~$
 
Old 05-15-2011, 08:51 PM   #8
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
In addition to ls -l, could you try ls -al?

In gnome, if you "right-click" on the icon, you get the properties among which is the actual file name with path. It will also tell you the permissions. As others said, you should cd to the containing folder and list.
 
Old 05-15-2011, 09:34 PM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
To make this easier, could you cd to your /home/gjb/Desktop directory, and give us the output of ls -al for us?
 
Old 05-15-2011, 10:39 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well i only used the desktop folder for links and launchers
never did like using the desktop for storing files or building software
not even in the old days on MS xp and NOT in linux
 
Old 05-15-2011, 10:44 PM   #11
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by John VV View Post
well i only used the desktop folder for links and launchers
never did like using the desktop for storing files or building software
not even in the old days on MS xp and NOT in linux
Yeah same here... I keep all my files organized within my home directory. I have nothing in the Desktop directory at all; I even have my icons disabled on the desktop. It's all conky'd up
 
Old 05-15-2011, 11:39 PM   #12
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
If you run the below command form your home directory, you should be able to find your wav files
Code:
find . -iname "*.wav" -print
Below example (for png files, did not have wavs)
Code:
wim@btd-techweb01:~$ find . -iname "*.png" -print
./commandcentre2/ils/web/images/overlay.png
wim@btd-techweb01:~$
 
Old 05-16-2011, 07:22 PM   #13
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Original Poster
Rep: Reputation: 3
I figured it out. It was a permission problem. Some of the files were not readable and the permissions are not readable by linux. I changed the directories and low and behold it worked. Thanks for the help.
 
  


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
Booting to command line instead of GNOME itguy12 Linux - Newbie 6 05-24-2010 06:48 PM
Is command line invocation of gnome-terminal to run more than one command possible? narnie Programming 4 02-17-2010 10:39 PM
join 2 text files based on first number present in every line of the 2 text files markraem Linux - Software 4 01-25-2010 06:26 AM
gnome panel command line zlya Linux - Desktop 2 09-17-2008 02:30 AM
Can Gnome and the command line live together? doowttam Linux - Newbie 3 07-06-2006 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:30 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
Open Source Consulting | Domain Registration