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 08-16-2011, 12:29 PM   #1
dknewhoaz
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
ls command output


Hello, may question is with regard to the following output of the ls -al command:

What is the reason/meaning of the question marks ("?"), in the output display?


[abc123@myhost ~]$ ls -al /home/userid
total 0
?--------- ? ? ? ? ? .
?--------- ? ? ? ? ? ..
?--------- ? ? ? ? ? altblock.txt
?--------- ? ? ? ? ? bashdate
?--------- ? ? ? ? ? .bash_history
?--------- ? ? ? ? ? .bash_logout
?--------- ? ? ? ? ? .bash_profile
?--------- ? ? ? ? ? .bashrc
?--------- ? ? ? ? ? docblock.txt
?--------- ? ? ? ? ? .eclipse
?--------- ? ? ? ? ? .gtkrc
?--------- ? ? ? ? ? helloworld
?--------- ? ? ? ? ? host.amx.b110808.tar.gz
?--------- ? ? ? ? ? .kde
?--------- ? ? ? ? ? load
?--------- ? ? ? ? ? .mysql_history
?--------- ? ? ? ? ? .netrc
?--------- ? ? ? ? ? tss
?--------- ? ? ? ? ? Z2S0.so
?--------- ? ? ? ? ? Z2S2.so
?--------- ? ? ? ? ? Z2SA.so
?--------- ? ? ? ? ? Z2SH.so
 
Old 08-16-2011, 12:36 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
No x permission (for the user running ls) on the /home/userid directory?
 
Old 08-16-2011, 02:28 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!
Quote:
Originally Posted by dknewhoaz View Post
Hello, may question is with regard to the following output of the ls -al command:

What is the reason/meaning of the question marks ("?"), in the output display?


[abc123@myhost ~]$ ls -al /home/userid
total 0
?--------- ? ? ? ? ? .
?--------- ? ? ? ? ? ..
?--------- ? ? ? ? ? altblock.txt
?--------- ? ? ? ? ? bashdate
?--------- ? ? ? ? ? .bash_history
?--------- ? ? ? ? ? .bash_logout
?--------- ? ? ? ? ? .bash_profile
?--------- ? ? ? ? ? .bashrc
?--------- ? ? ? ? ? docblock.txt
?--------- ? ? ? ? ? .eclipse
?--------- ? ? ? ? ? .gtkrc
?--------- ? ? ? ? ? helloworld
?--------- ? ? ? ? ? host.amx.b110808.tar.gz
?--------- ? ? ? ? ? .kde
?--------- ? ? ? ? ? load
?--------- ? ? ? ? ? .mysql_history
?--------- ? ? ? ? ? .netrc
?--------- ? ? ? ? ? tss
?--------- ? ? ? ? ? Z2S0.so
?--------- ? ? ? ? ? Z2S2.so
?--------- ? ? ? ? ? Z2SA.so
?--------- ? ? ? ? ? Z2SH.so
What's the file-system type of the device? If I only saw the
listing, and not the mount point the first guess would be
file-system corruption.
 
  


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
How to redirect the output of exec command output in perl? sudhap85 Linux - Newbie 3 08-28-2009 03:35 PM
[SOLVED] append command output to file by giving command in terminal sumeet inani Linux - Newbie 4 07-03-2009 10:36 AM
Grep on output of command returns all output traigo Linux - Newbie 2 02-24-2009 05:15 PM
How do I parse the output of a command that output to standard out? gauol Programming 9 01-17-2008 01:54 PM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 04:35 PM


All times are GMT -5. The time now is 08:17 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