Search Results

Search: Posts Made By: dsimpg1
3,386
Posted By dsimpg1
My apologies to all for not understanding what it...
My apologies to all for not understanding what it is you were trying to say. Yes, you were correct, I was searching for it with quotes. Now that I have done what you said and removed the conversion...
4,870
Posted By dsimpg1
This should do what you're looking for: ...
This should do what you're looking for:

DAYS=30

echo 'Daily cleanup of backup directories more than' $DAYS 'days old'

if [ -d /wasdata ]
then

FILES=`find /wasdata2 -type f -mtime...
3,386
Posted By dsimpg1
Perhaps I am missing something, but if you'll...
Perhaps I am missing something, but if you'll notice, there IS a space before the quotes.



Again, there IS a space in there (as seen in both traces).

I am not understanding why it is NOT...
3,386
Posted By dsimpg1
I don't think either of the repliers understands...
I don't think either of the repliers understands the problem.

1) The variable actually contains the correct syntax of what I want (as seen in the trace).

2) When the grep command is...
3,386
Posted By dsimpg1
syntax problem grepping?
I am calculating a time and appending a space in front of it to get only certain records in a file because the times are represented in HH:II:SS format and I don't want to see anything other than the...
3,638
Posted By dsimpg1
No, I'm trying to do this: cmlist01 has a b...
No, I'm trying to do this:

cmlist01 has a b c d e
cmlist02 has f g h i
cmlist03 has j k l

For the total in cmlist01, I should see 5 items.
For the total in cmlist02, I should see 4 items....
3,638
Posted By dsimpg1
Array help (variable substitution).
I am using an array (clmlist01). I have 61 of these and have 4 or more references to each one in a block of code that I do not want to have to hardcode. With that being said, I am creating a...
16,152
Posted By dsimpg1
only find files older than x minutes old
I am looking for a way to show files that have been created within a certain period (say anything older than 10 minutes or so). Is there a command/series of commands I can do this with? As an...
17,344
Posted By dsimpg1
Conversion to display leading zeros for numerics
I have the following script (which works fine), escept I don't know how to make the MONTH and DAY show up with leading zeros. I have a statement (not in this script) which will show this in a...
Forum: AIX 12-02-2005
1,980
Posted By dsimpg1
Date question
I am creating a shell script and have a question about how to determine yesterdays date. In my script, I can determine today by:

today=`date '+%Y%m%d'`

but I am not sure how to determine...
Forum: AIX 08-23-2005
22,739
Posted By dsimpg1
Sorry, I'm not so well versed in AIX... Yes, the...
Sorry, I'm not so well versed in AIX... Yes, the MQ is up and running (as evidenced by the dspmq command). I can't seem to see anything in the services that indicates what is MQ is using. Since it...
Forum: AIX 08-23-2005
22,739
Posted By dsimpg1
Which port?
Is there a particular command I can run to determine what port our MQ series is running on? I know the default port is 1414, but I need to know for sure that it was installed and running on that...
2,536
Posted By dsimpg1
Viewing files
I have a file (called CORE) that is a dump created by a crashing process. This file, I believe, is in "binary" form, so when I try to use cat, more, or vi on it, it has a bunch of garbage. Is there...
24,265
Posted By dsimpg1
How to show what is running on a given port.
Is there a command that I can run (currently running AIX) that will tell me what is running on, as an example, port 7002? Also, would this command be able to list all of the ports and what's running...
Forum: AIX 05-10-2005
5,762
Posted By dsimpg1
Dashboard style tool(s)?
I was wondering if anyone knows of any dashboard style tools for AIX. One of my many responsibilities is to report the status of the boxes and whether certain things are "up" and running each and...
2,411
Posted By dsimpg1
What you suggested will work, but here's what...
What you suggested will work, but here's what will potentially happen. Currently, there is only one directory under the export directory and it is called forms. If, for one reason or another,...
2,411
Posted By dsimpg1
I am needing to actually move these items, so...
I am needing to actually move these items, so that's why I went with a find. The -print option is there by default and it makes not difference on whether it traverses through subdirectories. ...
2,411
Posted By dsimpg1
Find help
I am trying to list all files ending in xml in a given directory, but when I do, it not only lists the ones in that directory, but in all of its subdirectories (which is what I do NOT want).
...
3,544
Posted By dsimpg1
Command syntax
Here's my situation. I am trying to move all files from one directory to another. I have the following requirements:

1) Move all files in /myfiles/wip matching pattern "*.tif" to /work/in that...
7,329
Posted By dsimpg1
Zipping with password or encryption
We currently take files (via FTP) off of a mainframe and save them as a text file on our server. This is done via a script. The next thing that is done to that text file is it gets zipped (using...
Showing results 1 to 20 of 20

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