I have been “commissioned” to write a shellscript to automate Oracle cold refeshes.. right now we perform about 20 refresh each 300gb in size which takes up our time. my goal is to write a shellscript which can be executed by a user on serverA to refresh any of the 7 databases on ServerA. I am... (4 Replies)
Hi guys,
I am facing issues while triggering sqlplus with "/" option
I can connect to database with USER ID and password. but, if i just specify "/" option since it is "externally identiifed user" it doesn't work
Any suggestions?
mail me @ Removed.
Regards, Giri (2 Replies)
Hi ,
I'm a beginner in unix shell scripting need help in rectifying an error
Source file :test.txt with
Header
------
-----
Trailer
ex:
FH201010250030170000000000000000
abc def jke
abr ded etf
FE2
I was validating whether the header begin... (2 Replies)
Hi all,
Please help me out
How to write a shell script which converts abc.csv file into abc.xls
example file abc.csv
AP_RQ_ID,TXN_IER,AP_RS_RESP_CD,TXN_CNT,TOTAL_AMT
60000002,ACTIVATION,00,490,14657.52
60000002,ACTIVATION,08,1,100
This needs to be converted into excel format using a... (3 Replies)
#!/bin/sh
for ip in $(cat /root/Desktop/ftp.txt)
do
HOST=$ip
USER='bob'
PASS='bob'
ftp -n $HOST <<EOF
user bob bob
EOF
echo "$ip"
done
the Above code i want to use check and verify login works on multiple ftp servers on my network. However the ftp servers are dynamic in setup... (5 Replies)
I have an xml file where every line which has the word CDATA in it follows this pattern
(line number) <word1><!]></>I need only these lines editing so that the end result is that
(line number) <word1><!]></word1>so it copies the first bit to the end.
Anyone know how I can do this I am... (10 Replies)
Hi All,
I have run the below script but getting one small error. please help me to solve this.
ERROR:
tar: Error exit delayed from previous errors
CODE:
#! /bin/bash
CEP=/home/user01/exercise/CEP
ARCH=/home/user01/exercise/archive
LOG=/home/user01/exercise/logs... (3 Replies)
Can someone explain the -z option in shellscripting.
I did this. When I was in both ksh and bash it echoed back hi.
#!/bin/ksh
if
then
echo hi
fi
When I echoed $BASH_VERSION in bash it gave a version. When I echoed $BASH_VERSION in ksh it was blank.
I thought -z was... (4 Replies)
Discussion started by: cokedude
4 Replies
LEARN ABOUT CENTOS
platform::shell
platform::shell(n) Tcl Bundled Packages platform::shell(n)
__________________________________________________________________________________________________________________________________________________NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(n)