Hi,
How can I know the perl interpreter is installed in the system?
When I type 'find / -name perl -print 2>/dev/null', there is 6 lines listing:
/usr/local/bin/perl
/usr/bin/perl
/usr/lib/perl-5.8.0/bin/perl
/usr/opt/IAFW310/PERL/perl
/usr/opt/IAFW310/PERL/t/perl... (3 Replies)
I want to check which databases are installed on my FreeBSD installation. This is what I did: pkg_info | grep mysql
How do I check all in one go whether also sqlite, postgresql, firebird is installed?
Thanks in advance (3 Replies)
I develop a unix program in HPUX
I want to package my program
to install on HPUX in some dierctory folder
like /user/local/sbin/xxx
and preinstall some software before install my program
package like xxx.depot
how can i do it, have any tools like use setupfactory tools in windows
... (4 Replies)
Hi all,
I'm running a simulator and I'm noticing an slow increase in memory for long simulations such that the simulation has to end because of a lack of memory. A colleague of mine ran Valgrind memcheck and reported that nothing of interest was reported other than known mem leaks. My advisor... (2 Replies)
Hi,
I am new to linux, and i want to know which mysql dbd is installed on linux,
what is the command to check this.
bash-2.05$ uname -a
Linux SURINT01 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
Thanks
Prakash GR (6 Replies)
Hi,
For the below problem, awk script is needed..
input file :
jill
jack
jill
jill
jack
jill
jack
jill
Required:
here,
i need to check from first line.
reference is jack. jill need to verified with next line jack. if found print
jill & jack combination hill1
jack & jill &... (0 Replies)
Hi
I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Hi Guys,
Good morning! I have a file which looks something like this:
Command was launched from partition 0.
------------------------------------------------
Executing command in server server3
Thu Jan 12 11:10:39 EET 2012
------------------------------------------------... (3 Replies)
Hi,
I have a requirement where I need to combine two lines in a file based on first character of each line in a file.
Please find the sample content of the file below:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi, female,... (12 Replies)
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
LEARN ABOUT DEBIAN
cleanup_digikamdb
cleanup_digikamdb(1)cleanup_digikamdb(1)NAME
cleanup_digikamdb - Cleanup the digiKam databases to reduce their sizes and increase access speed
SYNOPSIS
cleanup_digikamdb [-t] [-T] [-p] [-h]
OPTIONS -t Include thumbnail databases.
-T Only cleanup thumbnail databases.
-p path
Specify a different database path. If this option is not set or the specified path is invalid, the entry from the configuration
file will be used.
-h Show command line options.
DESCRIPTION
cleanup_digikamdb will cleanup and optimize the digiKam database file. This will, in most cases, lead to a smaller database file size and
an increased access speed, because unneeded elements are removed from the database and data is optimized.
The program will make sure that no instance of digiKam is running, because it is more safe to have no database access during the optimiza-
tion process. It then will read the digiKam configuration file and determine the database location. In a final step the database will be
optimized by invoking the sqlite command 'VACUUM;' on it. If more then one database is found in this location, cleanup_digikamdb will op-
timize every database found in this path and below.
For further explanation, see the following description of the VACUUM command from the sqlite3 website:
When an object (table, index, or trigger) is dropped from the database, it leaves behind empty space. This empty space will be reused the
next time new information is added to the database. But in the meantime, the database file might be larger than strictly necessary. Also,
frequent inserts, updates, and deletes can cause the information in the database to become fragmented - scrattered out all across the data-
base file rather than clustered together in one place.
The VACUUM command cleans the main database by copying its contents to a temporary database file and reloading the original database file
from the copy. This eliminates free pages, aligns table data to be contiguous, and otherwise cleans up the database file structure.
AUTHOR
cleanup_digikamdb was written by Andi Clemens <andi dot clemens at googlemail dot com>
cleanup_digikamdb 24 October 2011 cleanup_digikamdb(1)