LinuxQuestions.org
Register a domain and help support LQ
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 12-31-2010, 10:01 PM   #1
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
Used dd command with no options


Hi guys.
I'm very scared.
I was in the CLI experimenting with lynx and then i thought hmmm let's see what this dd thing can do and usually when i run commands without parameters just gives me an brief idea about what can i use.

With dd it just hangs on there like it would be doing something ...

I immediatly quit that terminal and then i couldn't mount my ntfs big important lifesaver partition . I rebooted and now i can . I just want to ask what damage could dd make if run without any parameters ...

I'm so worried .. I don't have any external backup medium.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-31-2010, 10:21 PM   #2
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by silvyus_06 View Post
Hi guys.
I'm very scared.
I was in the CLI experimenting with lynx and then i thought hmmm let's see what this dd thing can do and usually when i run commands without parameters just gives me an brief idea about what can i use.

With dd it just hangs on there like it would be doing something ...

I immediatly quit that terminal and then i couldn't mount my ntfs big important lifesaver partition . I rebooted and now i can . I just want to ask what damage could dd make if run without any parameters ...

I'm so worried .. I don't have any external backup medium.
Hmm... I dunno. I've done that a few times before and nothing bad happened. TBH, though I could be wrong, I don't think anything happens since dd has no input or output targets given.
 
Old 12-31-2010, 10:30 PM   #3
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 269

Rep: Reputation: 83
From the man page:

Quote:
if=FILE
read from FILE instead of stdin
...
of=FILE
write to FILE instead of stdout
So, dd without parameters should behave like cat without parameters: dump stdin to stdout. It seems to hang because it waits for input forever, which it doesn't get.

Quote:
Originally Posted by silvyus_06 View Post
I'm so worried .. I don't have any external backup medium.
You really should.
 
2 members found this post helpful.
Old 12-31-2010, 10:42 PM   #4
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by cepheus11 View Post
From the man page:



So, dd without parameters should behave like cat without parameters: dump stdin to stdout. It seems to hang because it waits for input forever, which it doesn't get.

.
thanks . i undeerstand ..

Quote:
You really should
*starts crying*
 
Old 12-31-2010, 10:48 PM   #5
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 269

Rep: Reputation: 83
Quote:
Originally Posted by silvyus_06 View Post
*starts crying*
No need to cry, no harm done yet . But let me quote a signature I once read somewhere: "There are only 2 types of users. Those who do backups, and those who never had a harddrive fail."
 
Old 12-31-2010, 10:50 PM   #6
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by cepheus11 View Post
No need to cry, no harm done yet . But let me quote a signature I once read somewhere: "There are only 2 types of users. Those who do backups, and those who never had a harddrive fail."
i guess i'm the second type

[solved]
 
Old 12-31-2010, 10:56 PM   #7
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
I never do backups... lol.
 
Old 12-31-2010, 11:02 PM   #8
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by leopard View Post
I never do backups... lol.
that's because you use a MAC :P

this thread is really going offtopic .. maybe someone could close it
 
Old 12-31-2010, 11:31 PM   #9
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
[QUOTE=silvyus_06;4209264]that's because you use a MAC :P/QUOTE]

How is... What does... What do... I don't... Why is... Why... What? Is there something special about OS X that I don't know about? Lol?

I just don't take backups because I don't really have too much on my computer in the first place. To be honest, most of my stuff can easily be re-downloaded from someplace on the 'net in a few hours or so.
 
  


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
printer command lp options -o fhleung Linux - Software 6 09-20-2014 06:57 AM
host command options ZAMO Linux - Networking 13 12-30-2008 03:04 AM
Command Line Options AUSanders79 Linux - Software 8 03-10-2005 11:24 AM
unzip command options jaa1180 Linux - Software 4 11-04-2003 12:10 PM
Command Line Options in C++ crichards Programming 5 03-08-2003 04:42 PM


All times are GMT -5. The time now is 08:43 AM.

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