10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
I have a file which contains the timestamp of the log and a message and I want to implement a polling mechanism, where this log file is pooled every 2 minutes and list the errors in the file. I want to list down the errors only after the timestamp in the file is more than the current... (2 Replies)
Discussion started by: infyanurag
2 Replies
2. Shell Programming and Scripting
I am often given log files at work in .csv format to work with, normally extracting various fields. I then have to figure out the number of each field so that I can extract that field with cut or awk. Normally I just manually count the fields, based on the field separator. I would like to be... (3 Replies)
Discussion started by: stumpyuk99
3 Replies
3. Shell Programming and Scripting
Hallo Team,
I have 2 .csv files file A has 47600 lines and file B has 67000 lines
FILEA
SD0o9rb01-1d320ddbcc8d220f572739ebed5f58d1-v300g00
SD8bt0101-a0810bfe0e3396060126ec51b30dac0a-v300g00
SD05sce01-cb056af347ed4651f29eb3c3e9addbd6-v300g00... (3 Replies)
Discussion started by: kekanap
3 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I would like to know couple of ways to list the content available in tar and gzipped file without extracting.
i.e., I would like to display the contents of test.tar.gz without extracting.
Note :: please suggest a command other that tar -ztvf (9 Replies)
Discussion started by: Girish19
9 Replies
5. AIX
Hi,
We are taking our filesystem backup having size of 1.3 TB on LTO5 catridges using the following command
find * -print|backup -ivf '/dev/rmt0' '-U'
i.e backup byname and it took about 6.5 Hours to complete When we are listing same tape contents using the following command
restore... (1 Reply)
Discussion started by: m_raheelahmed
1 Replies
6. Shell Programming and Scripting
Hi one of the output of the command is as below
# sed -n "/CCM-ResourceHealthCheck:/,/---------/{/CCM-ResourceHealthCheck:/d;/---------/d;p;}" Automation.OutputZ$zoneCounter | sed 's/$/<br>/'
Resource List : <br>
*************************** 1. row ***************************<br>
... (2 Replies)
Discussion started by: vivek d r
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Could you please help to resolve my following issues:
Problem Description:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies
8. Solaris
Hi fellows,
Can you please share any command with which I can list down the file names inside a tar.gz file.
I have tried with these possibilities but in vain.
bash-3.00$ tar -ztvf file.tar.gz
tar: z: unknown function modifier
bash-3.00$ tar ztvf file.tar.gz
tar: z: unknown function... (1 Reply)
Discussion started by: Zaib
1 Replies
9. UNIX for Dummies Questions & Answers
I am brand new to Unix. This is probably simple, but how do you list the contents of a shared library? I need to see which functions exist in it.
Many thanks. (1 Reply)
Discussion started by: mickpoil
1 Replies
10. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies