file access in unix..please help


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting file access in unix..please help
# 1  
Old 04-03-2009
file access in unix..please help

Hi im using solaris. In ma unix system i had a perl file called cleanup.pl which deleted all my files in my system.Is there a way to know when this file was accessed( rather executed ) and by which user ???? basically i wan to know a way to know which user had accessed( or run the particular perl script ) a particular file in my system.
# 2  
Old 04-15-2009
1. Find the last access time of a file

ls -lu FILENAME

which will show the last access time of that file where without -u you can see the last modified time.

2. Finding which user has executed

If you have enabled process accounting you can ..
Else you need to go through the history of all users to find out who did it.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Virtualization and Cloud Computing

Need to use UNIX to access a file from "the cloud"

Normally files are given to us via FTP and we use a program (DMX) to pull that file into our database. I have been told that we will be receiving a new file via "the cloud" and I need to prepare a method to access and otherwise process this file using UNIX/LINUX. I realize my request raises more... (1 Reply)
Discussion started by: craigwg
1 Replies

2. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

3. UNIX for Dummies Questions & Answers

Unix File Access Right

Hi all, I am curious what does this mean for? My file access right is denoted as xxx xxx xxx +, what does the + sign mean? As I am having + sign in file access, I am not able to copy the file that is having + sign. Thanks. (13 Replies)
Discussion started by: jessy83
13 Replies

4. Programming

Unix File has 000 access when written

Good day! I would just like to ask about an issue I encountered. There is a Java program (version1.3) that we use that is hosted in Unix (HP-UX B.11.11 U), and one of its functions copies a file and writes it to another directory. It usually runs fine, but one day, it wrote a file that had 000... (2 Replies)
Discussion started by: mike_s_6
2 Replies

5. Shell Programming and Scripting

How do I access the create date from Windows after the file has been FTP'd to UNIX ?

I run an application that creates a hostname_log.txt file on the c:\ of each windows workstation. At the end of each day, these log files are FTP'd to a directory on a UNIX box. When I run "ls -lrt", the timestamp that is displayed is the timestamp that the FTP occured, not the timestamp... (2 Replies)
Discussion started by: gavman99
2 Replies

6. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

7. UNIX for Dummies Questions & Answers

how to share the unix file for other client 's access

Hi , I am new to the unix . And right now I have a unix machine "test" . I want to share a folder in the /opt/example .AND I hope when I use a windows machine to access the unix machine ,ep:start->cmd->\\test,I can see the shared folder "example", what shall I do thanks :) (2 Replies)
Discussion started by: floopw
2 Replies

8. UNIX for Dummies Questions & Answers

Need Someone With Access To Unix Terminal

Any chance someone could look up the Whois for www.weddingchannel.la and www.art.la at the following link: whois -h whois.afilias-grs.info domainname.la Thanks in advance!!! rdm (4 Replies)
Discussion started by: rdm
4 Replies

9. UNIX for Dummies Questions & Answers

Using Access on Unix

Hi everybody, my question is how to run an Access Database under Unix? I need to do that for a Web Application. Links or anything about this topic would be helpful!!! thanx luna (3 Replies)
Discussion started by: luna
3 Replies
Login or Register to Ask a Question