[SOLVED] md5 tool

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] md5 tool

Postby billo » Jun 9th, '11, 02:24

In my old Mandriva distribution, there was a little app called md5sum that would calculate md5 hashes. I can't seem to find it in the mageia distro. Is there an equivalent here?

Thanks!

billo
billo
 
Posts: 9
Joined: Jun 4th, '11, 16:21

Re: md5 tool

Postby Ken-Bergen » Jun 9th, '11, 03:06

md5sum is part of the coreutils package which is installed by default.
It is a command line utility so you won't find it in the menu but it is there.

Ken
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: md5 tool

Postby billo » Jun 9th, '11, 03:34

Oh, for crying out loud. I had been typing md5sim. Forehead slap. Thanks for making me look again, and sorry for the noise.
billo
 
Posts: 9
Joined: Jun 4th, '11, 16:21

Re: md5 tool

Postby ahmad » Jun 9th, '11, 05:27

billo wrote:Oh, for crying out loud. I had been typing md5sim. Forehead slap. Thanks for making me look again, and sorry for the noise.

(You probably already know but just in case); You can use the bash (the shell) built-in tab completion so:
Code: Select all
$ md5<TAB>
md5pass  md5sum   
[ahmad@mybox ~]$ md5s<TAB>

on the second tab, you'll get md5sum.

You can also install the bash-completion package, to get many more complex completions, e.g.:
Code: Select all
# urpmi --auto
--auto          --auto-orphans  --auto-select   --auto-update   
[root@mybox ahmad]# urpmi --auto-u<TAB>

will auto-complete to 'urpmi --auto-update'. Check /etc/bash_completion.d/ for a list of the commands that will have bash completion support.
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: md5 tool

Postby Sfiet_Konstantin » Jun 9th, '11, 10:41

Beware with urpmi :D
Code: Select all
urpmi a<TAB>

can literraly stuck you computer because it will search every packages starts with A.
Sfiet_Konstantin
 
Posts: 157
Joined: Apr 1st, '11, 19:59

Re: md5 tool

Postby Akien » Jun 9th, '11, 17:10

Sfiet_Konstantin wrote:Beware with urpmi :D
Code: Select all
urpmi a<TAB>

can literraly stuck you computer because it will search every packages starts with A.

Same, or worse, with
Code: Select all
urpmi lib<TAB>

:)
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: md5 tool

Postby ahmad » Jun 9th, '11, 17:18

I too find package names completion slow, that's why I patch /etc/bash_completion.d/urpmi locally to disable the package names auto-completion. (I filed a bug report about that issue some time ago https://bugs.mageia.org/show_bug.cgi?id=373).
ahmad
 
Posts: 336
Joined: Mar 22nd, '11, 20:18
Location: Egypt

Re: [solved] md5 tool

Postby maat » Jun 10th, '11, 08:07

Marked a solved :)
maat
 
Posts: 307
Joined: Feb 13th, '11, 00:23

Re: md5 tool

Postby billo » Jun 12th, '11, 14:39

ahmad wrote:(You probably already know but just in case); You can use the bash (the shell) built-in tab completion so:
Code: Select all
$ md5<TAB>
md5pass  md5sum   
[ahmad@mybox ~]$ md5s<TAB>

on the second tab, you'll get md5sum.

You can also install the bash-completion package, to get many more complex completions, e.g.:
Code: Select all
# urpmi --auto
--auto          --auto-orphans  --auto-select   --auto-update   
[root@mybox ahmad]# urpmi --auto-u<TAB>

will auto-complete to 'urpmi --auto-update'. Check /etc/bash_completion.d/ for a list of the commands that will have bash completion support.



No, I didn't know that. Thanks for the info!!

billo
billo
 
Posts: 9
Joined: Jun 4th, '11, 16:21


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron