LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   zcat command created link in home directory (https://www.linuxquestions.org/questions/linux-newbie-8/zcat-command-created-link-in-home-directory-876285/)

EDDY1 04-21-2011 03:56 AM

zcat command created link in home directory
 
I recently executed
"zcat /boot/initrd.img-2.6.32-5-686 | cpio -i"
during experiment, now there are links in my home directory. Is it safe to remove as I have no plans to do anything with it.
Also I would like to know if there's a way create new column in file-manager that shows date of creation of files.

David the H. 04-21-2011 04:30 AM

1) The command copies data, so the original is left untouched. It should be safe to remove the copies.

2) *nix doesn't have a concept of a file creation date. The three types of date information it stores are atime, mtime, and ctime.

atime is the last time the file was accessed.
mtime is the last time the file contents were modified.
ctime is the last time the file metadata (such as permissions) were changed.

It may help to think of a file "modification" as destroying the original and replacing it with an updated version.

Your file browser should have options for displaying all three types.

EDDY1 04-21-2011 04:41 AM

Thank you that was definately what I wanted to know.
As far as date of creation, I do so many things on this machine, I sometimes forget when I did it.
I usually make a personal log but thought it would be easier with date of craetion.

EDDY1 04-24-2011 05:37 AM

Thank you David The H
I was able to remove all the files that were created by zcat command.
I didn't want to go through changing permissions so I opened terminal

cd /home/<user name>
ls
rm -rf <dir name>.


All times are GMT -5. The time now is 04:43 PM.