Sponsored Content
Homework and Emergencies Homework & Coursework Questions Could anyone help explain this? Post 302343381 by pludi on Wednesday 12th of August 2009 09:57:10 AM
Old 08-12-2009
Hint 1: Generally, all files that aren't intended to be changed by a normal user can be considered worth watching. Think configuration files and bin directories.
Hint 2: A good indication of change can be found by using cryptographic hashing functions
Hint 3: A Tripwire can tell you when something is happening.

Yes, I'm being sketchy on purpose Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

please explain this

zsh 4.3.4% cat file ACFCFACCACARCSHFARCVJVASTVAJFTVAJVGHBAJ zsh 4.3.4% cat file1 A C F R zsh 4.3.4% <file1 while read;do printf "%s=%d\n" "$REPLY" "${#$(<file)//}";done A=9 C=7 F=4 R=2 That was the previous post. But , can anybody can explain me in detail about this line zsh... (2 Replies)
Discussion started by: dummy_needhelp
2 Replies

2. Shell Programming and Scripting

Please can any one explain this ${0##/}

I did not understand what is ${0##/} PGM=${0##/} TMP=/tmp/${PGM}.$$ Please explain me. (2 Replies)
Discussion started by: gadege
2 Replies

3. Shell Programming and Scripting

please explain the below

could u please convert the below statement to shell script ---------- logdir=/smp/dyn/logfiles/cpm/pgm/pgIm $logdir = $logdir ."/pgIm${toDate}*"; ---- could u please explain the below clearly grep -i adding $logdir | grep -iv equation | awk '{print \$NF}' | sort -u | sed -e... (1 Reply)
Discussion started by: mail2sant
1 Replies

4. AIX

can anyone explain this?

this is the mksys b script.... can anyone explain .. what # and 1 in if condition this is the first line of the script... it is not from middle of the script.... if then echo "Not enough parameters, need a client name for mksysb" Usage="Usage: $0 <client name>" ... (2 Replies)
Discussion started by: honeym210
2 Replies

5. UNIX for Dummies Questions & Answers

Please explain this

if then echo "Syntax: $0 <sid> <COLD/HOT> <DEST>" exit fi if --------------what does this mean??? echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"---pls explain this as well (2 Replies)
Discussion started by: appsdba.nitin
2 Replies

6. Shell Programming and Scripting

can any one explain this example

hi all i have an example i want one help me to understand cause i tried to test it but almost fail and i don't know how can i solve this problem " the main idea to read from two files and replace something from one to another " but i don't understand why it fail all time $ cat main.txt... (4 Replies)
Discussion started by: maxim42
4 Replies

7. Shell Programming and Scripting

Explain $# please

I'm trying to follow a script and I see it begins with this: if ; then if ; then print "blah $0 blah blah " exit fi fi What does $# mean? I found out that $1 refers to the shell environment and the last argument that was entered or passed in the previous command. I couldn't find $#... (2 Replies)
Discussion started by: MaindotC
2 Replies

8. Shell Programming and Scripting

anyone can explain this?

why the case 2 will happen ? , ' should stop the history substitution ,shouldn't it? case 1 # echo "123"|sed '/123/!d' 123 case 2 # echo "123 > 456 > 1 > "|sed '/123/!d' -bash: !d': event not found case 3 # echo "123 > 456 > 12 > "|sed '/123/'\!d 123 # bash --version (1 Reply)
Discussion started by: justlooks
1 Replies

9. Shell Programming and Scripting

Can someone explain this for me?

Can someone do me a favour and explain the following for me: ((r=$RANDOM%$n+1)) I know what $RANDOM does but what is % sign and what does it do with %$n+1? (2 Replies)
Discussion started by: bashily
2 Replies

10. UNIX for Dummies Questions & Answers

How I can explain this?

Hi friends! I'm learning UNIX and I have a small question. Working with Shell, i put the name of one executable (in c language) + one number and it says this: $ gcc misterioso_4.c $ ./misterioso_4 6 got: , I can not find an answer in the manual because I havent applied any variable.... (5 Replies)
Discussion started by: dakota
5 Replies
dohash(8)						      System Manager's Manual							 dohash(8)

NAME
dohash, undohash - Hashes or unhashes IMAP configuration directories SYNOPSIS
/usr/sbin/dohash [-f] [-h] [-i] /usr/sbin/undohash OPTIONS
The following options are available only for the dohash command: Forces the hashing process to continue even if the command encounters errors. Prints a usage message for the command. Runs the hashing process interactively. DESCRIPTION
The dohash command converts the IMAP configuration directories from the format for older versions of the Cyrus IMAP4 Revision 1 server to the new format for Version 1.6.1 or higher. Starting with Version 1.6.1 of the server, the IMAP user files in the quota and user directories are stored in a through z subdirectories, sorted by the first character of each user name. This arrangement reduces the number of entries in a given directory and consequently increases performance and scalability. The dohash command creates the a through z subdirectories and sorts the existing IMAP files as described; the undohash command reverses this process, in case you need to revert to a previous version of the server. You can optionally sort the users' directories in the IMAP mail spool in the same manner if you enable the hashimapspool option in the /etc/imapd.conf file before invoking the dohash command. See imapd.conf(4) for more information. Note that you must be logged in as the imap user to use the dohash command; otherwise, the newly-created subdirectories will not have the proper ownership. EXAMPLES
The following example shows output from the dohash command: # /usr/sbin/dohash configuration directory /var/imap... hashing user directory hashing quota directory done hashing In this example, the configuration directory is /var/imap; therefore, you could check that the dohash command has successfully hashed the directories by using the ls command as follows: # ls /var/imap/quota /var/imap/user /var/imap/quota: a b c d e f g h i j k l m n o p q r s t u v w x y z /var/imap/user: a b c d e f g h i j k l m n o p q r s t u v w x y z The slash () indicates line continuation. FILES
Configuration file for the IMAP server. Specifies the location of the IMAP configuration directory. SEE ALSO
Commands: imapd(8) Files: imapd.conf(4) Network Administration dohash(8)
All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy