Rodic,
I'm using notepad to write the shell script and invoke it using Putty utility
that is why I was encountering error "syntax error".. some of the echo lines I had embedded "`" symbol .. therefore, those lines seems to be displaying it ok..
So, I tried via "vi editor" from putty prompt and output displayed correctly for file comparison ( "file not found " ) .. but, editing via vi editor was not easy for me..
Qes. here is: can I use "notepad" to write the script and run it using putty interactively.. should I enclose all "echo" with this "`" symbol?
Hello Don,
This is the file list for today :
using putty retrieved latest file for today -
So, my question was that can I use this syntax in the shell script to pull
latest file and stored in a variable for compassion?
Hi,
I have some files in a folder with different time stamps and
I want to display the files which are older than 1 hour.
i tried with find.
need urgent help. (3 Replies)
Hi,
I have some files in a folder with different time stamps and
I want to display the files which are older than 1 hour.
i tried with find.
need urgent help. (7 Replies)
Hello People,
How can I display the date in a continuous format along with the time as below :
20091001_154547
i.e yyyymmdd_hhmmss format.
Thanks. (3 Replies)
I have tried various arguments to get the date display as "Mar 10".
I have tried
date +"%c" -------> Wed Mar 10 11:51:21 EST 2010
date +"%b%d%Y_%H%M%S" --------> Mar102010_115121
date +"%b%d" -------> Mar10
date +"%t%b%e" ... (3 Replies)
Currently whenever i run date command output is shown like
Mon Apr 12 05:17:21 IST 2010
When its 17:17 Here.
How would i change it so that it should show.
Mon Apr 12 17:17:21 IST 2010 (8 Replies)
Hi,
My file
cat a.txt
Sat Nov 27 00:02:00 2010
00:02:00 Usr 27: Login by edi on batch. (452)
00:02:09 Usr 27: Logout by on batch. (453)
00:02:09 Usr 27: Login by edi on batch. (452)
00:02:22 Usr 27: Logout by on batch. (453)
00:02:22 Usr 27: Login by edi on batch.... (3 Replies)
Hi friends, I want to convert 24 hour timing to 12 hour please help me...
my data file looks like this..
13-Nov-2011 13:27:36 15.32044 72.68502
13-Nov-2011 12:08:31 15.31291 72.69807
16-Nov-2011 01:16:54 15.30844 72.74028
15-Nov-2011 20:09:25 15.35096 ... (13 Replies)
I have a file , the file content will be modified regularly , its structure as below, the lines are begins with "A" and "B" .
#vi file1
this is testing file
A aaaaa
B bbbbb
A ccccc
B ddddd
A eeeee
B fffff
A ggggg
B hhhhh
I would like to have a script to use the... (3 Replies)