Hi All,
I am using Korn Shell HP UNIX and i am writing my scripts with filename extension as ksh or sh ..
I want to know what is the difference if i am giving ksh and sh
Other thing when we execute the shell script either we make it as executable and run directly else we give '.' or 'sh'... (2 Replies)
Hi ,
I need your help to know the exact operation of this following code ..
cat file1 | ux2dos | tr -d ''>>file2
file1 contains only one line : "DTS-PO\SPECTRUM WO 56"
the data contains a META CHAR "\" .. look at the above line.
But , The file2 output contains :... (7 Replies)
:confused:
Hi All,
i am new to unix....so i am not sure whether i am asking the related question with our forum..
My question .....Can anyone explain me about the CGI script
is it something related to Unix or Linux or some other language.
Thanks in advance
Sha (1 Reply)
Hi, I am analisying an existing script. what the below code will do?
if
can some onle tell me what -a will do here. Upto my knowledge it can be used as and.
In this case they gave a comment like-- it will check for the existance of the ref file. I feel -f need to be used to check the existence.... (2 Replies)
Hi,
I am creating two shell scripts for Database backup and the output has to be routed to nohup.out file.
We will also be running the scripts in the background as
nohup.out <script_name> &
Do I manually need to create a nohup.out file in the directory from where the scripts are going... (1 Reply)
Hi,
I'm using Ksh and I'm seeing some of code in my programme as given below.
Could you please let me know whats is this meeaing ?
(I'm new to this unix)
grep "1034" /u/kkk/bin/temp5.lst|cut -c1-2 >/u/kkk/bin/temp6.lst
if
then
echo ""
... (2 Replies)
Hi All,
I have a file cleanlogs_imgp01_files which has the contents as follows,
cold_log|/opt/elf/cold_spool
get_orion_log|/opt/elf/logs
get_coldFiles_log|/opt/elf/logs
get_coldFiles_TuesToSat_log|/opt/elf/logs
get_coldFiles_MonToSat_log|/opt/elf/logs
And when i execute this, I get the... (1 Reply)
what is the significance of %%.ksh in processname and %.ksh in processname_1 variable?
Why is it returning same value?How is it working?
processname=Testabc
export processname=${processname%%.ksh}
echo $processname #It is returning Testabc
export processname_1=${processname%.ksh}
echo... (2 Replies)
Discussion started by: vamsi.valiveti
2 Replies
LEARN ABOUT CENTOS
osinfo-db-validate
OSINFO-DB-VALIDATE.C(1) Virtualization Support OSINFO-DB-VALIDATE.C(1)NAME
osinfo-db-validate - Validate libosinfo XML data files
SYNOPSIS
osinfo-db-validate [OPTIONS...] LOCAL-PATH1 [LOCAL-PATH2...]
osinfo-db-validate [OPTIONS...] URI1 [URI2...]
DESCRIPTION
Check that all files ("LOCAL-PATH1" or "URI1") comply with the libosinfo XML schema. The local path may point to a directory containing XML
files, or directly to an XML file. The uris must point directly to remote XML files
Any validation errors will be displayed on the console when detected.
OPTIONS -v, --verbose
Display verbose progress information when validating files
EXIT STATUS
The exit status will be 0 if all files passed validation, or 1 if a validation error was hit.
SEE ALSO xmllint(1)AUTHORS
Daniel P. Berrange <berrange@redhat.com>
COPYRIGHT
Copyright (C) 2012 Red Hat, Inc.
LICENSE
"osinfo-db-validate" 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-02-26 OSINFO-DB-VALIDATE.C(1)