10-19-2010
file verification
yes exactly ..we are looking to hash a file and send it to a recipient and he would hash the file again to match the signature...in other words we want to perform file verification using a hash utility...in windows environment we have a utility called "Jacksum" ..i am looking for a alternative in Unix environment
10 More Discussions You Might Find Interesting
1. SCO
how can zip a directory in sco unix and transfer it to any other system using ftp. and finally how can i unzip it
regards,
ajay (1 Reply)
Discussion started by: ajay234
1 Replies
2. Shell Programming and Scripting
Kindly help me to build the script similar to VLOOKUP function of MS Excell. (5 Replies)
Discussion started by: hjoshi
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Can anyone explain me the use of age utility and how it works?
Looking forward reply...
Thanks,
Venkatesh. (1 Reply)
Discussion started by: venkatesht
1 Replies
4. UNIX for Dummies Questions & Answers
Hello everyone.
Could you please advise of what would be the best Unix (Debian 4) program for regular (daily or weekly) incremental backups?
I'm not sure whether the backups will be stored on a "backup" drive on the same system or on an external "backup" system, but we would like to have a... (2 Replies)
Discussion started by: nottrobin
2 Replies
5. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
6. UNIX for Dummies Questions & Answers
What command should I use to analyze file hashing of fixed flat files.
How much work does it take for multiple flat files. (3 Replies)
Discussion started by: jbjoat
3 Replies
7. Shell Programming and Scripting
Hi,
I am not being able to open txt files with 'cat'. One thing to mention is, the filenames start with #. I guess one can have a unix filename that starts with a special/wildcard character. I have filenames starting with @ and they are opening perfectly with cat. (5 Replies)
Discussion started by: Subhasis
5 Replies
8. Shell Programming and Scripting
I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix.
Please help me resolve this issue
Thanks
ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I work on a Middleware application which is installed on Windows, but its file System is on HP UNIX. I am supposed to change the SMTP host address for my application. But I am not able to find the file where the old SMTP host would have been configured/hardcoded. Can anyone assist me on this... (2 Replies)
Discussion started by: jhilmil
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am trying to find out whether there are any Unix utilities that compares folders, files and contents within the file and provides a comprehensive report. The comparison can be against base version of a folder and file with content. Can you please let me know of such a utility?
Thanks,... (6 Replies)
Discussion started by: Sripathi_ks
6 Replies
hash(1) General Commands Manual hash(1)
NAME
hash - Remembers or reports utility locations
SYNOPSIS
hash [utility]
hash -r
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
hash: XCU5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
OPTIONS
Forgets all previously remembered utility locations.
OPERANDS
The name of a utility to be searched for and added to the list of remembered locations. If utility contains one or more slashes, the
results are unspecified.
DESCRIPTION
The hash utility affects the way the current shell environment remembers the locations of utilities found. Depending on the arguments spec-
ified, it adds utility locations to its list of remembered locations or it purges the contents of the list.
When no arguments are specified, hash reports on the contents of the list. This list consists of those utilities named in previous hash
invocations that have been invoked, and those invoked and found through the normal command search process. This list includes the path
name of each utility in the list of remembered locations for the current shell environment.
NOTES
The use of hash with utility names is unnecessary for most applications, but may provide a performance improvement. The effects of hash -r
can also be achieved by resetting the value of PATH.
RESTRICTIONS
If hash is called in a separate utility execution environment, such as one of the following it will not affect the command search process
of the caller's environment. nohup hash -r find . -type f | xargs hash Utilities provided as built-ins to the shell are not reported by
hash.
EXIT STATUS
The following exit values are returned: Successful completion. An error occurred.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of hash: Provides a default value for the internationalization variables that are
unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization vari-
ables contains an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value,
overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes
of text data as characters (for example, single-byte as opposed to multibyte characters in arguments). Determines the locale that should
be used to affect the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues
for the processing of LC_MESSAGES. Determines the location of name.
SEE ALSO
Commands: command(1), type(1)
Standards: standards(5)
hash(1)