Hi,
I tried the following command in my AIX.
find /logo/jpg/CustArtRepository -type f -mtime +365 -name "*.jpg" | xargs ls -l | awk '$8 !~ /:/' | sort -r -k 8,8 -k 6,6M -k 7,7 > /tmp/jpg.txt1
Unfortunately, the following error message is the one I received...
Hi,
ls -lR | grep '^-' | sort -k 6,7 | head -n5000 | awk '{ print $NF }'
The above command did not work as my ls -lR output format is different.
See my sample output.
-rw-rw-r-- 1 logoview samba 452134 Apr 02 2007 0728935_CA002_300.jpg
My aix date format is MMM DD CCYY.
Also, as...
Hi,
Thanks for your reply.
However, my directory in question (/logo/jpg/CustArtRepository) has nearly 10000 subdirectiries in it. The files are not directly under the /logo/jpg/CustArtRepository).
Thanks,
Balaji.
Hi,
I have a directory /logo/jpg/CustArtRepository which contains around a million files in it. My requirement is to search the oldest 5000 files from this directory and its subdirectories and move them to a archive directory. I am using the following command.
find /logo/jpg/CustArtRepository...
Hi,
I want to change the username of a unix user. Can some one tell me how to do it? I am part of the security group.
I don't want to edit the /etc/passwd file to overwrite the username.
Thanks,
Balaji.
Hi,
We have CUI(Character user interface) based application running on our AIX4.3 box. To keep the application stable every day, we have a regular scheduled application reboot (not AIX reboot) at midnight.
The application restart process executes the sync command and then uses some native...
Hi,
I need to find a list of files that have changed with in thet last 5 minutes in AIX 5.3. Can some one help me with this?.
The find command seems to handle files that have changed with in a day or multiples of days. It doesn't seem to deal with minutes.
Thanks,
Balaji.
Hi,
I am using AIX 4.3.3.
The editor is set to "vi" and vi bindings are working to get the command history (Esc-k works to get the previous commands). However, I would like to use up arrow and down arrow to see the previous and next commands.
Can some one point out what changes I need to make...
Hi,
Can some one tell me the native command to stop the websphere mq channel?. I am not looking for "stop channel" command which is used with runmqsc.
I know the native command to start the channel is runmqchl, but don't know the command to stop. Can some one help?
Thanks,
Balaji.
Hi,
I would like to find out the "create timestamp", "accessed timestamp" and "modified timestamp" of a file in Aix 4.3. Can some one help me.
Thanks,
Balaji.
Hi,
I have a unix command "hogs" which gives the formatted output from the "ps -ef" command. The output of this command is given below.
============================================================
14768 5.2 02:54:09 236 root abmon -m 2
5246 0.3 00:40:06 160 root /usr/sbin/syncd 0...
Hi,
I need to display the UK Pound symbol (£) and the US dollar Symbol ($) in my Easytrieve report or from a rexx exec. Can some one help me?.
Thanks,
Balaji.
Hi,
Is there any way thru an ISPF or TSO command with which I can get the full information about a dataset. The important information that I need is the "Create User",i.e., I want to know the userid which is used to create the dataset.
LISTCAT or LISTDS seems to be providing only the creation...
Hi,
Can some one tell me from where I can download the FirstClass mainframe CBT tutorials. I had them long back, but lost somehow.
Can some one let me know the download link?.
Thanks,
Balaji.
Hi,
I am using DB2 V7 at my client place.
I extracted data from production DB2 tables and loaded into our test environment. Though the data load went thru fine, the load job abended with the following error message.
DSNU016I DSNUGBAC - UTILITY BATCH MEMORY EXECUTION ABENDED...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.