8 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Issue: I'm not receiving notifications
I can succesfully receive an e-mail if I do this on the command line:
/usr/bin/mail -s "NAGIOS HOST ALERT on $HOSTNAME$" rgouette@butlerbros.com
but, my command.cfg configuration below, refuses to send an e-mail when I set a service to a critical... (3 Replies)
Discussion started by: rgouette
3 Replies
2. Red Hat
We have a Redhat Enterprise Linux server which is not in production environment. Unfortunately it is not logging. How to trouble shoot it ?? How to know the exact problem ?
:rolleyes: (3 Replies)
Discussion started by: vamshigvk475
3 Replies
3. SuSE
I had sles 11 sp2 installed on my system some days back and it was running fine.
Today after I restarted my system the gui is not coming up and system starts in command terminal.
sax2 command returns error:
sax: gui is missing, starting command line interface
sax: no x-server... (4 Replies)
Discussion started by: rupeshkp728
4 Replies
4. UNIX for Dummies Questions & Answers
Hi Folks,
I have opened a log file through Vi editor in putty itself and I was searching for a pattern in logs , let say 'ABCD'
/abcd
then I want to come out from vi editor, Please advise what is the command to come out from unix editor..! (1 Reply)
Discussion started by: KAREENA18
1 Replies
5. Emergency UNIX and Linux Support
Hi All,
I have a whole root zone, tsesbd02-zesbx01. On this zone, syslog service is not coming up. While it is working good on Global zone. Below are commands from tsesbd02-zesbx01
root@tsesbd02-zesbx01:/# svcs -a svc:/system/system-log:default
svcs: -a ignored when used with arguments.... (13 Replies)
Discussion started by: solaris_1977
13 Replies
6. UNIX for Dummies Questions & Answers
hello friends, l was using this command to empty tmp directory
but l made this by mistake :
and l cant reach my sites now.
what l did ???
---------- Post updated 11-13-11 at 12:07 AM ---------- Previous update was 11-12-11 at... (3 Replies)
Discussion started by: rcpkrc
3 Replies
7. UNIX and Linux Applications
Hi groupies.
Is there any way to find any changes made to a directory?
Changes are adding a file to the directory or removing a file.
That is, I need to get the name of the file which is added or removed.
For adding,
I... (2 Replies)
Discussion started by: ashokmeti
2 Replies
8. Red Hat
Is there not one of us who can help here?? I'm really letting down my
pants here - not sure what's going on but if you could foreward this
link to a group you may know I would greatly appreciate it. I'm getting this error:
May 30 22:18:35 MYSERVERNAME sendmail: j4V2HWka015549: ... (1 Reply)
Discussion started by: angelohl
1 Replies
UPDATE-DESKTOP-DATABASE(1) General Commands Manual UPDATE-DESKTOP-DATABASE(1)
NAME
update-desktop-database - Build cache database of MIME types handled by desktop files
SYNOPSIS
update-desktop-database [-q|--quiet] [-v|--verbose] [DIRECTORY...]
DESCRIPTION
The update-desktop-database program is a tool to build a cache database of the MIME types handled by desktop files.
The cache database contains the list of MIME types that can be handled by desktop files, as well as, for each MIME type, a list of desktop
files that can handle this MIME type. This cache database ease the work of applications that need to find an application that can open a
document of a specific MIME type: those applications will not have to parse all the desktop files existing on the system, and can instead
parse this cache database.
If no DIRECTORY is specified as argument, the desktop files that will be processed are the ones installed in $XDG_DATA_DIRS/applications.
If both the --quiet and --verbose options are used, then --verbose will be ignored.
OPTIONS
The following options are supported:
-q, --quiet
Do not display any information about processing and updating progress.
-v, --verbose
Display more information about processing and updating progress.
NOTES
If an invalid MIME type is met, it will be ignored and the creation of the cache database will continue.
The format of the cache database is a simple desktop entry format, with a MIME Cache group, containing one key per MIME type. The key name
is the MIME type, and the key value is the list of desktop file that can handle this MIME type.
The order of the desktop files found for a MIME type is not significant. Therefore, an external mechanism must be used to determine what
is the preferred desktop file for a MIME type.
EXAMPLE
Here is a simple example of a cache database:
[MIME Cache]
application/x-shellscript=gedit.desktop;
text/plain=gedit.desktop;gvim.desktop;
video/webm=totem.desktop;
This cache database is created with three desktop files, each containing a MimeType key:
gedit.desktop: MimeType=text/plain;application/x-shellscript;
gvim.desktop: MimeType=text/plain;
totem.desktop: MimeType=video/webm;
FILES
$XDG_DATA_DIRS/applications/mimeinfo.cache
This file is the cache database created by update-desktop-database.
BUGS
If you find bugs in the update-desktop-database program, please report these on https://bugs.freedesktop.org.
FREEDESKTOP.ORG UPDATE-DESKTOP-DATABASE(1)