Software :: Find Out Who Has Modified / Edited A File?

Jan 27, 2011

I use RadHat Linu5.

We usually log in to LINUX via putty (remote). Very often many people use the same user and password to log in.

how to tell who has edited/modified a file?

View 9 Replies


ADVERTISEMENT

Red Hat / Fedora :: How To Find Out Who Has Modified/edited A File

Jan 27, 2011

I use RadHat Linu5.We usually log in to LINUX via putty (remote). Very often many people use the same user and password to log in.I wonder how to tell who has edited/modified a file?

View 9 Replies View Related

Programming :: Script To Find Out Modified Date For Particular File

Jul 9, 2010

I am new to Scripting. I am trying to find out particular file is modified in last one hour or not in script and then if that file is modified in last one hour i need to copy that file to another directory.Can any one please provide me how to check the file is modified in one hour or not?

View 3 Replies View Related

Ubuntu :: Find Last Modified File In Current Directory And All Subdirectories?

May 28, 2010

I need to write a script that is given a directory as an argument, and it prints the last modified file from that directory and all its subdirectories.

for example:

$ newest /usr/etc
--> /usr/etc/httpd/httpd May 28 12:16

If I had to do it only for the current dir, it would be easy...I'd probably use "ls -lt" and then show only the first line...

View 1 Replies View Related

General :: Find And Sort Results By Date Modified

Jun 7, 2011

