dd if=/dev/zero
Hello there..
I am doing RHCE and i have a question ----> This should run by user neo, dd if=/dev/zero of=userfile bs=3k count=2 This should not run by user neo, dd if=/dev/zero of=userfile bs=6k count=2 what type of question it is?? and how to solve it... |
A stupid or incomplete one?
|
I think it concerns file size limit on a per-user basis, but the question is bad formed.
|
I hope varunkant is not sitting the test and sending us the questions in real time.....
Seriously--varunkant: What exactly is your question? What are you trying to do? What textbook are you using for this? |
Quote:
I bet there was a paragraph before this describing neo's predicament, too bad he left it out. Neo must save the world, but he has a problem. On his computer (while chatting with Morpheus), he is told to make an empty file using 'dd if=/dev/zero of=userfile bs=3k count=2', but he needs help (probably from Trinity or the other crew if they're still alive) because he must run this command 'dd if=/dev/zero of=userfile bs=6k count=2' but not as himself. |
Ahh, yes, I know the answer to this one, you have to export THEREISNOSPOON=TRUE
before you run it. :) I must admit I'm intrigued by this now. Clearly most of the question has been lost in translation. A 6K difference in resultant file size hardly seems significant so I doubt its limits related. Maybe this is a who can do what through 'sudo' question, but again the difference between the two command lines is so small it seems a really poor example/question if it is. Somehow, I get the feeling we're never going to find out. |
Thanks
This is a question of user quota....(sorry cudn't explain the question deeply coz of english prob)..hindi chlegi
|
Do you mean that you want a user to be able to create a 6kb file but not a 12Kb file? This does not make a lot of sense. I would think that quotas would relate to the total amount of disk space allocated.
I suggest that you give more context for the question. For example, in the textbook you are using, there should be a description of why you want to do this. |
All times are GMT -5. The time now is 07:22 AM. |