Solved

dot directory in FreeBSD???

Posted on 2016-08-18
4
87 Views
Last Modified: 2016-08-18
I'm trying to figure out what the very top (dot) directory is, and why it shows that it was created today.

dot directory
0
Comment
Question by:hrolsons
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 41761553
I believe it is telling you it was modified today, not created.  Every time you change one of the entries in that directory, it will be updated / modified.  All operating systems do that as far as I know.
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 250 total points
ID: 41761572
the "." stands for the directory you are currently in. The ".." stands for the directory below your current directory (or parent directory).

As mentioned above, the date/time you see is just for when last something changed in that directory. From the structure it looks as if it is a user's home directory you are in, and whenever a user logs into his home directory and does something, changes get written to it, so this is absolutely normal.
0
 

Author Comment

by:hrolsons
ID: 41761597
Actually it is my /tmp directory.  A hacker has been using that directory to send spam.  I've taken steps to stop them, and I wan't to make sure they are out by monitoring this directory.

No files in that directory have changed today:

directory 2
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 41761600
No files in that directory have changed today:
That is pretty unlikely in a 'tmp' directory.  All that needs to change is something like the size or permissions of one of the files for 'modified' date to change.  

A 'directory' is a special file that contains information about files in that directory.  Even the smallest change to one of those files will update the 'modified' date for the directory.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Securing Azure Oracle instance of Linux VM 4 65
error log using ftp 7 56
SMB share across internet 15 65
what do I need to host my own web sites? 13 50
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question