Search Results

Search: Posts Made By: ajcannon
1,243
Posted By ajcannon
Will i see a file/dir I don't have read access to
Hi all,

if I have a dir with a mixture of files and directories in it and one of the directories *only* has read permission for the owner and I am not the owner - will I see it with an 'ls -la'.
...
21,820
Posted By ajcannon
Hello again, this is beginning to drive me...
Hello again,

this is beginning to drive me nuts.

I have opened up the permissions on the target dir (definied via a -C switch in the tar command) and it still moans about utime (tar: code:...
21,820
Posted By ajcannon
Many thanks to both for the response. I will...
Many thanks to both for the response.

I will investigate this

cheers
21,820
Posted By ajcannon
problem with tar
First of all I have already asked about this in the scripts/perl forum but the advice I got did not do the trick.

A script I have to use unzips some xxx.tar.gz files and then tries to tar -xvf...
28,351
Posted By ajcannon
Cannot utime: Operation not permitted
Hi - I have a script (.ksh) which has been transferred from one Linux box to another. Basically it untars a file a deploys the code to the relevent directories. It is failing with ' Cannot utime:...
19,519
Posted By ajcannon
Erm........ If I am reading this...
Erm........

If I am reading this right.....you want to send a shutdown command to a machine, the power to which, has failed. If the power has failed the machine will be dead in the water and not...
1,364
Posted By ajcannon
Try adding -xv to the end of your first line -...
Try adding -xv to the end of your first line - the /bin/bash one.

It will run the shell in debug(ish) mode but what is useful is it shows you what the variables are set to. If /opt/XX1/XX1 doesn't...
3,577
Posted By ajcannon
A further thought - if you are interested in...
A further thought - if you are interested in newest file in a directory but wanteing to recurse also:-

find /BMD -type d -exec ls -lt | head -1 {}\;

Only thing is I am not *sure* the pipe will...
3,577
Posted By ajcannon
You can get the newest file in a dir with:- ...
You can get the newest file in a dir with:-

ls -lt | head -1
2,254
Posted By ajcannon
Thanks for the input - I have 'inherited' this...
Thanks for the input - I have 'inherited' this script and the original author was/is *very* fond of using function calls (even ones that are only called once!!). "stuff" and "more stuff" includes...
2,254
Posted By ajcannon
Spurious line feeds
Hi all,

I know this is **awfully** general but.....

I have a script which does, basically...

for file in `find command`; do

some stuff
more stuff

echo '.\c'

done

I want to...
6,463
Posted By ajcannon
Well I am no java developer but I don't think...
Well I am no java developer but I don't think there should be a space between the "-" and classpath
6,439
Posted By ajcannon
Whoops!
Sorry - I take that back - it doesn't seem to be being used at all. I should have kept my mouth shut!
6,439
Posted By ajcannon
To Bakunin
just a minor bit of pedantry - usrList is being read via the '< usrList' statement at the end of the 'read.....' clause - or so it seems to me......???!

cheers
8,390
Posted By ajcannon
I have always found that I have to 'pull' to a...
I have always found that I have to 'pull' to a windows box from a Unix one.
7,328
Posted By ajcannon
You still haven't answered Rein's question... ...
You still haven't answered Rein's question...

What do you mean when you say "But .csv file could not open."

How did you try and open it?
7,328
Posted By ajcannon
use csv
Try exporting the .xls file as a csv file. This is plain text and you can then try using awk, sed etc to process it. I don't believe you will be able to do anything with a native .xls file under any...
7,636
Posted By ajcannon
Ta
Thanks for the pointers

cheers all
7,636
Posted By ajcannon
Function Trace
Does anyone know if there is a util out there to run through a shell script and be able to trace the function call tree. I have inherited some code and the original author was ****mad**** keen on...
11,896
Posted By ajcannon
Responses
To Porter

Your last post: Fair point - we have raised the issue but the problem is that it is not something that management understand/care about. It isn't stopping them reporting that they have...
11,896
Posted By ajcannon
Very Interesting
Andryk

thanks for this - which particular part of the project are you suggesting I install (or *try* to install!)

thanks again
2,429
Posted By ajcannon
more info
For those who *may* be able to help you I think you need to provide info about what you are trying to achieve. What is your requirement?
11,896
Posted By ajcannon
Responses
Hi to all who have taken the trouble to respond:

To Porter:
I appreciate your somewhat acerbic remarks about

"Then you either don't comprehend the seriousness or don't care about security.
...
67,066
Posted By ajcannon
jil
google .jil file

It appears to be Java in Lisp and needs the JDK
9,626
Posted By ajcannon
Mail format
Rather than

(echo `cat /tmp/appmon.$$`)|/usr/bin/mailx -s "Warning - please ignore this is a test" "a.nother@company.co.uk"


Try simply

cat /tmp/appmon.$$ | /usr/bin/mailx -s "Warning -...
Showing results 1 to 25 of 89

 

Featured Tech Videos

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