I need to find a place or places on the Internet where I can find UNIX scripts to view and to modify to make life easy on the UNIX environment. Shell scripts to be used, ksh, sh, csh. Can someone help me on this. Thanks ;) (2 Replies)
Hi all
Can sombody tell me how can i run a script as a regular user and then change in the middle of the script to root,perform a task that needs root permisions and get back to the regular user. (4 Replies)
Can anybody help me in finding out a solution for the problem below?
When we write .unix or .sh files in windows OS and port them to Unix platforms there is a character ^M inserted at the end of each line of the script file.
During ftp porting I set the transfer mode as ASCII for the script... (7 Replies)
Hi,
I have to write 2 unix scripts:
1. Check whether the databases are up or down which are on different servers.
2. Check the file system space on different Unix servers.
Please share your model scripts here. I have to submit this ASAP. Appreciate your reply......
Thanks (1 Reply)
Hi,
I have to write 2 unix scripts:
1. Check whether the databases are up or down which are on different servers.
2. Check the file system space on different Unix servers.
Please share your model scripts here. I have to submit this ASAP. Appreciate your reply......
Thanks (4 Replies)
Hi,
I need to develop a function incrementor that increments a given number that is passed as an argument (this should use eval). so, am not able to get much info on eval by googling (perticularly on incrementing).
please if any one can help me out.
thanks in advance (4 Replies)
hi everyone.Can anyone tell what books to study for unix shell scripting.ive planned to learn unix scripting but i dont kno what kind of books to refer so do help me..Thanks in advance. (1 Reply)
Hi guys,
Hoping someone can help with the below - involves basic commands and some scripting. Thanks so much in advance for your amazing time and help.
3. The file /etc/profile contains the default initialization options for your shell.
Produce a unique list of all variables with uppercase... (1 Reply)
Discussion started by: edujs7
1 Replies
LEARN ABOUT DEBIAN
notmuch-hooks
NOTMUCH-HOOKS(5) File Formats Manual NOTMUCH-HOOKS(5)NAME
notmuch-hooks - hooks for notmuch
SYNOPSIS
$DATABASEDIR/.notmuch/hooks/*
DESCRIPTION
Hooks are scripts (or arbitrary executables or symlinks to such) that notmuch invokes before and after certain actions. These scripts
reside in the .notmuch/hooks directory within the database directory and must have executable permissions.
The currently available hooks are described below.
pre-new
This hook is invoked by the new command before scanning or importing new messages into the database. If this hook exits with a non-
zero status, notmuch will abort further processing of the new command.
Typically this hook is used for fetching or delivering new mail to be imported into the database.
post-new
This hook is invoked by the new command after new messages have been imported into the database and initial tags have been applied.
The hook will not be run if there have been any errors during the scan or import.
Typically this hook is used to perform additional query-based tagging on the imported messages.
SEE ALSO notmuch(1), notmuch-config(1), notmuch-count(1), notmuch-dump(1), notmuch-new(1), notmuch-reply(1), notmuch-restore(1), notmuch-search(1),
notmuch-search-terms(7), notmuch-show(1), notmuch-tag(1)Notmuch 0.13.2 2012-06-01 NOTMUCH-HOOKS(5)