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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-19-2003, 06:07 PM
|
#1
|
Member
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102
Rep:
|
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.
|
|
|
06-19-2003, 06:12 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
. 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??
|
|
|
06-19-2003, 08:01 PM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,415
|
...or someone saved it with a space?
Use "ls -alQ" to see all and with quoted names.
|
|
|
06-19-2003, 08:56 PM
|
#4
|
Member
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102
Original Poster
Rep:
|
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.
|
|
|
06-19-2003, 09:22 PM
|
#5
|
Member
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944
Rep:
|
'.' 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
|
|
|
All times are GMT -5. The time now is 01:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|