11-07-2010
Quote:
Originally Posted by
fpmurphy
excellent. that explains it, we're passing in 1, and i did not know why, now i do.
thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi
i have a function
abc
{
//from this function i am passing args to antoher function like
def a b c j k l
}
now i want to count the no of args coming to def() function and iterate over those values
is there any way to do this one
please help (2 Replies)
Discussion started by: satish@123
2 Replies
2. SuSE
Hi,
I have got few RPM's from rpmfind.net ( mainly gcc ).
But it seems to be src files instead of the image.
so I think we have to build the src files according to target machine using rpmbuild.
Can any one help me with
1) Various options of rpm build that have to be taken care
2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies
3. Linux
Hi,
In the rpm SPEC file there is %pre section for preinstall scripts.
We can write any think in the "sh" format here.
I want to call a script here. How can i do this?
Thanks (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies
4. UNIX for Dummies Questions & Answers
Greetings, I hope this is the right forum. I am looking to install Samba on my Linux box on my home network. I'm pretty sure I can deal with the how, I'm just not certain of the what.
ok I'm using Debian lenny with no GUI. I have apt working and I've successfully installed and used one package... (10 Replies)
Discussion started by: fguy
10 Replies
5. Shell Programming and Scripting
Hi,
I am using SYBASE database. in my script i am connecting to DB via using isql.
isql -U${S_USER} -S${S_SERV} -D${S_DB} -P${S_PWD} -b0 -w3000 -h0 -s"|" -i${MYDIR}/ABC.sql -oXYZ.txt << FINSQL
i am taking a ABC.sql file to use the queries written in it and storing the output in... (3 Replies)
Discussion started by: dazdseg
3 Replies
6. Shell Programming and Scripting
i want to check passed arguments one by one and if it is user print home director of that user (3 Replies)
Discussion started by: testman84
3 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
I am trying to pass arguments to the script i am wrinting.
When no argument is passed or wrong argument is passed, the script needs to output the way it needs to be called and exit.
Currently, when no arguments is passed, it is not getting exited but goes on assuming those... (3 Replies)
Discussion started by: mac4rfree
3 Replies
8. Red Hat
Hey all,
I'm not sure if this possible but I had tested it out manually during the installation (placed a sleep in the pre-installation) and it worked. I'm trying to have a pexpect script to log into the mysql and input a new row for the pre-installation, which will end up displaying on a web... (1 Reply)
Discussion started by: karljbaker
1 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to delete columns in a file using a script. The columns that need to be deleted are passed as arguments to the script.
The script should look like this
> delete_columns.sh <file_name.txt> <column_numbers_to_be_deleted>
The contents of the file_name.txt will be like ... (5 Replies)
Discussion started by: VNR
5 Replies
10. Shell Programming and Scripting
My requirement is that I want to pass similar argument to a shell script and process it in the script. Something like below:
myScript.sh -c COMPONENT1 -c COMPONENT2 -a APPNote: -c option can be specified multiple times and -a is optional parameter
I know this can be achieved using... (2 Replies)
Discussion started by: rajdeep_paul
2 Replies
LEARN ABOUT CENTOS
yum-verify
yum-verify(1) yum-verify(1)
NAME
yum verify plugin
SYNOPSIS
yum [options] verify [package ...]
DESCRIPTION
This plugin extends yum with some commands that give verification information on the installed system, much like rpm -V. You can change how
the verification is done and which files it applies to.
added yum commands are:
* verify
* verify-rpm
* verify-all
all of which take the same arguments as the list yum command, obviously you can only verify packages that are installed on the system.
verify Is the generic verification command, and is intended to give the most useful output. It removes all false matches due to multilib
and ignores changes to configuration files by default.
verify-rpm
Is meant to be 100% compatible with rpm -V output, and any differences should be considered as bugs.
verify-all
Is used to list all the differences, including some that rpm itself will ignore.
GENERAL OPTIONS
These are the options added to yum that are available in the verify commands. They are:
--verify-filenames
This option is used to limit the filenames that the packages will perform verification.
--verify-configuration-files
This option is only useful in the generic verify command, and will enable/disable verification of files that are tagged as configu-
ration files.
EXAMPLES
To do the same as rpm -Va, use:
yum verify-rpm
To verify the packages starting with the name yum, use:
yum verify 'yum*'
To verify the binaries that are in a bin directory, use:
yum verify --verify-filenames='*bin/*'
To verify all include files, Eg. for multilib problems, use:
yum verify-all --verify-filenames='/usr/include/*'
SEE ALSO
yum (8)
yum.conf (5)
the verify.conf file in /etc/yum/plugins.d
AUTHORS
James Antill <james.antill@redhat.com>.
BUGS
Currently yum-verify does not do verify-script checking or dependency checking,
only file checking.
Should you find any other bugs, you should first
consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful
in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org.
To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos
related bugs and http://yum.baseurl.org/report for all other bugs.
James Antill 01 March 2008 yum-verify(1)