Neither are actually files. They are references to directories, the current one and the parent directory, respectively. They can be used in file copy and move operations in place of explicitly printing the directory names. For instance:
mv ./* ..
would move all files from the child directory into it's parent.
Chat with our AI personalities