How to find creation date of a file in RHEL 5
We have instances having RHEL 5.10 in our setup. The file system type shown using
df –T
says that file system type is ext3. The ls –ltr command seems to show the modification time but not created date.
I hope my question is clear on how to find the created date of a file in Red Hat Linux.
Requesting a reply to my query.
Regards
Hi,
I agree with Dude.
Also you can check the command find, this command has many options like:
-atime n
File was last accessed n*24 hours ago.
-cmin n
File’s status was last changed n minutes ago.
-ctime n
File’s status was last changed n*24 hours ago. See the comments for -atime to understand how
rounding affects the interpretation of file status change times.
-mtime n
File’s data was last modified n*24 hours ago. See the comments for -atime to understand how
rounding affects the interpretation of file modification times.¨
Best regards
Similar Messages
-
How to find creation date of a cron job in RHEL 5
We have instances having RHEL 5.10 in our setup. I wanted to know how to find the creation date of a cron job in RHEL 5. I was investigating a cron job, hence the query to know the creation date of a cron job.
I hope my question is clear.
Requesting a reply to my query.
RegardsSorry to have upset you, but I cannot understand your accusation. Could you please explain where you see aggression in my problem evaluation or where I implied "how dare you"?
I also provided an explanation why the cronfile in /var/spool/cron is not helpful. If I'm wrong, by all means, please let me and anyone else know.
If no filesystem is specified I assume the default file system, which under OL 6 is ext4 and xfs under OL 7. Furthermore I was assuming ext3 due to other questions the OP has been asking in a similar context, which you may have not seen. For example: How to find creation date of a file in RHEL 5 -
How to find CREATION DATE of a REPORT VARIANT
Hi Friends,
How to find the Creation Date of a Report Variant?
Regards,
VijiHello Vijaylakshmi,
You can find the Date of the variant created from the table VARID.
Go to the table VARID, You can find the report name, Variant name, EDat(Date on which variant was created), you will also find the time stamp at which the variant is created.
Hope this helps.....
If you need any further information then please l;et me know. ....
Regards,
Kittu
Edited by: Kittu on May 20, 2009 8:04 AM -
How to get creation date of a file created in application server?
Dear experts ,
I have some txt files in a particular path in application server .Suppose path is - \\PMICHSAPLA30\INTERFACE\\BCD\CO\OTC\SALES_RPT\test.txt.
I want to fetch the creation date of this txt file - test.txt . I tried with fm - ADS2KIPUPL_GET_FILE_ATTRIBUTES , but this will give proper out put.
I need to get file creation date. If today I am creating file - abc.txt, so according to this file I should get today's date as creation date.
Please suggest me.BEGIN OF ty_file,
line(400) TYPE c, "File names
END OF ty_file,
This is the structure declaration.
l_v_unixcom would be ls -l \\PMICHSAPLA30\INTERFACE\\BCD\CO\OTC\SALES_RPT\test.txt
now call
CALL 'SYSTEM' ID 'COMMAND' FIELD l_v_unixcom
ID 'TAB' FIELD i_file[].
and see contents of i_file[] it should have the details, post results so we can help further -
How to find creation date of a website in sun one webserver
Is there any way we can find the creation date of a website or virtual site hosted on Sun One Webserver 6.0 (any sp).
ThanksNo. First I access a site (in my intranet ) and then try to get the last modified date :
telnet vault.red.iplanet.com 80
Escape character is '^]'.
GET / HTTP/1.0
HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Mon, 18 Apr 2005 06:03:08 GMT
Content-length: 687
Content-type: text/html
Last-modified: Mon, 22 Mar 2004 21:47:32 GMT
Accept-ranges: bytes
Connection: close
<html>
<head>
<title>The Server Formerly Known As Netscape Enterprise</title>
<script language='JavaScript'>
var curTab = 0;
var tabSet = 1;
var typGroup = 0;
</script>
<link rel="shortcut icon" href="/favicon.ico">
</head>
<frameset rows='110,*' frameborder='no' border=0>
<frame src='/tabs.html' name='tabs' frameborder='no' scrolling='no' noresize marginwidth=0 marginheight=0>
<frameset cols='200,*' border=0 marginwidth=0 marginheight=0 frameborder='no'>
<frame src='/odds_ends.html' name='options' frameborder='no' noresize>
<frame src='/header_index.shtml' name='content' frameborder='no' noresize marginwidth=16 marginheight=16>
</frameset>
</frameset>
</html>
Connection closed by foreign host.
$ telnet vault.red.iplanet.com 80
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Mon, 18 Apr 2005 06:03:17 GMT
Content-length: 687
Content-type: text/html
Last-modified: Mon, 22 Mar 2004 21:47:32 GMT
Accept-ranges: bytes
Connection: close
Connection closed by foreign host. -
How to find which date's dmp file is loaded
Hi experts,
I have many export dmp files for all the dates.I refreshed the database with Nov'8 th dmp file,now i want to conclude that which date's dmp file[Nov 8th or Nov 9th like that] has been loaded to my database.Is there any way to find out that details?
Thanx in advance,
SenthilI'm pretty sure there isn't, unless you simply create a small table in the database with the current sysdate in it, before you do your export.
Also depends whats in your export - is it a full db? -
How to find Archive data In SAP
Hi experts ,
How to find Archive data in SAP throught the following tcodes FTWL & AS_afb.
Thnx
VenkyHello,
Transaction FTWL is for the DART files (not actually archived data) that are stored in your archive server. In order to run a query, or browse the DART file, you would need to "Import from archive" from within FTWL and then browse the file.
I am not sure what you mean by AS_afb. Please provide more information.
Regards,
Karin Tillotson -
How to find the Date and Time of Modification of Column in aTable?
Hi all,
Do you know how to find the Date and Time of Addition of Column to a Particular Table?.
I know however, How to find the modification time of the Table. Using the below Query :
Select Object_Name, to_Char(Last_DDL_TIME, 'DD-Mon-YYYY HH24:MI:SS') Last_DDL from User_Objects where Object_Type = 'TABLE';
Object_Name
Last_DDL
Employee
20-Aug-2013 09:23:03
I wanted to know the Creation or Modification Date and Timestamp of all columns of Employee Table?. Is it possible at all. If possible, How to get it?.
Regards,
Bhaskar MI agree with you on that. Since its a development enviornment I can remove the column but that not my point here.
My whole purpose it to know whether we get the Column's Creation or Modification DateTime. -
How to find login Date of a user
Hi,
Can someone please tell me how to find the date when a user logged into the messaging server.
What i am actually trying to do is as follows : I wan't to disable the account of a user if he does not access his mailbox for some time period.
The login date & time of a user can be seen from the logs but is there some other place/file where this is available?
Regards,
Shveta.The logs are the only place where this information is available, currently. We are going to address this in a future release of the mail server. I can't provide detailed specifics, but know that things will get better in future versions.
Regards,
Chad -
How to read the data from Excel file and Store in XML file using java
Hi All,
I got a problem with Excel file.
My problem is how to read the data from Excel file and Store in XML file using java excel api.
For getting the data from Excel file what are all the steps i need to follow to get the correct result.
Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
Thanks & Regards,
Sreenu,
[email protected],
india,If you want someone to do your work, please have the courtesy to provide payment.
http://www.rentacoder.com -
How to Load the data from excel file(Extension is .CSV) into the temp.table
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinHello Sachin,
You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
Instead of copy values into forms you can save them in your temporary table.
Kind regards,
Alex
If someone's helpful or correct please mark it accordingly. -
How to load the data from .csv file to oracle table???
Hi,
I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
Thanks in advance981145 wrote:
Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
the command is
sqlldrType it and see if you have it installed.
Have a look also at the FAQ link posted by Marwin.
There are plenty of examples also on the web.
Regards.
Al -
How to load the data from excel file into temprory table in Forms 11g?
Hi
How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
Kindly Suggest the Solution.
Regards,
SachinDeclare
v_full_filename varchar2(500);
v_server_path varchar2(2000);
v_separator VARCHAR2(1);
v_filename VARCHAR2(400);
filename VARCHAR2 (100);
v_stop_load varchar2 (2000);
v_rec_error_log varchar2(4000);
v_error_log varchar2(4000);
ctr NUMBER (12);
cols NUMBER (2);
btn number;
RES BOOLEAN;
application ole2.obj_type;
workbooks ole2.obj_type;
workbook ole2.obj_type;
worksheets ole2.obj_type;
worksheet ole2.obj_type;
cell ole2.obj_type;
cellType ole2.OBJ_TYPE;
args ole2.obj_type;
PROCEDURE olearg
IS
args ole2.obj_type;
BEGIN
args := ole2.create_arglist;
ole2.add_arg (args, ctr);
ole2.add_arg (args, cols);
cell := ole2.get_obj_property (worksheet, 'Cells', args);
ole2.destroy_arglist (args);
END;
BEGIN
v_full_filename := client_get_file_name(directory_name => null
,file_name => null
,file_filter => 'Excel files (*.xls)|*.xls|'
||'Excel files (*.xlsx)|*.xlsx|'
,message => 'Choose Excel file'
,dialog_type => null
,select_file => null
If v_full_filename is not null Then
v_separator := WEBUTIL_CLIENTINFO.Get_file_Separator ;
v_filename := v_separator||v_full_filename ;
:LOAD_FILE_NAME := substr(v_filename,instr(v_filename,v_separator,-1) + 1);
RES := Webutil_File_Transfer.Client_To_AS(v_full_filename,"server_path"||substr(v_filename,instr(v_filename,v_separator,-1) + 1));
--Begin load data from EXCEL
BEGIN
filename := v_server_path||substr(v_filename,instr(v_filename,v_separator,-1) + 1); -- to pick the file
application := ole2.create_obj ('Excel.Application');
ole2.set_property (application, 'Visible', 'false');
workbooks := ole2.get_obj_property (application, 'Workbooks');
args := ole2.create_arglist;
ole2.add_arg (args, filename); -- file path and name
workbook := ole2.get_obj_property(workbooks,'Open',args);
ole2.destroy_arglist (args);
args := ole2.create_arglist;
ole2.add_arg (args, 'Sheet1');
worksheet := ole2.get_obj_property (workbook, 'Worksheets', args);
ole2.destroy_arglist (args);
ctr := 2; --row number
cols := 1; -- column number
go_block('xxx');
FIRST_RECORD;
LOOP
--Column 1 VALUE --------------------------------------------------------------------
olearg;
v_stop_load := ole2.get_char_property (cell, 'Text'); --cell value of the argument
:item1 := v_stop_load;
cols := cols + 1;
--Column 2 VALUE --------------------------------------------------------------------
olearg;
:item2 := ole2.get_char_property (cell, 'Text'); --cell value of the argument
cols := cols + 1;
--<and so on>
ole2.invoke (application, 'Quit');
ole2.RELEASE_OBJ (cell);
ole2.RELEASE_OBJ (worksheet);
ole2.RELEASE_OBJ (worksheets);
ole2.RELEASE_OBJ (workbook);
ole2.RELEASE_OBJ (workbooks);
ole2.RELEASE_OBJ (application);
END;
--End load data from EXCELPlease mark it as answered if you helped. -
How to load the data from excel file into table in oracle using UTL_FI
How to load the data from excel file into table in oracle
and from table to excel file
using UTL_FILE package
Please give me some exampleThis is something i tried in oracle apex
http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
Regards,
CKLP -
How to find out the source program file in Proposal in Sales Online in CRM
How to find out the source program file in Proposal in Sales Online in CRM
You can find it in the oracle->apps->prp directory.
It is the $JAVA_HOME
Maybe you are looking for
-
My iPhone will not show up on my Mac desktop or in iTunes, what can I do to fix that?
I am running on a Mac desktop computer and have the new iPhone 4S with Sprint. When I plug in my phone, nothing happens but charging. What can I do to fix this? Thanks in advance.
-
ITunes Library on one ext. HD, used by two computers -- is it possible ?
I "dittoed" my iTunes folder to an external FW hard disk. I then changed the location of the "iTunes Music" folder in the Preferences->Advanced. This worked OK for the original user (user "A") that built the library. For other users on the same compu
-
My sparx is now just plain ipod..;c
I think i just ruined my ipod. ;c i accidentally restored it last night and after that the name "sparx" was replaced to just plain "ipod" im just wondering if i can still change it. and one more thing.. whenever i connect it to itunes, the "update yo
-
Only one root tag is allowed.
I'm trying to run the following (from Flex 2.0 Online help) : <?xml version="1.0"?> <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"> <mx:XML id="capitals" format="e4x"> <Capitals label="U.S. State Capitals"> <capital label="AL" value="Mont
-
Creative Sound Mixer / EAX Control Panel-Audio HQ Sect
After updating my Creative LABS Sound Blaster, I now have a problem with the [color="#cc3333">Reverb & Chous effects. The sliders no longer increase or decrease the number sequence, meaning from number (0) zero to whatever the highest number is. It n