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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.