01-05-2020
Got it.... if I want to be able to view these
var, for say troubleshooting, canI? They can be virtual I just may need to verify them. Thank you
I think you beat me to it and just posted.
This User Gave Thanks to cmccabe For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
Guys im using bash and for me i think its the best shell, anyway which conf file related to bash ? is it $SHELL or .profile i want to add path to it so i dont need to type the full path of the binary file, i also want to configure the behaviour of the shell, please help. (1 Reply)
Discussion started by: XP_2600
1 Replies
2. Web Development
okay i'm going to try to say this uber-simple:
I use dropbox (file-sync service). in order for dropbox sync files, they must be its children eg. somewhere under /home/jzacsh/Dropbox].
I want to now use it to keep my development files in sync across my machines:
easy: just move my dev. files... (2 Replies)
Discussion started by: jzacsh
2 Replies
3. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
4. Shell Programming and Scripting
Hi ,
I have a config _file that has 3 columns (Id Name Value ) with many rows . In my bash script i want to be able to parse the file and do a mapping of any Id value
so if i have Id of say brand1 then i can use the name (server5X) and Value (CCCC) and so on ...
Id Name ... (2 Replies)
Discussion started by: nano2
2 Replies
5. Shell Programming and Scripting
hi all
config.sh :
dhcp="0"
setip="1"
telnet="1"
ping="1"
main.sh
function dhcp {
}
function setip {
} (1 Reply)
Discussion started by: sadosan83
1 Replies
6. Shell Programming and Scripting
myscript.sh
#!/bin/bash
ARGA=$1
if ; then
echo "${ARGA}:Confirmed"
else
echo "${ARGA}:Unconfirmed"
fi
when I run the above script from the command line, i run it as:
./myscript.sh jsmith
now some times, i need to runn it this way: (8 Replies)
Discussion started by: SkySmart
8 Replies
7. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
8. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
9. Shell Programming and Scripting
I want to make a config file which contain all the paths.
i want to read the config file line by line and pass as an argument on my below function.
Replace all the path with reading config path line by line and pass in respective functions.
how can i achieve that?
Kindly guide.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
10. Shell Programming and Scripting
Hello,
My question is about curl command. (ubuntu14.04)
In terminal, I am able to download my mainfile with:
curl -u user1:pass1 http://11.22.33.44/*******
When I convert it into bash script like this:
#!/bin/bash
cd /root/scripts
computer_ip=11.22.33.44
curl -u $1:$2... (8 Replies)
Discussion started by: baris35
8 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)