Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-10-2006, 11:41 AM   #1
Registered: Jan 2006
Location: Mukwonago, WI
Distribution: Slackware 12
Posts: 77

Rep: Reputation: 16
md5sum question

If I wanted to md5sum just some text, i would normally type

root@digital:~$ md5sum
<ctrl D>
e1cbb0c3879af8347246f12c559a86b5 -

How can I type that all as one command? (like with 'for loops' you can use ; to run it all on one line)
Old 02-10-2006, 12:00 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
That is only one command... 'md5sum'.

If you are looking to supply the text on the command line, try:
echo text | md5sum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interrity check & md5sum difference question Joe47 Fedora 1 11-23-2004 02:54 PM
Md5sum question satimis *BSD 3 03-02-2004 12:09 AM
md5sum question satimis Linux - Newbie 9 10-12-2003 08:40 AM
Question re: MD5SUM Accolan Linux - Newbie 2 09-11-2003 07:18 PM
MD5SUM question iupui95 Linux - General 2 08-05-2002 06:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration