LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2011, 03:56 AM   #1
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.

Last edited by EDDY1; 04-21-2011 at 04:00 AM.
 
Old 04-21-2011, 04:30 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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.
 
1 members found this post helpful.
Old 04-21-2011, 04:41 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
Old 04-24-2011, 05:37 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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>.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KNOPPIX Linux - User's Home Directory Not Getting Created Hi_This_is_Dev Linux - Server 6 09-26-2009 05:12 PM
files are created in my /home directory sycamorex Linux - Security 3 08-02-2008 04:19 PM
useradd - No home directory is created ]SK[ Linux - Newbie 16 07-14-2008 01:35 PM
Defining home directory of a newly created user?? ggarrette Linux - Newbie 4 07-01-2008 02:47 PM
Created new home directory and lost my files jnewby72 Linux - General 4 01-25-2006 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration