12-22-2011
Worked a treat many thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was going through a find tutorial and just couldn't get it...can someone explain it like he/she would explain a brain damaged dodo?
"find allows you to specify a pattern that can be bit-wise ANDed with the permissions of the file. Simply put a minus sign before the octal value. The group write... (1 Reply)
Discussion started by: napolayan
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
i have query about "find" command. Do I need to put the command after -exec in single quotes? Why?
For ex. see output of these three find commands.
Any explanations?
cheers,
-Ashish (2 Replies)
Discussion started by: shriashishpatil
2 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone,
I have got two queries:
1) I want to do some work on files that were last modified yesterday.
Will find ... -mtime -2 be correct or -mtime-1?
2)What about finding files that were modified today? Will it be -mtime -0 or -mtime -1?
Thanks. (1 Reply)
Discussion started by: Rajat
1 Replies
4. Shell Programming and Scripting
i have a script that performes an update operation. I just wanted to know whether that update statement is successfull or not.
Below the script:
#!/bin/ksh
. $HOME/conf/systemProperties/EnvSetup.properties
sqlplus -silent sie/da@edn.world <<END
set pagesize 0 feedback off verify off... (3 Replies)
Discussion started by: ali560045
3 Replies
5. Shell Programming and Scripting
I am coding shell script.
I need to connect to different databases like DB2, Oracle and Sybase.
I would then need to query tables where it has all the groups, users for that database.
I would also need who has what kind of permissions.
EG: I know for DB2 some TABAUTH table needs to be... (0 Replies)
Discussion started by: pinnacle
0 Replies
6. Shell Programming and Scripting
Hello ppl,
I am writing a script which finds multiple words match and replace it with new words.
I have server.conf file which looks like
### Welcome to server ###
### Server address and port ###
Server=127.0.0.1
### Replace Server=0.0.0.0 ###
ServerPort=0
### Replace... (11 Replies)
Discussion started by: lightdensity
11 Replies
7. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
8. Shell Programming and Scripting
I need help with a regexp to find out the ip address which can possibly be present in a URL.
The URLs can be in any of the following form
<domain>?a=12345&d=somestring1
<domain>?c=10.10.10.100&d=somestring1
<domain>?a=12345&b=somestring1&c=10.1.2.4d=somestring2... (3 Replies)
Discussion started by: ampak
3 Replies
9. Shell Programming and Scripting
On my linux box, I have a file say dump.txt.
I then need to move to another seperte folder and need to find only one file with extension *.tar that has the closest timestamp after / next to the timestamp of the dump.txt. (2 Replies)
Discussion started by: mohtashims
2 Replies
10. Programming
Hi Team ,
I am new to Sybase Adaptive Server Enterprise/15.7 (ASE) and need some guidance to find the different values in serial format column.
SELECT DISTINCT SERIAL_FORMAT FROM PRODUCTS
It has values with below format which contains 12 digits hexadecimal characters with... (2 Replies)
Discussion started by: Perlbaby
2 Replies
VLMGR(1) Quick Database Manager VLMGR(1)
NAME
vlmgr - administration utility for QDBM Villa
SYNOPSIS
vlmgr create [-cz|-cy|-cx] name
vlmgr put [-kx|-ki] [-vx|-vi|-vf] [-keep|-cat|-dup] name key val
vlmgr out [-l] [-kx|-ki] name key
vlmgr get [-nl] [-l] [-kx|-ki] [-ox] [-n] name key
vlmgr list [-nl] [-k|-v] [-kx|-ki] [-ox] [-top key] [-bot key] [-gt] [-lt] [-max num] [-desc] name
vlmgr optimize name
vlmgr inform [-nl] name
vlmgr remove name
vlmgr repair [-ki] name
vlmgr exportdb [-ki] name file
vlmgr importdb [-ki] name file
vlmgr version
DESCRIPTION
This manual page documents briefly the vlmgr commands.
vlmgr is a utility for debugging Villa and its applications. It features editing and checking of a database. It can be used for database
applications with shell scripts. This command is used in the above format. name specifies a database name. key specifies the key of a
record. val specifies the value of a record.
OPTIONS
A summary of options is included below. For a complete description, see the file:///usr/share/doc/qdbm-doc/spex.html#villacli.
-cz compress leaves in the database with ZLIB.
-cy compress leaves in the database with LZO.
-cx compress leaves in the database with BZIP2.
-l all records corresponding the key are dealt.
-kx treat key as a binary expression of hexadecimal notation.
-ki treat key as an integer expression of decimal notation.
-vx treat val as a binary expression of hexadecimal notation.
-vi treat val as an integer expression of decimal notation.
-vf read the value from a file specified with val.
-keep specify the storing mode for `VL_DKEEP'.
-cat specify the storing mode for `VL_DCAT'.
-dup specify the storing mode for `VL_DDUP'.
-nl open the database without file locking.
-top key
specify the top key of listing.
-bot key
specify the bottom key of listing.
-gt do not include the top key of listing.
-lt do not include the bottom key of listing.
-max num
specify the max number of listing.
-desc list in descending order.
-ox treat the output as a binary expression of hexadecimal notation.
-n do not output the tailing newline.
-k output keys only.
-v output values only.
SEE ALSO
qdbm(3) vltsv(1), villa(3), vlopen(3).
AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project (but may be used by others).
Man Page 2005-05-23 VLMGR(1)