LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-10-2006, 11:41 AM   #1
jaykup
Member
 
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
text
<ctrl D>
e1cbb0c3879af8347246f12c559a86b5 -
root@digital:~$

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
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

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

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:05 PM.

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