Sponsored Content
Special Forums Windows & DOS: Issues & Discussions rediretion and pipes in DOS shell cmd interpreter Post 76303 by jerardfjay on Monday 27th of June 2005 02:00:38 PM
Old 06-27-2005
rediretion and pipes in DOS shell cmd interpreter

Hello,

I am trying to accomplish the following.

Send the output of a command to the screen (this happens by default) as well as capture the output of the screen to a log file.

How can this be achieved in DOS command interpreter syntax.
Any ideas/suggesstions/indicators are greatly appreciated. Thanks.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

PIPEs and Named PIPEs (FIFO) Buffer size

Hello! How I can increase or decrease predefined pipe buffer size? System FreeBSD 4.9 and RedHat Linux 9.0 Thanks! (1 Reply)
Discussion started by: Jus
1 Replies

2. UNIX for Dummies Questions & Answers

Shell-Script und Pipes

Hi, beginne gerade mich in der UNIX Welt zu recht zu finden : habe nun folgendes Anliegen, hoffe ihr könnt mir helfen (ist sicher trival für euch, sorry dafür -) ) Ich möchte mir ein kleines Shell-Script schreiben , welches mir dateien eines bestimmten verzeichnisses anhand der Anzahl der... (4 Replies)
Discussion started by: anja_22
4 Replies

3. Shell Programming and Scripting

bash shell script and ms-dos

Hi... I need your help..... I would like to create a bash shell script, which it could someway to stimulate the MS DOS to accept and do the most basic commands of MS DOS... (1 Reply)
Discussion started by: space13
1 Replies

4. UNIX for Dummies Questions & Answers

Shell and commandline interpreter-definitions

What is the difference between the(a) shell and the (a) command-line interpreter? Here we're talking about the complete dummy question, but could someone point me right. (yes, have written scripts in for instance bash shell, and and grepp-ed my way around ....:eek: (4 Replies)
Discussion started by: amkgw
4 Replies

5. Shell Programming and Scripting

Test for shell interpreter at beginning of script

What would be the best way or method to determine or test for the shell interpreter at the beginning of a script in the event one shell is not available? If I use the following: #!/bin/bash and /bin/bash is not available, then use I'd like to use /bin/ksh if it is available. #!/bin/ksh (8 Replies)
Discussion started by: nck
8 Replies

6. Shell Programming and Scripting

Building a script in Ubuntu (Linux) from existing DOS .cmd

Greetings, I would be very grateful to anyone who is willing to help and knows there scripting and how to convert a DOS CMD script. :) In this posting I am also hoping to pass on information to anyone wanting to see a bit of VMware command line stuff. I have made a script (batch file) that runs... (11 Replies)
Discussion started by: dp123
11 Replies

7. Linux

Dos shell

Dear all, I am trying to write a unix shell with C++ that is similar to Windows command line. I planned to call it Dosh (DOS-sHell).That means you can directly run dos or win32 console programs with it. It will be distributed according to the license g GPL. Any advice? (This is my first c++ program... (3 Replies)
Discussion started by: elgarteo95
3 Replies

8. UNIX for Dummies Questions & Answers

Shell BASIC interpreter(s)...

I am looking for a simple BASIC Interpreter written in a shell scripting language. For me something like this would be a great learning tool... After much goggle eyed Googling I came upon this:- https://gist.github.com/cander/2785819 It is small and I haven't tried it yet as I am at work... (6 Replies)
Discussion started by: wisecracker
6 Replies

9. Solaris

Perl Interpreter Default Shell

Hello. We have recently changed from HP Unix Servers to Solaris. On the HP Severs we were using the POSIX shell. Solaris is using the Bourne sh. We are using ksh as our default shell after login. The problem we are encountering is when something like Perl or Cron uses the shell to execute a... (5 Replies)
Discussion started by: mix123
5 Replies

10. Shell Programming and Scripting

Convert for command from DOS to SHELL

Well, this command has served me quite well under DOS for %%X in (*.txt) do COMMAND however in linux it just outputs: "./install.sh line 1: '%%x': not a valid identifier. Ideas ? Thanks in advance (2 Replies)
Discussion started by: pasc
2 Replies
VNCCAPTURE(1p)						User Contributed Perl Documentation					    VNCCAPTURE(1p)

NAME
vnccapture - Capture a screenshot via VNC SYNOPSIS
vnccapture [options] [numcaptures] Options: -P --password=str password for the VNC server, if applicable -H --host=str address of VNC server (default: 'localhost') -p --port=num TCP port for VNC server (default: 5900) -d --depth=8|16|24 screen depth for capture (default: 24) -t --type=ext image type for output (default: 'png') -C --cursor include the mouse cursor in the image -o --outfile capture to the specified path otherwise capture to "snapshot<num>.<type>" -v --verbose print status and diagnostics to STDOUT -h --help verbose help message -V --version print the Net::VNC version DESCRIPTION
Connect to a VNC server and capture the screen one or more times. The output is written to, for example, "snapshot0001.png". The number is the sequence of captures and the extension is specified by the "--type" argument. The "--type" argument can be any format that Image::Imlib2 can support. SEE ALSO
Net::VNC Image::Imlib2 AUTHOR
Chris Dolan, cdolan@cpan.org perl v5.12.4 2011-10-31 VNCCAPTURE(1p)
All times are GMT -4. The time now is 07:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy