Sponsored Content
Operating Systems Solaris terminal output - save to file? Post 89700 by frustrated1 on Tuesday 15th of November 2005 08:07:42 AM
Old 11-15-2005
terminal output - save to file?

I have a window open on my ultra 10 - a terminal window connecting to a server.
Is there any way I can log all output to this window to a log file on my ultra 10 ?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

let curl output to stdout AND save to a file

hello hackers. i have a curl process running as cgi directly pushing stdout to the client. but i want to additionally save that stream to a file at the same time. any directions madly welcome. thanks in advance (3 Replies)
Discussion started by: scarfake
3 Replies

2. Shell Programming and Scripting

Save cURL verbose output to file or do it like browser "save as.."

hi there ! i have exactly the same problem like this guy here https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html i am not able to save the curl verbose output.. the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies

3. Shell Programming and Scripting

Way to save output result of a program into another new file...

Does anybody know any alternative way to save output result of a program into another new file? I got try the command below: program_used input_file > new_output_file program_used input_file >> new_output_file Unfortunately, both the ">" and ">>" is not work at this case to save the output... (6 Replies)
Discussion started by: patrick87
6 Replies

4. Shell Programming and Scripting

Save output to file - inside a script ?

I'm using the following script to check cisco router health and I'd like to save output to a file, vty_runcmd.sh > /check/check-cisco-health script works and output is saved to a file. However using it in crontab file is created but output is not printed inside it. In crontab, */5 * * * *... (4 Replies)
Discussion started by: marmellata
4 Replies

5. Shell Programming and Scripting

Save output into file bash scripting

Hi there. i have created a program that in the end it will give output like this 1 2 3 4 5 10 9 8 7 6 11 12 13 14 15 .............. 17 i wonder how to save the output into a single string and into a file. i.e 1 10 11 12 9 2 3 8 13 14 7 4 5 6 15 17 (in this order,... (3 Replies)
Discussion started by: shdin271
3 Replies

6. Homework & Coursework Questions

Save output into file bash scripting

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Hi there. i have created a program that in the end it will give output like this 1 2 3 4 5 10 9 ... (1 Reply)
Discussion started by: shdin271
1 Replies

7. Shell Programming and Scripting

Save value from output of Corestat and save in a list for each core

I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below: Core Utilization CoreId %Usr %Sys %Total ------ ----- ----- ------ 5 4.91 0.01 4.92 6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies

8. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

9. UNIX for Beginners Questions & Answers

Need to save output of echo and awk to a file

Hi, I am generating a YAML file from a hosts file, but am having trouble saving it to a new file. hosts file 127.0.0.1 localhost 192.168.1.2 host1 192.168.1.3 host2 192.168.1.4 host3 192.168.1.5 host4 YAML file $ echo 'host_entries:' && awk '{printf " %s:\n ip:... (3 Replies)
Discussion started by: sand1234
3 Replies
rlogind(8c)															       rlogind(8c)

Name
       rlogind - remote login server

Syntax
       /etc/rlogind

Description
       The server is used for the program.  The server provides a remote login facility with authentication based on privileged port numbers.

       The  server is invoked by when it receives a connection on the port indicated in the login service specification.  For further information,
       see When a service request is received, the following protocol is initiated:

       1.  The server checks the client's source port.	If the port is not in the range 0-1023, the server aborts the connection.

       2.  The server checks the client's source address and requests the corresponding host name.  If the hostname cannot be determined, the dot-
	   notation representation of the host address is used.

       Once  the source port and address have been checked, allocates a pseudo terminal and manipulates file descriptors so that the slave half of
       the pseudo terminal becomes the stdin, stdout, and stderr for a login process.  For further information, see

       The login process is an instance of the program, invoked with the option.  The login process then proceeds with the authentication  process
       as described in but if automatic authentication fails, it reprompts the user to log in on a standard terminal line.

       The  parent of the login process manipulates the master side of the pseudo terminal, operating as an intermediary between the login process
       and the client instance of the program.	In normal operation, the packet protocol described in is invoked to provide ^S/^Q type	facilities
       and propagate interrupt signals to the remote programs.	The login process propagates the client terminal's baud rate and terminal type, as
       found in the environment variable, TERM.  For further information see

       The screen or window size of the terminal is requested from the client, and any changes in the window size from the client are sent to  the
       pseudo terminal.

Restrictions
       The authentication procedure used here assumes the integrity of each client machine and the connecting medium.  This is insecure, but it is
       useful in an open environment.

Diagnostics
       All diagnostic messages are returned on the connection associated with the stderr, after which any  network  connections  are  closed.	An
       error is indicated by a leading byte with a value of 1.

       Hostname for your address unknown
       No entry in the host name database existed for the client's machine.

       Try again
       A fork by the server failed.

       /bin/sh: ...
       The user's login shell could not be started.

See Also
       rlogin(1c), inetd(8c)

																       rlogind(8c)
All times are GMT -4. The time now is 05:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy