list directory in RedHat

Try to list out the access right on sourcecode directory :

$ ls -al sourcecode
total 16
drwxr-xr-x    2 oocio    oocio              512 Aug 17 09:46 .
drwxr-xr-x    6 samin   samin            512 Aug 17 09:46 ..

What does "." and ".." represent ? Does directory sourcecode has been granted to user "oocio" ? Tks
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shiju JacobInfo Security ManagerCommented:
./ usually denotes the current folder that your program or script is in, usually the same one with the file you run.
    ../ denotes the folder above the current one.
Dan CraciunIT ConsultantCommented:
Every folder contains a . and a .. entry.

. means the directory itself. It is called the current directory.
.. means the directory's parent directory, that is, the directory that contains it.

That's why you can type cd .. and get to the parent directory.

From your listing, the current directory is owned by user oocio, from group oocio.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.