V
V
Vladislav Tseplyaev2021-04-15 12:52:25
bash
Vladislav Tseplyaev, 2021-04-15 12:52:25

How to set correct date in bash?

I'm learning the command line using bash in windows 10 as an example (I haven't downloaded Linux yet). There was a problem. The wrong date is shown. When calling the date, everything is correct. What can be done?60780cba027da846756077.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2021-04-15
@Frint

If you are talking about "date: extra operand", then remove the space after the + in the date command + "%m-%d-%y"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question