10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I am new to shell scripting,
Can you please help me in writing a script that can switch user in same server with different user name and same password.
I want to perform some functional task in a particular user and need to switch user and perform same activity in another user and so on ...
... (4 Replies)
Discussion started by: Dew
4 Replies
2. Shell Programming and Scripting
i have a problem with the code I created (see below).
a. when I logged in as root and su to tomcat, i can execute all options. when I press X, it will exit properly.
b. when I logged in directly as user1, I can execute also all options. if I press X i will logout automatically to putty.... (2 Replies)
Discussion started by: lhareigh890
2 Replies
3. Windows & DOS: Issues & Discussions
Hello,
Is it any way to accept automaticaly the fingerprints?
The basic idea is to find a way to give a command to many servers at once.
So i thought to create a multiple session with all the connections opened them in multiple tabs and give the command at once to all the opened windows... (0 Replies)
Discussion started by: @dagio
0 Replies
4. Solaris
Hi
just looking for some advise on the best way to set-up a passive dhcp server in solaris.
Was thinking of exporting the dhcp data/macros etc to a separate server to use as a backup that will be activated when the main dhcp server goes down
Any hints/tips etc greatly appreciated (1 Reply)
Discussion started by: eeisken
1 Replies
5. Shell Programming and Scripting
Friends...This is the first time i am trying the report generation using shell script... any suggestions are welcome.
Is there a way to set the font size & color when i am exporting the data from unix shell script as a CSV file ?
The following sample data is saved as a .csv file in the... (2 Replies)
Discussion started by: appu2176
2 Replies
6. Solaris
Hi,
I have Solaris zone configured with Solaris 9 and 10.
In Solaris 10(non global), I use the command “zonename” to get whether it is global or non-global server.
For Solaris 9, what command I can use to get whether it is global or non-global server.
Regards,
Kalai :confused: (25 Replies)
Discussion started by: kalpeer
25 Replies
7. Shell Programming and Scripting
Hi,
I have a .csv file created by a script with data in a tabular format.
I need to insert all the value into mysql database which is running in a different machine.
what is the command to export the .csv file into database using shell script.
Thanks in advance. (3 Replies)
Discussion started by: ahamed
3 Replies
8. Solaris
Hi Guys,
My requirement is I have file called /opt/orahome/.profile in non global zone.
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:.
export PATH
PS1="\${ORACLE_SID}:`hostname`:\$PWD$ "
export PS1
EDITOR=vi
export EDITOR
ENV=/opt/orahome/.kshrc
export ENV... (1 Reply)
Discussion started by: vijaysachin
1 Replies
9. Solaris
I am having trouble starting the DCHP server in a non-global zone that has exclusive access to an interface. Every time I attempt to start it goes in to maintenance mode and the error in the log shows this:
I have seen on a thread on Sun's forums that addressed this but it was dealing with Solaris... (9 Replies)
Discussion started by: Lespaul20
9 Replies
10. IP Networking
Hi All,
I am running a IPv6 UDP server, which is bound to in6addr_any. When I send a packet from a client to the link-local address of any interface on the linux box, the server accepts the packets. But when I send the packets to the global address the server doesnt pick the packets.
On... (0 Replies)
Discussion started by: muralia
0 Replies
SCRIPT(1) BSD General Commands Manual SCRIPT(1)
NAME
script -- make typescript of terminal session
SYNOPSIS
script [-a] [-f] [-q] [-t] [file]
DESCRIPTION
Script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive
session as proof of an assignment, as the typescript file can be printed out later with lpr(1).
If the argument file is given, script saves all dialogue in file. If no file name is given, the typescript is saved in the file typescript.
Options:
-a Append the output to file or typescript, retaining the prior contents.
-f Flush output after each write. This is nice for telecooperation: One person does `mkfifo foo; script -f foo' and another can super-
vise real-time what is being done using `cat foo'.
-q Be quiet.
-t Output timeing data to standard error. This data contains two fields, separated by a space. The first field indicates how much time
elapsed since the previous output. The second field indicates how many characters were output this time. This information can be used
to replay typescripts with realistic typing and output delays.
The script ends when the forked shell exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-d (if ignoreeof is not
set) for the C-shell, csh(1)).
Certain interactive commands, such as vi(1), create garbage in the typescript file. Script works best with commands that do not manipulate
the screen, the results are meant to emulate a hardcopy terminal.
ENVIRONMENT
The following environment variable is utilized by script:
SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most
shells set this variable automatically).
SEE ALSO
csh(1) (for the history mechanism), replay(1).
HISTORY
The script command appeared in 3.0BSD.
BUGS
Script places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects.
Linux July 30, 2000 Linux