03-29-2005
what happens when you just run script, allowing it to output to a default file?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to find out Row which starts with, the user specified details to a script.
In general I know what command to be given.
awk '$0~/^Vi/' BReject
But I need to pass on $1 param of command line at the place of 'Vi'.
I tried with -v subst=$1
awk -v subst=$1 '$0~/^subst/' BReject
But it... (5 Replies)
Discussion started by: videsh77
5 Replies
2. UNIX for Dummies Questions & Answers
Hi frnds,
i need ur help reg getdents command which is used to read the directory entries. I need to know the exact usage of the command and any sample code reg the usage of getdents command
-------------
deep :confused: (1 Reply)
Discussion started by: deep
1 Replies
3. Shell Programming and Scripting
I am using the mailx command of Unix through which I am able send mails but the problem is the from mail ID is automatically buit by unix as the (UNIX Box Name:---------------------------------) to mask the from id the option used by mailx is -r but for some security reasons this is blocked by the... (1 Reply)
Discussion started by: naren_chella
1 Replies
4. Shell Programming and Scripting
Hi all,
I am not sure whether this is the right place to ask this question...:)
I am working in Informatica PowerCenter 8.1.1 tool and my server is on UNIX. I have got a shell script to copy files from one folder to another.
When I run the script directly from UNIX prompt it is taking 60... (0 Replies)
Discussion started by: sam99
0 Replies
5. Shell Programming and Scripting
Hi ,
Can we run shell scripts by calling them through a GUI , so that even a New comer can run them by just clicking on them . We have around 100 Scheduled scripts and we have cornered on some 20 scripts that should be called through a GUI .
How can this be achieved ?
Thanks in... (2 Replies)
Discussion started by: shyam.appalla
2 Replies
6. Shell Programming and Scripting
Hi,
I want to retrieve files from an sftp site and place it a directory in unix server.
When I try to connect, it is asking password even if i hardcode it in the script.I want to automate the script. Could anyone tell me how to avoid password prompt.
#!/bin/sh
# sample automatic ftp script... (3 Replies)
Discussion started by: vidhya_vec
3 Replies
7. Solaris
Am new to solaris can anyone explain the fields in the below command. Also let me know the difference between nodename and hostname. Here osnask2 is the hostname and type SUNOS. What abt the remaining fields.?
#uname -a
SunOS osnska2 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-480R (1 Reply)
Discussion started by: rogerben
1 Replies
8. Solaris
Hi,
Can anyone explain me what is RSS time in the prstat output.
In the below example 93M is total process size(correct me if am wrong ) what abt 58M?
1693 root 93M 58M cpu1 0 10 4:11:02 0.8% java/35 (2 Replies)
Discussion started by: rogerben
2 Replies
9. Solaris
Hi,
Am trying to send mail from solaris host to my mailbox, but while executing mailx command am getting the follow error.Is this syntax corect?
#mailx -s "subject" <myid>
The flags you gave are used only when sending mail. (1 Reply)
Discussion started by: rogerben
1 Replies
10. Shell Programming and Scripting
Dear community,
I am trying for several hours now to create an egrep command to grep the number of lines containing a specific text from a text-file but seem to have an error somewhere.
The Textfile contains several thousand lines and has the expression "Lastname" in several lines.... (3 Replies)
Discussion started by: Donzo
3 Replies
LEARN ABOUT CENTOS
osinfo-install-script
OSINFO-INSTALL-SCRIPT.C(1) Virtualization Support OSINFO-INSTALL-SCRIPT.C(1)
NAME
osinfo-install-script - generate a script for automated installation
SYNOPSIS
osinfo-install-script [OPTIONS...] OS-ID
DESCRIPTION
Generate a script suitable for performing an automated installation of "OS-ID". "OS-ID" should be a URI identifying the operating system,
or its short ID.
By default a script will be generated for a "JEOS" style install.
OPTIONS
--profile=NAME
Choose the installation script profile. Defaults to "jeos", but can also be "desktop", or a site specific profile name
--config=key=value
Set the configuration parameter "key" to "value".
CONFIGURATION KEYS
The following configuration keys are available
"hardware-arch"
The hardware architecture
"l10n-timezone"
The local timezone
"l10n-keyboard"
The local keyboard layout
"l10n-language"
The local language
"admin-password"
The administrator password
"user-password"
The user password
"user-login"
The user login name
"user-realname"
The user real name
"user-autologin"
Whether to automatically login the user
"user-admin"
Whether to give the user administrative privileges
"reg-product-key"
The software registration key
"reg-login"
The software registration user login
"reg-password"
The software registration user password
EXAMPLE USAGE
The following usage generates a Fedora 16 kickstart script
# osinfo-install-script
--profile jeos
--config l10n-timezone=GMT
--config l10n-keyboard=uk
--config l10n-language=en_GB
--config admin-password=123456
--config user-login=berrange
--config user-password=123456
--config user-realname="Daniel P Berrange"
fedora16
EXIT STATUS
The exit status will be 0 if an install script is generated, or 1 on error
AUTHORS
Daniel P. Berrange <berrange@redhat.com>
COPYRIGHT
Copyright (C) 2012 Red Hat, Inc.
LICENSE
"osinfo-install-script" is distributed under the termsof the GNU LGPL v2 license. This is free software; see the source for copying
conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
libosinfo-0.2.7 2013-04-10 OSINFO-INSTALL-SCRIPT.C(1)