Skip to main content

md5 checksum on os x


#!/bin/sh
#######################################
# find the md5 checksum of some file by name
# syntax: get_md5
# by jrc 7/2002
#######################################
mypgm=$1
if [ "$1" = "" ]; then
echo "No defaults"
echo "--------------------------------------"
echo "syntax: get_md5 "
echo "--------------------------------------"

else
openssl md5 $1
fi

Comments

Popular posts from this blog

Testing Network Faults Connection

Testing Network Faults Connection Keywords: network | ping | trace | telnet | connection | setup | hardware Summary: Help with testing connection or network problems. 1. Introduction 2. Testing Your Network 3. Using the command line 4. Ping - "Can my data reach the destination?" 5. Traceroute - "How does my data reach its destination?" 6. DNS Lookup - "Is my data going to the right address? " 7. Netstat - "What's my computer connecting to? " 8. Telnet - "Can I connect to it?" 9. Netshell - "One-stop network check" 1. Introduction There are many possible causes of connection problems. This guide will show how you can investigate problems using some simple tools that come with most versions of Windows. To use all of the tools though, you will need Windows XP. 2. Testing your network The tools in ...

Standard Input and Output Redirection

Standard Input and Output Redirection The shell and many UNIX commands take their input from standard input ( stdin ), write output to standard output ( stdout ), and write error output to standard error ( stderr ). By default, standard input is connected to the terminal keyboard and standard output and error to the terminal screen. The way of indicating an end-of-file on the default standard input, a terminal, is usually . Redirection of I/O, for example to a file, is accomplished by specifying the destination on the command line using a redirection metacharacter followed by the desired destination. C Shell Family Some of the forms of redirection for the C shell family are: Character Action > Redirect standard output >& Redirect standard output and standard error Redirect standard input >! Redirect standard output; overwrite file if it exists >&! Redirect standard output and standard error; overwrite file...