05-17-2010
Quote:
Originally Posted by
angshuman_ag
But, some tools say "Ambiguos Redirection". ?
Which tools for example? Do you run your failing command from shell or from a script?
10 More Discussions You Might Find Interesting
1. Solaris
Dear Experts,
I put below command-
could you please describe the outputs column-
let me describe some them-
col_1: (10.131.60.48.55880) The IP address of the local computer and the port number being used for this particular connection appear in the Local Address column.
col_2:... (3 Replies)
Discussion started by: thepurple
3 Replies
2. UNIX for Dummies Questions & Answers
Suppose I have a file named a
When I write
cat a>a
The following error message is displayed
cat: a: input file is output file
and my file a is truncated to zero size.
Also the exit status of the last command is 1
Can someone tell me what actually happens when I do so? (1 Reply)
Discussion started by: aagajaba
1 Replies
3. UNIX for Advanced & Expert Users
Hello bash experts.,
I was doing some experimentations to better understand the following redirection.,
$Output = `sh -c \"$Cmd 2>&1 1>&2\"`;
It is actually the line used in one of the perl program, but the technique i am trying to understand is related to shell scripting.
So is there... (5 Replies)
Discussion started by: thegeek
5 Replies
4. Shell Programming and Scripting
I'm redirecting the output of a command to a logfile, however, if the user is on a terminal I would also like the output to be displayed on the screen.
tar tvf some_tarfile >Logfile
if the user is on a term then have the output to the Logfile and also be displayed on the screen at the same... (2 Replies)
Discussion started by: nck
2 Replies
5. Shell Programming and Scripting
Hi there
I have a script that runs but it outputs everything onto the screen instead of a file.
I've tried using the > outputfile.txt however all it does is dump the output to the screen and creates an outputfile.txt but doesn't put anything in that file.
Any help would be appreciated
... (6 Replies)
Discussion started by: kma07
6 Replies
6. Shell Programming and Scripting
We have an application here that does some table queries and then prints the result on screen. I do not have the code of this application (which i will just call "queryCommand"), but what it does is that you call it with some parameters and it prints some info about the query and then the... (5 Replies)
Discussion started by: jolateh
5 Replies
7. UNIX for Dummies Questions & Answers
Hello i am trying to write a script that will redirect the output to a certain file. Here is the code so far:
#!/bin/bash
ps -e | sort | more > psfile
When I execute the script nothing happens since i assume the output was redirected to the file called psfile. When I try to look at the... (1 Reply)
Discussion started by: mfruiz34
1 Replies
8. Shell Programming and Scripting
Hi
I am making a script where i want to redirect the output of ls -l to a file
Example
#ls -l fil1.txt > /opt/temp/a.txt
ac: No such file or directory
I want to capture output of this command
like here output is
ac: No such file or directory
can anyone help (4 Replies)
Discussion started by: anish19
4 Replies
9. Shell Programming and Scripting
Hi all
I was wondering if there was a slicker way of doing this without the file -
awk '{print $2}' FS=":" "${FILE}" > "${TMPFILE}"
{
read M_GRP_ID || m_fail 1 "Error: Read failed 1 (${FUNCNAME})"
read M_GRP_WAIT || m_fail 1 "Error: Read failed 2 (${FUNCNAME})"
}... (6 Replies)
Discussion started by: steadyonabix
6 Replies
10. Shell Programming and Scripting
Hi All,
i have below for loop of which i am trying to redirect output in a file:
for i in `/usr/sbin/ifconfig -a | awk '/flags/ {print $1}' | grep -v lo | sed 's/://g'`
do
ifconfig $i dhcp status
done >> /tmp/logfile
but instead the output is appearing as stdout on screen rather than... (12 Replies)
Discussion started by: omkar.jadhav
12 Replies
LEARN ABOUT REDHAT
pvfreverse
pvf(1) General Commands Manual pvf(1)
NAME
pvf tools - utilities to convert various sound formats
DESCRIPTION
The pvf tools are a collection of tools to convert vgetty modem data to and from the 'raw modem data' format, and from that to and from
various audio file formats (like .au or .wav). In addition, there are some tools to manipulate pvf files, like speed up files or cut off
trailing noise.
A list of commands is below in the "see also" section.
You can run those commands with the -h switch for available options. Please also look at the individual contributed man pages.
SEE ALSO
autopvf(1), basictopvf(1), lintopvf(1), pvf(1), pvfamp(1), pvfcut(1), pvfecho(1), pvfff(1), pvffile(1), pvffilter(1), pvfmix(1),
pvfnoise(1), pvfreverse(1), pvfsine(1), pvfspeed(1), pvftoau(1), pvftobasic(1), pvftolin(1), pvftormd(1), pvftovoc(1), pvftowav(1), rmd-
file(1), rmdtopvf(1), voctopvf(1), wavtopvf(1)
AUTHOR
Original version from Klaus Weidner. Copyright (C) 1997 by Marc Eberhard <Marc.Eberhard@Uni-Duesseldorf.DE>
14 February 1997 pvf(1)