10-06-2008
Thanks you
I did :
scriptname | tail -1>>newfile.dat
but what gets copied to newfile.dat is that last line, instead of the last string in the last line
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All :
I wanted a unix command by which I could be able to print the output to a file and at the same time to a printer. Any help will be greatly appreciated.
Regards,
Ramamurthy Dasari (1 Reply)
Discussion started by: rdasari
1 Replies
2. Shell Programming and Scripting
Hi,
I am running a shell script called dbProcess.sh which performs shutdown and startup of various Oracle instances we have.At the time of execution the script produces the following output to the command line window
$./dbProcess.sh stop
#### Run Details ######
Hostname : server-hop-1... (4 Replies)
Discussion started by: rajan_san
4 Replies
3. Shell Programming and Scripting
Hi
I have a script that will run multiple unix & sql commands. I want to see the output as well as capture it to a log file for further analysis. Is there an easy way to do that instead of adding "tee -a logfile" on everyline or even on the execute line (i.e. script | tee -s logfile).
Thanks (1 Reply)
Discussion started by: nimo
1 Replies
4. Shell Programming and Scripting
Hi,
I wanted to know how i could accomplish this in a script using ksh.
Lets say there is a file called test.dat and it has a certain input like below :
.
.
Hi = 56
Hi = 67
.
.
1 record(s) selected
Now i need to capture the numbers after the = sign and store them in a... (3 Replies)
Discussion started by: Siddarth
3 Replies
5. Shell Programming and Scripting
Hi
I have a requirement to write a script to capture all errors in a Logfile and send the file in email.
If there is any error occurred the subject of email will be ERROR , If there are no error occurred the subject of email will be SUCCESS.
So I created a Log file and put the Appropriate... (2 Replies)
Discussion started by: dgmm
2 Replies
6. Shell Programming and Scripting
I want to capture the debug for the below command in output file .
i tried like this but its not working:
sh -xv <scriptname> >> output.log
i want the output in a log file.
Anyone plz help in this (2 Replies)
Discussion started by: chakkaravarthy
2 Replies
7. Shell Programming and Scripting
Hi all,
My file :test.txt just like this:
...........................
From: 333:123<sip:88888888888@bbbb.com
To: <sip:123456@aaaaa.com
.........................
I want a script to capture the string between sip: & @
Expect output:
88888888888
123456
Please help! (4 Replies)
Discussion started by: Alex Li
4 Replies
8. Shell Programming and Scripting
Dear All
From below mention input file I want op file as mention. Kindly help.
IP file:
"BSCGNR4_IPA17_C" 329 140119 0717 RXOCF-105 KJO001_BASC_NG AC FAULTY DG ON DOOR OPEN
Needed OP:
140119 0717 KJO001_BASC_NG AC FAULTY DG ON DOOR OPEN
Note that string mark in red as variable in... (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies
9. Shell Programming and Scripting
Hi,
I am trying to capture the output of the an open pipe in perl. but I am not sure how to do this. can some one please help me do that?
Below is the script I am using (2 Replies)
Discussion started by: ahmedwaseem2000
2 Replies
10. Shell Programming and Scripting
Dear all,
I have a log file to be analysed. this log file contains vaiours lines of code starting with date timestamp.
if my search string is exception then that resepective log statement starting from the date is required.
example:
2014/10/01 16:14:44.459|>=|E|X|19202496|2832|... (5 Replies)
Discussion started by: shravee
5 Replies
LEARN ABOUT DEBIAN
uvccapture
UVCCAPTURE(1) General Commands Manual UVCCAPTURE(1)
NAME
uvccapture - USB UVC Video Class snapshot software
SYNOPSIS
uvccapture [options]
DESCRIPTION
This manual page documents briefly the uvccapture command.
The purpose of uvccapture is to capture an image from a USB webcam at a specified interval, and save it to a JPEG file, no other formats
are supported, imagemagick can handle anything else you might need.
OPTIONS
A summary of options is included below.
-h Show summary of options.
-v Verbose output.
-o<filename>
Output filename (default is snap.jpg)
-d<device>
V4L2 Device (default is /dev/video0)
-x<width>
Image Width (must be supported by device) (>960 activates YUYV capture)
-y<height>
Image Height (must be supported by device) (>720 activates YUYV capture)
-c<command>
Command to run after each image capture (executed as <command> <output_filename>)
-t<integer>
Take continuous shots with <integer> seconds between them (0 for single shot)
-q<percentage>
JPEG Quality Compression Level (activates YUYV capture)
-r Use read instead of mmap for image capture
-w Wait for capture command to finish before starting next capture
-m Toggles capture mode to YUYV capture
-B<integer>
Brightness
-C<integer>
Contrast
-S<integer>
Saturation
SEE ALSO
http://linux-uvc.berlios.de/
AUTHOR
uvccapture was written by Gabriel A. Devenyi <ace@staticwave.ca>. This software is based of the package luvcview by Laurent Pinchart and
Michel Xhaard.
This manual page was written by Krzysztof Burghardt <krzysztof@burghardt.pl>, for the Debian project (but may be used by others).
28th March, 2008 UVCCAPTURE(1)