LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-27-2020, 11:03 AM   #1
kittysoman
LQ Newbie
 
Registered: May 2020
Posts: 4

Rep: Reputation: Disabled
What is the output of "date -u +%V$ (uname) |sha256sum|sed 's/\W//g'"?


The question appears in the registration form of the ArchLinux forum. What is the output of "date -u +%V$ (uname) |sha256sum|sed 's/\W//g'"?

Can you tell me the answer?
 
Old 05-27-2020, 11:15 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Why can't you open a terminal and try it yourself? Don't worry, this is harmless.
 
1 members found this post helpful.
Old 05-27-2020, 11:15 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
Hi and welcome here, at LQ.

why don't you try it? Actually that is much faster than register here and create a new post.

For me a "syntax error" message was returned,
 
1 members found this post helpful.
Old 05-27-2020, 11:20 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
For me a "syntax error" message was returned,
Remove the space between $ and (uname) in $(uname)

Last edited by shruggy; 05-27-2020 at 11:21 AM.
 
1 members found this post helpful.
Old 05-27-2020, 11:21 AM   #5
kittysoman
LQ Newbie
 
Registered: May 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
main.sh: line 1: syntax error near unexpected token `('
main.sh: line 1: `` date -u +% V $ (uname) | sha256sum | sed 's / \ W // g' '

I have tried and displayed this error, I have just joined, sorry
 
Old 05-27-2020, 11:23 AM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
@OP. See my answer @pan64 above. Copy the correct command from here:
Code:
date -u +%V$(uname)|sha256sum|sed 's/\W//g'

Last edited by shruggy; 05-27-2020 at 03:44 PM.
 
Old 05-27-2020, 11:26 AM   #7
kittysoman
LQ Newbie
 
Registered: May 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
@OP. See my answer @pan64 above. Copy the right command from here:
Code:
date -u +%V$(uname)|sha256sum|sed 's/\W//g'
I had the results, thank you very much.
 
Old 05-27-2020, 11:36 AM   #8
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
TBH, instead of sed I'd rather use cut here. The result is the same, but the command looks a bit less intimidating to newbies:
Code:
date -u +%V$(uname)|sha256sum|cut -c-64
OTOH, maybe the folks at Arch Linux forum want it to look intimidating to newbies .

Last edited by shruggy; 05-27-2020 at 01:36 PM.
 
1 members found this post helpful.
Old 05-28-2020, 06:46 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
OP is a spammer:
https://www.linuxquestions.org/quest...ty-4175676003/
 
1 members found this post helpful.
Old 05-28-2020, 07:37 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Let's stick with on topic discussion here.
 
Old 05-28-2020, 08:25 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by rtmistler View Post
Let's stick with on topic discussion here.
Apologies, but was trying to keep others from wasting their time. Please see the other thread with the other TWO user-id's, along with the relevant information identifying them as a spammer/scammer.

To the end of addressing the question, it was answered by shruggy in post #4...again, odd that a 'software developer' for Intel (among other things), could not resolve the issue.
 
Old 05-29-2020, 01:06 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by rtmistler View Post
Let's stick with on topic discussion here.
On topic answers were already given.
This question pops up every now and then, and even though it's perfectly clear that Archlinux forums put that barrier into place for a reason, some people get frustrated, and others try to help by giving a direct answer - I'm glad they refrained from it this time.

Anyhow, TB0ne did some research here (and jefro a few posts up) and while I'm not 100% convinced (maybe "KittySoman" is as common as "John Smith" in some parts) it certainly seems appropriate to raise suspicion.

What happened to that other KittySoman account?
 
Old 05-29-2020, 05:46 AM   #13
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
As of now, kittysoman has not posted any spam on the LinuxQuestions site.

Declaring a new user a spammer is not how things should occur.

There is no indication that two similar names accounts are the same person.

Antagonistic replies can be avoided by not writing them.

@ondoho,

If the question "pops up every now and then", then there should be some great references of former threads which you can provide to help enhance the technical answers already provided. If so inclined. Otherwise continuing to cite ones' suspicions seems rather rude to a new LQ member.

Last edited by rtmistler; 05-29-2020 at 01:42 PM.
 
1 members found this post helpful.
Old 05-29-2020, 08:12 AM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by rtmistler View Post
As of now, kittysoman has not posted any spam on the LinuxQuestions site.

Declaring a new user a spammer is not how things should occur. There is no indication that two similar names accounts are the same person. Antagonistic replies can be avoided by not writing them.
Again, apologies and if I'm wrong, I will very gladly apologize to them. I based my assumption on the facts available to me.

It is odd, though, that 'kittysoman' came back here after I posted what I did in the other thread, but chose not to reply/clarify.

Last edited by TB0ne; 05-29-2020 at 08:25 AM.
 
Old 05-30-2020, 02:48 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I think it's equally important to respect old members.

I also think it's important to root out spammers who seem to find ever new ways to post spam.
TB0ne might have been wrong this time (they are a little trigger happy so to speak), but they've been doing important detective work in that respect.
 
  


Reply

Tags
arch linux, captcha



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
What is the output of "date -u +%V$(uname)|sha384sum|sed 's/\W//g'"? stf92 General 20 08-13-2023 08:51 AM
[SOLVED] How am I able to use sha256sum "without" a network connection, and get a hash-response? hddfsck Linux - Newbie 1 09-27-2019 05:25 PM
[SOLVED] Discrepancy between ISO image version (release date) and uname's output. stf92 Arch 4 07-17-2018 08:37 PM
[SOLVED] uname -r -- does it "read" the kernel or where does it get its output from? JZL240I-U Linux - Kernel 23 03-25-2013 09:45 AM

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

All times are GMT -5. The time now is 10:08 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
Open Source Consulting | Domain Registration