10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have used yum list installed and rpm -qa commands.
But these provide only the source packages, I want the specific software name.
And how to identify any software that is installed without the yum or rpm package system.
I tried compgen -c but it doesn't works with rhel5.6 (1 Reply)
Discussion started by: PrabhaPatra4567
1 Replies
2. Shell Programming and Scripting
Hi. Is there a way to:
1) produce a listing of .log files
2) older than 5 years of age
3) that includes the full path and filename together with one file per line
Any help producing such a script would be very helpful. Thanks. (7 Replies)
Discussion started by: buechler66
7 Replies
3. Shell Programming and Scripting
Hi,
I have many test*.ft1 files to which I want to read as input for a script called
pipe2txt.tcl and print the output in each separate file.
For example,
pipe2txt.tcl < test001.ft1 > test001.txt
How can I read many files in this maner?
thank you very much,
Best,
Pahuja (5 Replies)
Discussion started by: Pahuja
5 Replies
4. UNIX for Dummies Questions & Answers
I have checked the man page ,which says :
The -H (HOME) option sets the HOME environment variable to the homedir of
the target user (root by default) as specified in passwd(5). By default,
sudo does not modify HOME
But I have tried below command:
#... (1 Reply)
Discussion started by: Michaelw321
1 Replies
5. Shell Programming and Scripting
I need to be able to identify files with file timestamps greater than a given timestamp.
I am using the following solution, although it appears to compare files at the "seconds" granularity and I need it at the milliseconds. When I tested my solution, it missed files that had timestamps... (3 Replies)
Discussion started by: nkm0brm
3 Replies
6. Shell Programming and Scripting
i have two files as
file1:
1
2
3
file2:
a
b
c
and the output should be:
file3:
1~a
2~b
3~c (1 Reply)
Discussion started by: mlpathir
1 Replies
7. Shell Programming and Scripting
Dear All,
I'm an amateur to writing scripts and need to do the following
Need to read all files with a .log extension in a directory and identify the value for username i.e. all files have something like username = John. Once this is read, I need to print this value to a new file. The new file... (2 Replies)
Discussion started by: Kelly_B
2 Replies
8. UNIX for Dummies Questions & Answers
I have come into a business environtment problem and had been 10+ years since the last time I did any unix admin work.
A long time ago some mainframe person created an app that talked to a mainframe on UNIX and wrote a c program with "core" in the file name to indicate that the file was the... (2 Replies)
Discussion started by: pcooke2002
2 Replies
9. Shell Programming and Scripting
Hi. Our shop is migrating to a new UNIX server and our hope is to do a full migration of all files to the new server weeks in advance of the final migration. As a result we want to identify files on our SOLARIS 8 UNIX server that have changed or that were created after a specific date & time... (2 Replies)
Discussion started by: buechler66
2 Replies
10. Shell Programming and Scripting
I want to copy last 30days old files from one location to another. Please help me to list the last 30 days files and copy the last 30 days files from the current list. (1 Reply)
Discussion started by: formanikandan
1 Replies