so I was wondering how I could do a simple find which would order the results by most recently modified. Here is the current fine I am using. (I am doing a shell escape in php, so that is the reasoning for the variables. find '$dir' -name '$str'* -print | head -10

How could I have this order the search by most recently modified. (Note I do not want it to sort 'after' the search, but rather find the results based on what was most recently modified)

View 4 Replies View Related

General :: Find The Directory With Latest Modified Content?

Sep 29, 2010

how to find the latest modified directory. I know that the command 'ls -rtl' gives the latest modified file/directory at the end. But my specific requirement is: If I create two directories named dir1, dir2 in the same order. so now my latest modified directory is "dir2". Now inside each directories, I created a file. Now in the last, I modify the file in "dir1". So overall, the content of dir1 got modified recently. If I use the command 'ls -rtl', this will still show dir2 as latest, as it is created recently. But I want the directory in which any internal content at any sub-hierarchy modified recently. so with what linux command I'll get this latest modified directory (dir1)?

View 3 Replies View Related

General :: Find All Files Modified In Date Range

Apr 30, 2010

I need to know all files modified within a date and time range.E.g: All modified files between 20 April 2010, 1100-1200 Hrs."find / -mtime +10 ! -mtime +11" :: this i found for date but how to include time as well.

View 2 Replies View Related

OpenSUSE Install :: Integrate The Two Dir Into The Edited File?

Jul 28, 2010

I unpacked a .zip file, and it gave me two directories. Which file must I edit, and how do I integrate the two dir into the edited file?

View 3 Replies View Related

Ubuntu Installation :: Edited File Now Cannot Update

Oct 6, 2010

Last week I attempted to install some software on my computer (on ubuntu) and I edited a couple of files now I can't update ubuntu. I get 2 error messages:
1. Not all updates can be installed.
- I select partial update
2.Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
This is most likely a transient problem, please try again later.
How can I resolve this issue. I don't remember what files I edited to reverse the damage.

View 1 Replies View Related

General :: Save A File Edited With VI Editor?

Feb 13, 2011

How do I save a file edited with the VI editor? How do I get help information on this program?

View 1 Replies View Related

General :: Parsing File Dates - Get The Date Of The Last Time A File Was Modified ?

Jan 11, 2010

I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.

View 2 Replies View Related

General :: Shell Script That Adds Users Name To A File When The File Is Modified?

Mar 30, 2010

I need a shell script that will add the users name and date to a file when the user has modified the file, these files are within a group and only accessible to this group. But we need a way for people in the group to know who and when the file was last modified.

View 1 Replies View Related

General :: BashSR File Edited Wrongly - Sudo Command Not Found

Sep 20, 2010

I had edited the bashsr file wrongly in my ubuntu while trying to put a "export" command in bashsr for javac. Next when i am writing sudo , its saying :
Command 'sudo' is available in '/usr/bin/sudo'
The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found

View 3 Replies View Related

Programming :: How To Know A File Is Modified

May 3, 2011

I want to know what system call is used in linux C programming is used to know whether a file is modified. I know that make utility compiles the file using the modification dates only. I want know how to find whether the file is modified or not.

View 4 Replies View Related

Ubuntu :: Prevent File From Being Modified?

Mar 1, 2011

In /etc/default/rcS I have set FSCKFIX=yes. This solves a recurring 'no init found' problem that prevents my machine from booting. Occasionally however, the setting reverts (by itself somehow) to FSCKFIX=no. Thus my machine cannot boot. Is there a way that I can prevent this file from being changed?

View 1 Replies View Related

General :: Smbclient Check File Modified Before 'get'

Oct 28, 2010

I checked the smbclient man but could not find any switch to us in combination with 'get' to check if the file has been modified before download.

View 1 Replies View Related

Ubuntu :: Search For File Modified At Specific Time

Aug 20, 2010

How do you find a file modified March 17, 2010, between 3:30 pm and 4:05 pm? I know that I must be missing something somewhere.How do you search for info like this? I goggled "search files time Linux" and got about 38,300,000 results. I looked through the first four pages and did not see what I was looking for.Do I need to calculate how many minutes ago that is and give that to find.I really want to do this in the GUI so that I can operate on the files found without typing in so much stuff.

View 1 Replies View Related

General :: Modified The .rhosts - The Server Is No Longer To Accept Rcp File

Jan 12, 2011

I have a Redhat server that it is allowed rcp file from remote server, it is strange that after I modified the .rhosts, the server is no longer to accept rcp file , even I use other user to rcp files , the error is still "Permission denied", can advise what is wrong ? what daemon that I can try to restart ?

View 5 Replies View Related

Ubuntu :: Bluefish Annoying Message - File Has Been Modified By Another Process

Jan 27, 2010

I'm using Bluefish on my laptop to modify files on my desktop web server. The machines are networked with samba. Every time I save the files, I'm prompted with this window that says: File has been modified by another process. It gives me the option to cancel or overwrite. It's the only program that does this. I can click on overwrite and that works, but it's pretty annoying.

View 1 Replies View Related

Ubuntu :: 10.04 - 'Date Modified' Changed On File Copy To NTFS Partition?

Jul 6, 2011

Prior to making a fresh install of 10.04, I made a back up of all my documents by copying them to a NTFS partition. I did this my selecting files in File Browser, then right clicking and selecting the Copy command.

When I came to move the files back after the fresh install, I was mortified to find that all the file modification dates had changed to the date I copied them! I've lost all the original file dates, which was the principal way I sorted my files. I guess there's no way of getting it back? It seems that Linux does not store File Creation dates either so I'm stuffed.

View 3 Replies View Related

General :: Write Shell Script To Check The Modified Date Of A File ?

Jun 17, 2011

I have two linux servers, they are backup together.

1. Server 1 have 3 files with name: file1, file2, file3 in the path: /etc/sysconfig/network-script/.

2. Server 2 have 3 files with name and path are the same as server 1.

- How to make a script to copy 3 files at server1 to overwrite on server2. But before overwrite, this script will check and compare the last modified date of these 3 files(on server1 and server2). if the modified date of file1, file2 or file3 on server1 is newer than 3 files on server2 then overwrite process will do, if not, will do nothing.

- see my script as below: it works find now but just overwrite. not check last modified date.

View 1 Replies View Related

Ubuntu :: Accidently Modified My File System Of Some Partition In My Hard Disk From Ntfs To Fat

Apr 16, 2011

i accidently modified my file system of some partition in my hard disk from ntfs to fat...i havnt formatted the drive...but now i cannot mount this partition...

View 1 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

Apr 27, 2010

I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday

View 3 Replies View Related

Fedora :: Conf Files Couldn't Be Edited?

Jul 29, 2011

I installed vsftpd on my fedora 15 system. I tried to edit vsftpd.conf through gedit

(as root su - command). It showed an error message. I couldn't edit this file. Is there any way to revert my system to gnome 2.30(which is better to work ) from gnome 3

View 4 Replies View Related

Ubuntu :: Lockdown Panels In Xfce So They Can't Be Edited?

May 20, 2010

Is there a way to lockdown the panels in xfce so they can't be edited? There used to be a way using an xfce kiosk mode but the documentation for it is really outdated and the files it references don't exist anymore.

See http://wiki.xfce.org/howto/kiosk_mode for the outdated documentation

View 2 Replies View Related

Ubuntu :: Open Spreadsheet To Last Cell Edited?

Apr 8, 2011

Is there any way to make an OpenOffice spread sheet open to the last cell that was edited? I have a friend that has a very large spreadsheet, and would like to have it open to where he left off, rather than cell A1. He says excel does, or can be made to do this.

View 3 Replies View Related

Ubuntu :: Edited Xorg.conf And PC Won't Start

Jun 7, 2011

My PC running 11.04 was showing a blank screen after every 10 mins while watching BBC iplayer (with all the screensaver and power saver settings switched to over 1 hour). The picture returned when I moved the mouse but it was still annoying.

So I googled for a solution and found this page [URL]. Based on this, I did the following in terminal:

"sudo gedit /etc/X11/xorg.conf"

Then when the text editor came up, I deleted 'EndSection' from the xorg.conf file, and added the following lines:

Section "ServerFlags"
Option "blank time" "0"
Option "standby time" "0"
Option "suspend time" "0"
Option "off time" "0"
EndSection

My problem: upon rebooting the computer, I just got a purple screen with the Ubuntu logo, it went no further. I tried booting with the livecd and removing the lines I added, but it wouldn't let me save the file. I also tried booting into recovery mode but I'm not very adept at the command line navigation stuff, so I don't know how to find or re-edit the file.

View 9 Replies View Related

Ubuntu :: Video Files Refuse To Be Edited?

Sep 1, 2011

Two video files on my external hard disk refuse to be deleted, renamed or moved. They keep giving the following error message

Error removing file: No such file or directory
or
Error renaming file: Input/output error

View 9 Replies View Related

General :: Wget Sent Edited Xml As Post Data?

Jul 8, 2010

To make an rpc call I need to sent an xml file as post data.I know how to do this with wget. It works fine when I have the xml already filled in (depending on the node values the response from the call is different).owever I want to be able to edit part of this file, and then sent that as post data using wget. can edit this file using sed (I dont want to rewrite the files each time this gets used; and it does get used alot, with alot of different values).

View 1 Replies View Related

General :: Find A File In Directories Without Using Find Command?

Aug 3, 2010

am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved