Sponsored Content
Full Discussion: the file: MD5SUM
Top Forums UNIX for Dummies Questions & Answers the file: MD5SUM Post 24098 by samprax on Friday 5th of July 2002 01:57:06 AM
Old 07-05-2002
Question the file: MD5SUM

i downloaded a Linux distribution from a FTP site today, and i found there is a file named MD5SUM in the same directory, with the following contents:


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

c9a4d963a49e384e10dec9c2bd49ad73 valhalla-SRPMS-disc1.iso
41b03d068e84d2a17147aa27e704f79b valhalla-SRPMS-disc2.iso
cb91810ce8173039fed24420407e4c59 valhalla-i386-disc1.iso
ec1b813d32ffdc8edc2be261735d17de valhalla-i386-disc2.iso
5dc81ce523cfddf99b4d4d63e91bcaa7 valhalla-i386-disc3.iso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8z/oCIZGAzdtCpg4RAsMvAJ9+xOn4Pw1T0mp8zVT64cEDWuqqKwCfblTd
4Lw0SvJC+v/6JbGIxJWL7aA=
=0xs+
-----END PGP SIGNATURE-----

what's the usage of the file, and how i can use it?

Thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What is md5sum???

Hi all, I am kinda puzzled. When and Why do we use md5sum? I've read man pages for mp5sum, but didn't get anything out of it. Please, can someone explain this to me in couple of words. Thank you all. (1 Reply)
Discussion started by: solvman
1 Replies

2. Programming

md5sum and execve

Hello there! Is there a way to use execve() to run md5sum function? for example execve("md5sum <filename>, NULL,NULL);" thanx! (2 Replies)
Discussion started by: nicos
2 Replies

3. Shell Programming and Scripting

Duplicate file remover using md5sum--good enough?

This is not a typical question. I have a fully working script but I'm interested in optimizing it. I frequently back up photos and movies from my digital camera and cell phone to both my home/work desktops, laptops, wife's netbook, and my home NAS and often end up with multiple versions of the... (2 Replies)
Discussion started by: Michael Stora
2 Replies

4. Shell Programming and Scripting

Script to check MD5SUM on file

Hi, I currently have a shell script that takes an RPM and scp's it to a set of remote servers and installs it. What I would like to be able to do is make the script get the md5sum of the RPM locally (so get the md5sum of the rpm from where im running the script) and then scp the rpm to the... (0 Replies)
Discussion started by: tb1986
0 Replies

5. Shell Programming and Scripting

md5sum in different linux

something strange is that i find the md5sum command in different linux generate different result, for example, i have tried the same file in CentOS and Rhel, The md5 results are different, it is quite headache, who know the tricks? (3 Replies)
Discussion started by: zbc
3 Replies

6. Shell Programming and Scripting

Using md5sum to name file based on URL

I am trying to download a file and make the filename of the file be the md5sum of the URL. I know to use wgets to download the file but I do not know how to do the rest...any help would be appreciated. (2 Replies)
Discussion started by: The undertaker
2 Replies

7. Shell Programming and Scripting

md5sum on a file with backslash in its name

Hi there, I found something very weird! Should I report that as a bug or is it me misusing the command? I've got a file with a backslash in its name. I know it's a horrible policy but it's not me. The file came from a mac computer because this is a backup server. Anyway, when using... (8 Replies)
Discussion started by: chebarbudo
8 Replies

8. Shell Programming and Scripting

Removing md5sum lines stored in text file

Hello. I'm writing a script where every file you create will generate a md5sum and store it into a text file. Say I create 2 files, it'll look like this in the text file: d41d8cd98f00b204e9800998ecf8427e /helloworld/saystheman d41d8cd98f00b204e9800998ecf8427e /helloworld/test I... (3 Replies)
Discussion started by: batarangs_
3 Replies

9. Shell Programming and Scripting

Compare two md5sum

Hello, First of all I want to apologize because i'm not a admin or coder and maybe all my efforts to write only this small script in my life would need one week full time reading man pages and forums but... I don't have the money to offer me to get this time and the script I want to do seems... (5 Replies)
Discussion started by: toscan
5 Replies

10. Shell Programming and Scripting

[md5sum] script

I am getting No such file or directory if my variable contains white spaces... Is there a way to fix this? This works x="1.md5" md5sum -c "$x" This, does not x="23\ 5\ 6\ 7\ 8\ 9\ 10.md5" md5sum -c "$x" md5sum: '23\ 5\ 6\ 7\ 8\ 9\ 10.md5': No such file or directory How do I fix... (1 Reply)
Discussion started by: soichiro
1 Replies
dcut(1) 						      General Commands Manual							   dcut(1)

NAME
dcut - Debian archive .commands file upload tool SYNTAX
dcut [options] [host] [command [, command]] dcut -U filename [host] DESCRIPTION
dcut creates and / or uploads .commands files for the Debian FTP archive upload queue. It is a companion for dput and uses dput configura- tion files. As with dput, you can specify a host defined in the dput configuration file. In case your host is funnily named, i.e. it could mistaken for a command, you may also use a command line option to specify the host. In default operation mode (unless you request to upload an existing file), the host description is followed by a comma-seperated list of commands. (Semicolons also work but require shell escaping.) COMMANDS
Presently supported commands are rm, reschedule and cancel. rm can be used to remove files from the UploadQueue directories. dcut generates commands that search the subdirectories automaticall, but you can also specify --nosearchdirs and then target individual UploadQueue direc- tories, i.e. either filenames without path for regular incoming or DELAYED/#-day/filename. Wildcards are accepted. reschedule changes-file #-day can be used to move an upload from any DEFERRED queue to #-day (use 0-day for immediate processing). cancel changes-file cancels an upload from DEFERRED. Both reschedule and cancel take a complete basename of a changes file as argument and operate on the whole upload, they process the changes and all files mentioned by it. The authorative documentation for the commands interface can be found at "ftp://ftp.upload.debian.org/pub/UploadQueue/README". The options try to resemble dput's to the extent possible. Note that dcut calls debsign to sign any commands file generated. In particular, debsign does basic syntax checking on the commands you specify. OPTIONS
-c filename, --config=filename Use config file filename. -d, --debug Print debug messages. -h, --help Print help information and exit. --host=host Upload to host (as found in the dput configuration). Use this if your host is named like one of the commands. -m maintainer, --maintainer=maintainer Use maintainer (full email) for the uploader field and gpg key selection. This has no effect when --upload is used. -k keyid, --keyid=keyid Use keyid for signing. Default is to let debsign choose a keyid. This has no effect when --upload is used. -O filename, --output=filename Write commands file to filename instead of uploading. You sould not specify a host when using this option. Also, this option should not be used with --upload. Both filename and filename.asc will be overwritten. -P, --passive Use passive ftp instead of active. -s, --simulate Simulate an upload only. -U filename, --upload=filename Upload commands file. Note: No checks (syntax or presence/validity of signature) are currently performed. -i filename, --input=filename Read an input changes file to create a commands file that can remove the files listed in the .changes file from the upload queue. -v, --version Print version information and exit. ENVIRONMENT
The program uses the environment variables DEBEMAIL or EMAIL and DEBFULLNAME to populate the uploader field. Also, environment variables may be used in search of a suitable place for temporary files. EXAMPLES
To upload a GPG signed commands file that removes dput_0.9.2.33_all.deb file from the queue, one would have to do $ dcut rm dput_0.9.2.33_all.deb This creates and uploads a commands file that looks like the following: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Uploader: Foo Bar <foo@bar.org> Commands: rm dput_0.9.2.33_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYKAkisYx0ACgkQ4eu+pS04mIfwLQCg85XVpae/LHLrbvzywcQNt9PS ztsAoMgw6HjcI9flfmwjgMiapcu379Pu =fjp0 -----END PGP SIGNATURE----- To upload a GPG signed commands file that removes files named in dput_0.9.4_i386.changes from the queue, one would have to do $ dcut --input dput_0.9.4_i386.changes This creates and uploads a commands file that looks like the following: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Uploader: Foo Bar <foo@bar.org> Commands: rm --searchdirs dput_0.9.4.dsc rm --searchdirs dput_0.9.4.tar.gz rm --searchdirs dput_0.9.4_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYKAkisYx0ACgkQ4eu+pS04mIfwLQCg85XVpae/LHLrbvzywcQNt9PS ztsAoMgw6HjcI9flfmwjgMiapcu379Pu =fjp0 -----END PGP SIGNATURE----- If you've uploaded packages with the --delayed option (uploaded to DEFERRED queue), then use the cancel command with a .changes file. $ dcut cancel dput_0.9.4_i386.changes This creates and uploads a commands file just like the other commands. LICENSE
This program is distributed under the terms of the Gnu General Public License, Version 2 or later. BUGS
Please direct bug reports and comments to the author. Your feedback is appreciated. If you're using Debian packages, file bugs against the dput package. FILES
dcut makes use of the dput configuration files: /etc/dput.cf System dput configuration file. ~/.dput.cf User dput configuration file. Much helpful input and some stolen code from dput author Christian Kurz. SEE ALSO
dput(1), dput.cf(5) ftp://ftp.upload.debian.org/pub/UploadQueue/README AUTHOR
Thomas Viehmann <tv@beamnet.de> January 2004 dcut(1)
All times are GMT -4. The time now is 09:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy