Sponsored Content
Full Discussion: history of a file
Top Forums Shell Programming and Scripting history of a file Post 302238353 by pradeep_script on Friday 19th of September 2008 04:28:30 PM
Old 09-19-2008
Bug history of a file

Hi every one,

Plz help me, what commands are helpful to know the complete history of a file in unix .
like, ls -lrt will give the group & user created & time last accessed.

I need to know particularly where that file come from like from which machine it is ftp'ed.

Thanks.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File History

Hi all, A small help from u....... i just want to know is there any command to get the history of given file such as file creation date, next modified dates etc... Thank you Chanakya (2 Replies)
Discussion started by: Chanakya.m
2 Replies

2. UNIX for Dummies Questions & Answers

history of a file

Hi, Is it possible to trace out the history of file in unix? iam using HP-Ux11,i have a file modified by some one with the common account.is it possible to get the IP or machine name of the user who modified this?how to trace out this? Thanks for help (2 Replies)
Discussion started by: sudhasudheer
2 Replies

3. UNIX for Dummies Questions & Answers

history file

how can we view the commands that are executed in the tty1 being in tty2:confused::confused::confused: is there a way? (6 Replies)
Discussion started by: shaziafathima
6 Replies

4. Shell Programming and Scripting

History file copy

Hi Gurus, I have written one profile validating script and it is called from profile file while loading. Now i would like to know how to capture commands executed by user on exit to one file . As to make simple, when i exit from su - oracle ,what all commands are written in .sh_history file... (2 Replies)
Discussion started by: oramnts
2 Replies

5. UNIX for Dummies Questions & Answers

How to review the history and the commands that has been done in this history?

Hello every body, Kindly inform me How Do i find out the time I executed a command previously on UNIX Solaris?? To be more specific and more clear about what i want to know is that I want a command the enables me to know the history and which command i run at this history/time. FYI I used... (5 Replies)
Discussion started by: ahmedamer12
5 Replies

6. UNIX for Advanced & Expert Users

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies

7. HP-UX

History file

Hi Experts, Need your help in understanding the configurations related to history file. I have few questions regarding this. (i) Where I can configure the file in which command history would be stored. On my hp-ux box, for one user history is stored in .history file whereas for... (3 Replies)
Discussion started by: sai_2507
3 Replies

8. UNIX for Dummies Questions & Answers

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies

9. UNIX for Advanced & Expert Users

Who has modified a file - History?

Hello, I'd want to know who and what time has modified a file in unix (history). I'd like to know all people who has modified a file. Thanks in advance (6 Replies)
Discussion started by: nurinolo
6 Replies

10. What is on Your Mind?

The Great History of UNIX (1969-1999) | 30 Years of UNIX History | YouTube Video

I am pleased to announce this new video in 1080 HD for UNIX lovers honoring thirty years of UNIX history spanning from 1969 to 1999 presented in 150 seconds (two and a half minutes) in 1080 HD, celebrating the 50th anniversary of UNIX. The Great History of UNIX (1969-1999) | 30 Years of UNIX... (8 Replies)
Discussion started by: Neo
8 Replies
netrc(4)							   File Formats 							  netrc(4)

NAME
netrc - file for ftp remote login data DESCRIPTION
The .netrc file contains data for logging in to a remote host over the network for file transfers by ftp(1). This file resides in the user's home directory on the machine initiating the file transfer. Its permissions should be set to disallow read access by group and oth- ers. See chmod(1). Tokens can be separated by SPACE, TAB, or NEWLINE characters. The following tokens are supported: account string Supply an additional account password. If this token is present, the auto-login process supplies the specified string if the remote server requires an additional account password. If the remote server does not require an additional account password, the auto-login process initiates an ACCT command. default Same as machine name, except that default matches any name. There can be only one default token, and it must be after all machine tokens. The default token is normally used as follows: default login anonymous password user@site Such an entry gives the user automatic anonymous ftp login to machines not specified in .netrc. login name Identify a user on the remote machine. If this token is present, the auto-login process initiates a login using the specified name. machine name Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are processed, stopping when the EOF is reached or another machine token is encountered. macdef name Define a macro. This token functions the same as ftp macdef. A macro is defined with the specified name; its contents begin with the next .netrc line and continue until a null line (consecutive NEWLINE characters) is encountered. If a macro named init is defined, it is automatically executed as the last step in the auto-login process. password string Supply a password. If this token is present, the auto-login process supplies the specified string if the remote server requires a password as part of the login process. If this token is present in the .netrc file, ftp aborts the auto-login process if the .netrc is readable by anyone besides the user. skipsyst Skip the SYST command that is sent by default to all remote servers upon connection. The system command is what enables the automatic use of binary mode rather than the protocol default ascii mode. As some older servers cannot handle the ftp command, this directive is provided to allow inter-operability with these servers. EXAMPLES
Example 1 A Sample .netrc File A .netrc file containing the following line: machine ray login demo password mypassword allows an autologin to the machine ray using the login name demo with password mypassword. FILES
~/.netrc SEE ALSO
chmod(1), ftp(1), in.ftpd(1M) SunOS 5.11 25 Aug 2006 netrc(4)
All times are GMT -4. The time now is 03:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy