Showing results for 
Search instead for 
Do you mean 

Home directory issue

Super Advisor

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
4 REPLIES

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" ?
Super Advisor

Re: Home directory issue

Thanks

administrator
Honored Contributor

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.
[...]
Acclaimed Contributor

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.