Home directory issue (28 Views)
Reply
Super Advisor
Trng
Posts: 341
Registered: ‎03-15-2007
Message 1 of 5 (28 Views)

Home directory issue

Gurus,

OS:HPUX 11.11

My home /home/saty172 directory showing 88% in use ,but when i looked in /home/test,found 2 directorys named . and .. what is this ? and the number of links showing 1342 for the directory .. ,how to proceed with this ..pls find the attachement for more dtls

rgds
suresh
administrator
Please use plain text.
Advisor
John Fjeldberg
Posts: 17
Registered: ‎08-28-2007
Message 2 of 5 (28 Views)

Re: Home directory issue

well,
the dot directory (.) should be the reference to the current directory, so if you wanted to e.g. execute a file in the current directory you could do the command "./someprogram", and the doubledot (..) is the parent directory, in case you want to change back to the previous one "cd ..".

From the attached file it doesn't look like you have much in your home dir, so I assueme there are other directories under "/home" ?
Please use plain text.
Super Advisor
Trng
Posts: 341
Registered: ‎03-15-2007
Message 3 of 5 (28 Views)

Re: Home directory issue

Thanks

administrator
Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,079
Registered: ‎02-23-2005
Message 4 of 5 (28 Views)

Re: Home directory issue

> [...] when i looked [...]

As usual, it would help if you showed the
actual command you used to look at the
directory contents.

Every directory should include "." and "..".

"ls -a" includes them in its output.

"ls -A" omits them from its output.

For more details, "man ls":

[...]
If you are a user with appropriate privileges, all files except . and
.. are listed by default.
[...]
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,881
Registered: ‎03-06-2006
Message 5 of 5 (28 Views)

Re: Home directory issue

>the number of links showing 1342 for the directory

This says you have 1341 other home directories you need to look at.

Try: du -kxs /home/*

>John: so I assume there are other directories under /home?

Right, all 1342 of them.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation