01-10-2008
Hi All,
Thanks for all the good option. I manage to get what i want from those command.
Thanks
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
The app I support has a directory used for debugg files. It has just come to light there are no files in there. Or is there :confused:
Changing into the directory and completing an ls -lta you get no files. This is truly not right for the application. If I go up one directory the... (2 Replies)
Discussion started by: nhatch
2 Replies
2. AIX
Hi all,
I'm sorry to post this question, but I searched and searched and search but I did not find an alternative url for this one:
http://www14.software.ibm.com/webapp/set2/abl/bundle?release=52 (53)
I used this site to check for the latest TLs.
Thanks in advanced :)
tex (3 Replies)
Discussion started by: tex09
3 Replies
3. Shell Programming and Scripting
I am using this command to remove all files and folders older than 24 hours;
find /databackup/dbs/* -maxdepth 0 -type d -mtime +0 -exec rm -rf {} \;
However, if/when backups to this folder fail and are not updated, it will completely destroy any backups we have in that folder.
What can I add... (14 Replies)
Discussion started by: damang111
14 Replies
4. Shell Programming and Scripting
To delete log files content older than 30 days and append the lastest date log file date in the respective logs
I want to write a shell script that deletes all log files content older than 30 days and append the lastest log file date in the respective logs
This is my script
cd... (2 Replies)
Discussion started by: sreekumarhari
2 Replies
5. Shell Programming and Scripting
Hi,
I am having trouble while using 'sed' with reading files. Please help. I have 3 files. File A, file B and file C. I want to find content of file B in file A and replace it by content in file C.
Thanks a lot!!
Here is a sample of my question.
e.g. (file A: a.txt; file B: b.txt; file... (3 Replies)
Discussion started by: dirkaulo
3 Replies
6. Shell Programming and Scripting
Hi All ,
I have some fille names in a file which are sorted according to date. for example
file1_123.log 23 Jul 0Kb
file2_123.log 22 Jul 2Kb
file3_123.log 20 Jul 0Kb
file1_456.log 24 Jul 2Kb
file2_678.log 22 Jul 0Kb
file2_678.log 21 Jul 2Kb
here 123 is a... (2 Replies)
Discussion started by: LoneRanger
2 Replies
7. Shell Programming and Scripting
hi all,
i had the below script
x=`cat input.txt |wc -1`
awk 'NR>1 && NR<'$x' ' input.txt > output.txt
by using above script i am able to remove the head and tail part from the input file and able to append the output to the output.txt but if i run it for second time the output is... (2 Replies)
Discussion started by: hemanthsaikumar
2 Replies
8. Shell Programming and Scripting
there are mutiple file nams in the directory. How to return the the lastest files for each file name.
ex.
abc1234_050201
abc1234_050206
abc1234_050208
xyz34_050204
xyz34_050210
xyz34_050218
thanks (4 Replies)
Discussion started by: grand_sam
4 Replies
LEARN ABOUT ULTRIX
prestoctl_svc
prestoctl_svc(8) System Manager's Manual prestoctl_svc(8)
Name
prestoctl_svc - Prestoserve control daemon
Syntax
/usr/etc/prestoctl_svc [ -n ]
Description
The RPC-based daemon allows remote client systems to monitor and administer a Prestoserve cache and its driver. The client system does not
have to be running the Prestoserve software. The daemon can be started manually, or it can be started each time you reboot by adding the
command to the file of the machine running the Prestoserve software.
You must run the daemon if you want remote client systems to be able to use the command to monitor and manage your system and if you want
to use the command. Refer to and to for more information.
Options
-n Allows remote client systems to manage a Prestoserve cache and its driver. The -n option allows remote client systems to change the
size of a Prestoserve cache and to change the state of a Prestoserve cache by using remote procedure calls. The -n option is useful
when evaluating or demonstrating Prestoserve capabilities. Because of security problems, it is recommended that the -n option not
be used on production machines.
Files
Generic Prestoserve control device.
File where you add the
command.
See Also
presto(8), dxpresto(8X), presto(4)
Guide to Prestoserve
prestoctl_svc(8)