emacs command output


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers emacs command output
# 1  
Old 10-04-2008
emacs command output

how can I display the output of a command in an emacs .log file so that it's in the text and not the buffer? I don't know if that makes since, but I'm trying to make a log of the output of several commands.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Insert title as output of command to appended file if no output from command

I am using UNIX to create a script on our system. I have setup my commands to append their output to an outage file. However, some of the commands return no output and so I would like something to take their place. What I need The following command is placed at the prompt: TICLI... (4 Replies)
Discussion started by: jbrass
4 Replies

2. UNIX for Dummies Questions & Answers

Set Command to output a log of every command executed in the script

Hi Guys, I like to output every command executed in the script to a file. I have tried set -x which does the same. But it is not giving the logs of the child script which is being called from my script. Is there any parameters in the Set command or someother way where i can see the log... (2 Replies)
Discussion started by: mac4rfree
2 Replies

3. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

4. Red Hat

Command understanding the output file destination in case of standard output!!!!!

I ran the following command. cat abc.c > abc.c I got message the following message from command cat: cat: abc.c : input file is same as the output file How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies

5. Shell Programming and Scripting

Want to terminate command execution when string found in the command output

Hi Experts, I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task. I am running below command to snmpwalk the router.. snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies

6. UNIX for Dummies Questions & Answers

passing command output from one command to the next command in cshell

HI Guys, I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that 1) I need to enter these commands $ echo $DISPLAY $ setenv $DISPLAY output_of_echo_$display_command How can i write a... (2 Replies)
Discussion started by: kaaliakahn
2 Replies

7. AIX

Non interactive command output using script command ?

Hello, Script command helps to save command output to file. (Redicection doesn't work in this case). Besides interactive shell 'recording', Linux script command has "-c" option which allows to record output of some non-interactive command. The problem is that AIX script command variant... (6 Replies)
Discussion started by: vilius
6 Replies

8. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

9. UNIX for Dummies Questions & Answers

problem with output of find command being input to basename command...

Hi, I am triying to make sure that there exists only one file with the pattern abc* in path /path/. This directory is having many huge files. If there is only one file then I have to take its complete name only to use furter in my script. I am planning to do like this: if ; then... (2 Replies)
Discussion started by: new_learner
2 Replies

10. UNIX for Dummies Questions & Answers

why emacs caused "command not found" error

I installed Red Hat Enterprise Linux 5 on my PC. When i typed 'emacs' on the console, "command not found" error occurrd. Why. :mad: (1 Reply)
Discussion started by: cy163
1 Replies
Login or Register to Ask a Question
emacs(1)						      General Commands Manual							  emacs(1)

NAME
emacs, xemacs - emacs editor DESCRIPTION
The emacs software is unsupported software that is provided as part of Tru64 UNIX. Compaq will fix problems in this unsupported software only if they are specific to Tru64 UNIX. Compaq will not fix problems that are integral to the software itself or that occur when the com- ponent is used on UNIX systems other than Tru64 UNIX. Compaq will not add functionality to this software. Except for this reference page, other reference pages that Tru64 UNIX supplies for emacs are passed through without changes. The reference pages distributed as part of this software are available in the directories /usr/share/doclib/annex/man/man[1-9]. You should use this directory stem in the man command or add it to the MANPATH environment variable to make these files available to the man command. Note Compaq is not responsible for the content or quality of reference pages and other documents installed under the /usr/share/doclib/annex directory and does not revise this material in response to customer problem reports. Reference pages installed under the /usr/share/doclib/annex/man directory are not available from Compaq in book form; for example, they are not included in the reference manu- als that you receive when you order the Tru64 UNIX documentation set as hard copy books. Problems related to the content or quality of any documentation installed in the /usr/share/doclib/annex directory tree should be sent to the developers of the documentation. The format for changing the search path with the man command is: man -P /usr/share/doclib/annex/man [section] title... If you are using the Bourne, Korn, or POSIX shells, use the following command sequence to modify your environment: MANPATH=$MAN- PATH:/usr/share/doclib/annex/man export MANPATH If you are using the C shell, enter the command: setenv MANPATH `echo $MANPATH`:/usr/share/doclib/annex/man See the reference pages for the man(1) command for additional information on the search path used to locate files. The reference pages associated with this product are not included in the whatis data base created by the catman command. Therefore, the man -k and apropos commands will not locate reference pages included with this product. SEE ALSO
Commands: apropos(1), catman(8), man(1) emacs(1)