Is it possible to delete (.) and (..) directories from a directory ?

Solution Verified - Updated -

Issue

  • Is it possible to delete (.) and (..) directories from a directory ?

[root@localhost home]# ls -altr
total 12
drwxr-xr-x.  3 root     root     4096 Dec  2 11:38 . <---- here (directory)
drwxr-xr-x. 25 root     root     4096 Feb 16 22:03 .. <---- here (directory)

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content