DEV Community

ダニエリ for WoMakersCode

Posted on

3

[Tutorial Linux] Terminal: Verificando há quanto tempo o sistema está ligado

Para verificar há quanto tempo o sistema está rodando, digite:

$ uptime
Enter fullscreen mode Exit fullscreen mode
  • $ indica que você deve usar o usuário comum para fazer essa operação.

Será retornado a hora atual e há quando tempo seu Sistema Operacional está ligado.

Também é possível checar a data de instalação do sistema com o comando

$ uptime -s
Enter fullscreen mode Exit fullscreen mode
  • -s do inglês, since, desde um determinado tempo.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️