12-03-2010
I've not met zegrep before, but do you mean you are getting output that has each line preceeded by the file that line has been matched in? If so, use the -h flag.
Sorry if I have missed the point.
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am sending a kill comand to kill a process inside a SH script but I don`t want the user to notice it so I donīt want the message "1222 killed" to appear.
I`ve tried to redirect the standard output to /dev/null 2>&1 and also tried to use "nohup" but none of them was succesfull.
Can anyone... (1 Reply)
Discussion started by: pguinal
1 Replies
2. UNIX for Advanced & Expert Users
can someone tell me the meaning of this commnad,
If you want to see a grand total of CPU time for a program when it finishes running, you can use the time command. At the Unix prompt, enter:
time java myprog
Replace myprog with the name of the program you are running. The following is an... (2 Replies)
Discussion started by: ldpathak
2 Replies
3. Shell Programming and Scripting
Hi i created a cron job which invoke a shell script and output some content via email.
Some times these output are sent to the junk email folder. i want these mails to be sent to inbox with some specific font. what i have to do? (4 Replies)
Discussion started by: vidhyaS
4 Replies
4. Solaris
Hi,
Would like to know the uptime or specific time limit to reboot the sun microsystem to avoid unplanned outage.
Regards,Tarun (9 Replies)
Discussion started by: taruntan
9 Replies
5. Shell Programming and Scripting
I have set up a bash script to run a long list of things that I need to time. I would like to redirect the output of time to a file. I have set it up like,
echo "Runtimes for servlet 4, 100K structures" > test_times.txt
echo "" >> test_times.txt
echo "runs where N=10" >> test_times.txt
echo... (7 Replies)
Discussion started by: LMHmedchem
7 Replies
6. Solaris
Hi All,
I am listing the files which are 4 hours older. For this first I have creted a dummy file with the 4 hours before timestamp, then I am using the below find command,
find /path/ -type f ! -newer 4_hours_oledr_file -exec ls -lrt {} \;
I am getting the files which are older than... (13 Replies)
Discussion started by: velava
13 Replies
7. Shell Programming and Scripting
I am new to shell scripting and wished to get few things clarified.
While calling functions within shell script, output comes out as single line irrespective of the no of echos or newlines I tried within function +
the echo -e used to invoke function ( as instructed online) :
#!/bin/sh
inc() {... (1 Reply)
Discussion started by: RMath
1 Replies
8. Shell Programming and Scripting
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
401 S catmgr 5748 5742 0 154 20 e0000006d48cd080 133 e0000003fb6e7200 11:22:32 ? 0:00 /opt/ssh/libexec/sftp-server
3401 R catmgr 5742 5631 0 152 20 e0000005f974fa00 750 ... (4 Replies)
Discussion started by: TomG
4 Replies
9. Shell Programming and Scripting
I am measuring the time it takes for a wget command to complete.
Right now my command is:
time wget https://`ifconfig -a | grep '32.29.120' | cut -d: -f2 | cut -d' ' -f1`:8443/primary-rest/shop?brandId=test --header="name: test" --no-check-certificate -o SELF_TEST.log
The output I get is ... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
10. Solaris
Hello,
This is Solaris 10 (x86)
bash-3.2# cat /etc/release
Solaris 10 5/09 s10x_u7wos_08 X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 30 March... (5 Replies)
Discussion started by: solaris_1977
5 Replies
LEARN ABOUT OPENSOLARIS
totem-video-thumbnailer
totem-video-thumbnailer(1) User Commands totem-video-thumbnailer(1)
NAME
totem-video-thumbnailer - an interactive accessibility explorer.
SYNOPSIS
totem-video-thumbnailer [--jpeg] [--no-limit] [--size=size] [--time=seconds] [--verbose] input output URI [gst-std-options] [gnome-std-
options]
DESCRIPTION
totem-video-thumbnailer is used internally by GNOME applications such as nautilus(1) to generate PNG thumbnails of video files.
OPTIONS
The following options are supported:
-j, --jpeg Output the thumbnail as a JPEG instead of PNG.
-l, --no-limit Do not limit the thumbnailing time to 30 seconds.
-s, --size=size size of the thumbnail in pixels
-t, --time=seconds Do not limit the thumbnailing time to 30 seconds.
-v, --verbose Output debug information.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5).
OPERANDS
The following operands are supported:
input The input filename. This can be in any format that totem can play.
output The output filename, in PNG format by default, or in JPEG format if the --jpeg is used.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media-player |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
nautilus(1), totem(1), attributes(5), gnome-std-options(5)
Comprehensive totem-video-thumbnailer documentation could be found under the Help menu in totem-video-thumbnailer.
NOTES
Written by Zack Cerza coe.neu.edu> for the Debian Project. Updated by Brian Cameron, Sun Microsystems Inc., 2007.
SunOS 5.11 08 Nov 2007 totem-video-thumbnailer(1)