Find the answer to your Linux question:
Results 1 to 4 of 4
hello. today i tried to register in archlinux forum but i don't know what should i awnswer to What is the output of "date -u +%W$(uname)|sha256sum|sed 's/\W//g'"? my operating system ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! ilAli's Avatar
    Join Date
    May 2011
    Location
    Yazd
    Posts
    4

    Question [SOLVED] ArchLinux Forums registration problem


    hello. today i tried to register in archlinux forum but i don't know what should i awnswer to What is the output of "date -u +%W$(uname)|sha256sum|sed 's/\W//g'"?
    my operating system is windows 7 so i could not run this in windows CMD.
    ///Ali
    mgtman.blogfa.com

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome to the forums!

    When I run the command required, I get the following output:

    9a93b71d5b2841e649195bc81f8e38600860a040bc368cdbd0 cde346b73248a1
    oz

  3. #3
    Just Joined! hunter_thom's Avatar
    Join Date
    Apr 2010
    Posts
    89
    date -u is piped is uname, which without parameters returns Linux.

    %W is weeks, so you'd get something like 19Linux which is passed to sha256sum. If you can you can install Cygwin, which will let you use certain tools like sha256sum and sed.

    Then, instead of typing the command as seen on the registration, type:

    date -u +%W$(echo Linux)|sha256sum|sed 's/\W//g'

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! ilAli's Avatar
    Join Date
    May 2011
    Location
    Yazd
    Posts
    4
    Quote Originally Posted by ozar View Post
    Hello and welcome to the forums!

    When I run the command required, I get the following output:
    Thank you it worked.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •