08-16-2009
Franklin,
I am way too old for homework but I could use the same script for housekeeping ... just too stupid to write it myself and too lazy to do it manually
Rgds
zxmaus
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Can anyone please tell me how to get into Interactive Mode? (2 Replies)
Discussion started by: Nomad
2 Replies
2. Shell Programming and Scripting
Hi All,
Does perl has an interactive mode like other shell?
If there is, can any one show me the equivalent code for the below csh script ? This csh code prompts user for their name and prints the name.
#!/bin/csh
echo -n "Pls enter the your name: "
set name = ($<)
echo "You hav... (2 Replies)
Discussion started by: Raynon
2 Replies
3. UNIX for Advanced & Expert Users
Can i run the SU command in a non interactive mode. What i want to do is to pass the username and the password as commandline or batch parameters. Please let me if its possible and how to pass them. A sample file will be appreciated.
Thanks, (6 Replies)
Discussion started by: rohitag
6 Replies
4. Shell Programming and Scripting
Can anybody help me to write a shell script to login interactive system
once u open a connection using telnet it will ask for
USERCODE:
PASSWORD:
DOMAIN: (1 Reply)
Discussion started by: sudhakaryadav
1 Replies
5. Shell Programming and Scripting
Gud morning everybody,
I need small help form you people,Please advice me.
I have a utility(adpatch) which takes 10-15 prompts, i want to automate this by calling this utility in shell script. Now my qiestion i want to run the script in non interactive mode.
An example.
$adpatch... (1 Reply)
Discussion started by: swetham.apps
1 Replies
6. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
Discussion started by: rits
1 Replies
7. Solaris
I want zlogin -C as non interactive mode so after booting the zone I created a file sysidcfg in /etc directory
of the zone the sysidcfg file info as shown below.
system_locale=C
terminal=dtterm
network_interface=primary {
hostname=my-zone
}
security_policy=NONE... (1 Reply)
Discussion started by: vijaysachin
1 Replies
8. UNIX for Advanced & Expert Users
Hi ,
I login to unix using my id and then do a sudo to execute any programs i want.
sudo su - <id>
password : xxxxxxx
Is there a way to make it non interactive so that i can use it in shell script. (1 Reply)
Discussion started by: ashwin3086
1 Replies
9. Shell Programming and Scripting
Hi All,
I need to sftp without any intervention.(LInux,Ksh)
I have tried some ideas listed here...but its not working...
Please advise on it. (1 Reply)
Discussion started by: jesu
1 Replies
10. UNIX and Linux Applications
Hello everyone, I just want to write a shell script for automatic feeding the username and password prompts when running my commands,
I tried this one but it did not work. Please help me for any way out.
#!/bin/bash
#!/usr/bin/expect
cd ~/workspace/mimosanetworks_mimosa-nms
ls -ltr
... (5 Replies)
Discussion started by: sandy-sm
5 Replies
LEARN ABOUT CENTOS
mysqlbug
MYSQLBUG(1) MySQL Database System MYSQLBUG(1)
NAME
mysqlbug - generate bug report
SYNOPSIS
mysqlbug
DESCRIPTION
This program enables you to generate a bug report and send it to Oracle Corporation. It is a shell script and runs on Unix.
The normal way to report bugs is to visit http://bugs.mysql.com/, which is the address for our bugs database. This database is public and
can be browsed and searched by anyone. If you log in to the system, you can enter new reports. If you have no Web access, you can generate
a bug report by using the mysqlbug script.
mysqlbug helps you generate a report by determining much of the following information automatically, but if something important is missing,
please include it with your message. mysqlbug can be found in the scripts directory (source distribution) and in the bin directory under
your MySQL installation directory (binary distribution).
Invoke mysqlbug without arguments:
shell> mysqlbug
The script will place you in an editor with a copy of the report to be sent. Edit the lines near the beginning that indicate the nature of
the problem. Then write the file to save your changes, quit the editor, and mysqlbug will send the report by email.
COPYRIGHT
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online
at http://dev.mysql.com/doc/.
AUTHOR
Sun Microsystems, Inc. (http://www.mysql.com/).
MySQL 5.1 04/06/2010 MYSQLBUG(1)