07-14-2013
Record standard output and inputs made on a session
When using Oracle, we have an option to turn spool on, which records that transactions and output to a file. Any such options on UNIX, where I can get everything I have on my screen into a file? That would be helpful in documenting the OS level changes that I perform manually.
regards
Roshni
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When I run a third parties program from the command line (this program basically list's a whole load of stuff) and write the output to a file it splits the output, i.e. in the middle of the file appears the exit command.
If I don't redirect the output and write it to tty then the output is... (3 Replies)
Discussion started by: dbrundrett
3 Replies
2. Shell Programming and Scripting
Hello,
Is is possible to redirect stdout to a file as well as to the console/screen or display in ksh.
any thoughts suggestions/input is appreciated. Thanks. (2 Replies)
Discussion started by: jerardfjay
2 Replies
3. Shell Programming and Scripting
Hi, trying to store a comand involving a redirection in a variable and then run this variable. But the redirection gets lost.
Ex:
#!ksh
MYCMD="ls -l > dirlist.txt"
$MYCMD
This runs the command but displays the result in the terminal instead of redirecting it to the text file.
Can... (4 Replies)
Discussion started by: rm-r
4 Replies
4. Shell Programming and Scripting
How to record my login session in a file named session.lst? (1 Reply)
Discussion started by: anupdas
1 Replies
5. UNIX for Dummies Questions & Answers
Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway?
Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Discussion started by: killaram
6 Replies
6. UNIX for Dummies Questions & Answers
Is it possible to read from the screen or standard output? If so, may I know how I can do this?
For example, I have an application running which prints out the following on the screen:
Starting tools from .image-tools...
imagecontrol_1: SECS/GEM-capable version is running
done
cindy@pgunix... (2 Replies)
Discussion started by: sippingsoda
2 Replies
7. Shell Programming and Scripting
Alright so i got this script genpipe:
echo "$*" |sh genscript file
vi file << 'HERE'
:%s/^/echo /g
:%s/ $//g
:%s/ /&\| xargs \.\/plus /g
:wq
HERE
cat file
Which generates output like echo 1 | xargs ./plus 2 | xargs ./plus 3 and so on
Now i got the next script multiplus, who should... (3 Replies)
Discussion started by: Bertieboy7
3 Replies
8. Shell Programming and Scripting
I want a script that will prompt a user to enter 10 numbers and out put them into a file. This what I have so far, but isn't working. I'm guessing it's something easy I'm not seeing. Thanks for any help.
#!/usr/bin/ksh
echo "Enter 10 numbers"
for i in 1 2 3 4 5 6 7 8 9 10
do
read .... ... (8 Replies)
Discussion started by: AxlVanDamme
8 Replies
9. Red Hat
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
10. Shell Programming and Scripting
Bit of a strange one.
Have a script called rapidclone_test.sh which calls Oracle rapidclone using su -c as an oracle osuser. However, if I control+c out to the calling shell anything entered is not displayed on the terminal. Any command executes successfully though.
Why is the standard... (1 Reply)
Discussion started by: u20sr
1 Replies
uucico(1M) System Administration Commands uucico(1M)
NAME
uucico - file transport program for the uucp system
SYNOPSIS
/usr/lib/uucp/uucico [-f] [-c type] [-d spool-directory] [-i interface] [-r role-number] [-s system-name] [-x debug-level]
DESCRIPTION
uucico is the file transport program for uucp work file transfers.
OPTIONS
The following options are supported:
-f This option is used to "force execution" of uucico by ignoring the limit on the maximum number of uucicos defined
in the /etc/uucp/Limits file.
-c type The first field in the Devices file is the "Type" field. The -c option forces uucico to only use entries in the
"Type" field that match the user specified type. The specified type is usually the name of a local area network.
-d spool-directory This option specifies the directory spool-directory that contains the uucp work files to be transferred. The
default spool directory is /var/spool/uucp.
-i interface This option defines the interface used with uucico. The interface only affects slave mode. Known interfaces are
UNIX (default), TLI (basic Transport Layer Interface), and TLIS (Transport Layer Interface with Streams modules,
read/write).
-r role-number The role-number 1 is used for master mode. role-number 0 is used for slave mode (default). When uucico is started
by a program or cron, role-number 1 should be used for master mode.
-s system-name The -s option defines the remote system (system-name) that uucico will try to contact. It is required when the
role is master; system-name must be defined in the Systems file.
-x debug-level Both uux and uucp queue jobs that will be transferred by uucico. These jobs are normally started by the uusched
scheduler, for debugging purposes, and can be started manually. For example, the shell Uutry starts uucico with
debugging turned on. The debug-level is a number between 0 and 9. Higher numbers give more detailed debugging
information.
FILES
/etc/uucp/Devconfig
/etc/uucp/Devices
/etc/uucp/Limits
/etc/uucp/Permissions
/etc/uucp/Sysfiles
/etc/uucp/Systems
/var/spool/locks/*
/var/spool/uucp/*
/var/spool/uucppublic/*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbnuu |
+-----------------------------+-----------------------------+
SEE ALSO
uucp(1C), uustat(1C), uux(1C), Uutry(1M), cron(1M), uusched(1M), attributes(5)
SunOS 5.10 19 May 1993 uucico(1M)