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 06-19-2003, 07:07 PM   #1
NiallC
Member
 
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102

Rep: Reputation: 15
What am I seeing?


Hello,

(Suse 8.1, 2.4Ghz system, 1Gig Ram - no extra applications installed at this time)

In playing around with directory commands, as root, I came across :

>Snip

linux:/home/niallc/Desktop/Trash # dir
total 6005
drwx------ 2 niallc users 160 2002-01-02 10:52 .
drwx------ 3 niallc users 456 2002-01-02 10:52 ..
-rw-r--r-- 1 niallc users 1037 2003-06-18 04:28 .directory
-rw-r--r-- 1 niallc users 3583167 2002-01-02 10:10 gaim-0.64-1.src.rpm
-rw-r--r-- 1 niallc users 2555742 2002-01-02 10:13 gaim-0.64.tar.gz.par t

>Snip

Questions:

- I recognize the last two entries. What are the top three entires, and why only visible as root?

- what does the "t" stand for?


Thanks in advance...still trying to learn my way around!

Niall.
 
Old 06-19-2003, 07:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
. is your current directory
.. is the parent directory (up one level)
.directory is a hidden directory
the t.... erm.. a remnant from some download program? i'm guessing it is "part" as in a partial download??
 
Old 06-19-2003, 09:01 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
...or someone saved it with a space?
Use "ls -alQ" to see all and with quoted names.
 
Old 06-19-2003, 09:56 PM   #4
NiallC
Member
 
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102

Original Poster
Rep: Reputation: 15
OK,

but when I deleted all contents and ran dir again, I got:

total 4
drwx------ 2 niallc users 80 2002-01-02 13:49 .
drwx------ 3 niallc users 456 2002-01-02 10:52 ..
-rw-r--r-- 1 niallc users 1037 2003-06-18 04:28 .directory


Again, my question is, if everything is deleted, then what am I looking at? There's no visible directories?

I guess what I want to know, are these folders that Suse inserts by default? Are they used by any application?

TIA

Niall.
 
Old 06-19-2003, 10:22 PM   #5
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
'.' and '..' are in every folder (try typing 'ls -a' in any folder). They simply refer to the folder itself and the folder above it. Anything with a '.' and then something after it refers to a hidden directory. I don't believe these are automatically deleted along with the visible contents of the folder, but I'm sure someone else can clear that up.

-JMagi
 
  


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




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