LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   What is this weird question? (https://www.linuxquestions.org/questions/arch-29/what-is-this-weird-question-4175423984/)

ticiothe 08-25-2012 02:03 PM

What is this weird question?
 
"date -u +%W$(uname)|sha256sum|sed 's/\W//g'"?

I am facing problem regarding shared dir on guest Arch. So, i tried to register on arch fora. But, it keeps saying wrong answer for this weird question.

How can it be wrong if i am copy-pasting the output from terminal?

Ser Olmy 08-25-2012 02:09 PM

date -u +%W$(uname) should return the week number followed by the output of uname. On a Linux system, that should be "34Linux" this week.

If your system returns someting else, the sha256sum will obviously be incorrect.

273 08-25-2012 02:19 PM

See here for the explanation:
http://www.linuxquestions.org/questi...ms-4175418136/

ticiothe 08-25-2012 02:48 PM

the first part gives me the same result, 34Linux. And i havent missing any single qoutes.
Code:

$ date -u +%W$(uname)
34Linux

It just keeps saying,

Quote:

The following errors need to be corrected before you can register:

Sorry, your answer was wrong. Try again!

273 08-25-2012 02:55 PM

You need to enter the result of the whole line:
Code:

date -u +%W$(uname)|sha256sum|sed 's/\W//g'
This is a test to check that you are using Linux and that you have taken the time to run the command on a Linux machine. If you read the links on the thread I linked to you will see why they do this.

ticiothe 08-25-2012 03:15 PM

it is clear to me that result of whole line is to be entered; and i have been doing the same for the last 26 tries.
I even stored 34Linux in a file & piped it to sha & sed but same output and same 'wrong answer' mesg.
I even tried 33Linux and 35Linux.

ticiothe 08-25-2012 03:33 PM

Now i even tried in Arch linux itself & Ubuntu before.
Same output
Code:

0f0c825decc188c8e3a719a11e2d281bc343613275e83d4ed3b923c6536dbf37
Are you guys getting something different?

273 08-25-2012 03:39 PM

That's what I get also. Suggesting it's possibly your cookie settings or similar rather than the answer.

Ser Olmy 08-25-2012 03:42 PM

Quote:

Originally Posted by ticiothe (Post 4764194)
Now i even tried in Arch linux itself & Ubuntu before.
Same output
Code:

0f0c825decc188c8e3a719a11e2d281bc343613275e83d4ed3b923c6536dbf37
Are you guys getting something different?

I'm getting the same hash here.

ticiothe 08-25-2012 03:47 PM

Thank-you for confirming.
Seems Linuxquestions.org is more newbie friendly with strong support, than Arch fora.

Please, Check this out, if you can help.
http://www.linuxquestions.org/questi...le-4175423982/


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