Search Results

Search: Posts Made By: annetote
7,657
Posted By annetote
thanks for the reply. no it is not during...
thanks for the reply.
no it is not during login.
its happen when i want to delete and remove file.
7,657
Posted By annetote
getcwd problem.
hi all.
i need your help.
this is my problem.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

i do not know how to solve this...
5,020
Posted By annetote
thanks for detail info. ls -d 10.0.1.79* |...
thanks for detail info.

ls -d 10.0.1.79* | sort -t"_" -nk2.1,2.4 -k2.5,2.6 -k2.7,2.8 -k2.10,2.11 -k2.12,2.13
yup this is works.
it display the latest directory.

ls -lrtd 10.0.1.79*
the...
5,020
Posted By annetote
no..it cannot be ignored... sorry for not...
no..it cannot be ignored...

sorry for not answering your question...
ls -lrt 10.0.1.79*this is the output:
10.0.1.79_20100601.090108699
total 24
10.0.1.79_20100601.090149586
total 24...
5,020
Posted By annetote
yup... you are right...:) but then i do...
yup...
you are right...:)

but then i do not sure whether
10.0.1.79_20100601.085868276green part is millisecond or not.

i want it based on time and date.
thanks
5,020
Posted By annetote
sorry for making you confused. 1)these are...
sorry for making you confused.

1)these are the directories:
10.0.1.79_20100601.085868276
10.0.1.79_20100601.090022717
10.0.1.79_20100601.090108699
10.0.1.79_20100601.090149586

2)yup i...
5,020
Posted By annetote
this is some of the file that i will received. ...
this is some of the file that i will received.
10.0.1.79_20100601.085868276
10.0.1.79_20100601.090022717
10.0.1.79_20100601.090108699
10.0.1.79_20100601.090149586

but i will continuously...
5,020
Posted By annetote
yup... sori for the mistake... its latest...
yup...
sori for the mistake...
its latest folder...
5,020
Posted By annetote
i understand what did you mean... but then i...
i understand what did you mean...
but then i just want the latest file..
5,020
Posted By annetote
i want to run it automatically... what should i...
i want to run it automatically...
what should i do...
5,020
Posted By annetote
How to copy specific file.txt in specific folder?
hye there...
i have a problem to copy file in specific folder
that will change the name according to
host,time(%m%s) and date(%Y%M%D)
example folder name:
host_20100531.154101801

this folder...
7,057
Posted By annetote
okay thanks for that... hehehehe =)
okay thanks for that...
hehehehe
=)
7,057
Posted By annetote
i already found the mistake... sori for that......
i already found the mistake...
sori for that...
the script in filename is wrong...
i forgot to put this "
so sori...
oky i will try to execute the really programme...
thnk you very much...
...
7,057
Posted By annetote
its appear this: Executing infinity loop...
its appear this:
Executing infinity loop...
7,057
Posted By annetote
when i run ./monitor. it does not appear...
when i run ./monitor. it does not appear anything...
sori to burden you...
i do not know how to figure this problem out...
thanks...
7,057
Posted By annetote
nothing happen when I run ./monitor.sh sori for...
nothing happen when I run ./monitor.sh
sori for the late reply...
7,057
Posted By annetote
this is the output in the directory: -rw-r--r--...
this is the output in the directory:
-rw-r--r-- 1 autonimst autonimst 537426 2010-05-31 23:22 anne.txt
-rwxrwxrwx 1 autonimst autonimst 42 2010-05-31 23:53 filename.sh
-rwxrwxrwx 1 autonimst...
7,057
Posted By annetote
yup... it is in the same directory... i...
yup...
it is in the same directory...
i create one directory.. that have monitor.sh, filename.sh and anne.txt

now...what should i do...
really need ur help
:(
7,057
Posted By annetote
when i run ./monitor... this error will occured...
when i run ./monitor...
this error will occured
stat: cannot stat `anne.txt': No such file or directory
stat: cannot stat `anne.txt': No such file or directory
7,057
Posted By annetote
nope... i juz modify the path of both file...
nope...
i juz modify the path of both file (anne.txt and filename.sh)
but still does not work...
7,057
Posted By annetote
thnks for the details.... ok... i create...
thnks for the details....
ok...
i create filename.sh and anne.txt in different folder...

when i send the anne.txt...
nothing appear...
so..how should i know that ./filename.sh is running
7,057
Posted By annetote
#!/bin/bash F="anne.txt" M1=$(stat -c %y...
#!/bin/bash
F="anne.txt"
M1=$(stat -c %y "$F") # Initialize to avoid running at startup
while true
do
M2=$(stat -c %y "$F")
if [ "$M2" != "$M1" ]
then
./filename.sh &&...
7,057
Posted By annetote
yup... that what im trying to do... it...
yup...
that what im trying to do...

it will occur everytime the event happen...
thnks 4 d quick reply...
7,057
Posted By annetote
thnks for the reply... i already tried...
thnks for the reply...
i already tried cronjob...
but it does not work....

---------- Post updated at 08:20 AM ---------- Previous update was at 03:07 AM ----------

please.....help me...
im...
7,057
Posted By annetote
thanks for the reply... what i mean is.... ...
thanks for the reply...
what i mean is....
assume that there are pc A and pc B...
inside pc A i create anne.txt...
i will send anne.txt using scp to pc B...
inside pc B..I already create...
Showing results 1 to 25 of 26

 
All times are GMT -4. The time now is 12:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy