Reprodução do uptime em Bash.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Blau Araujo 2dee828bd0 README.md, man and help updated 1 year ago
LICENSE Initial commit 1 year ago
Makefile README.md, man and help updated 1 year ago
README.md README.md, man and help updated 1 year ago
upt README.md, man and help updated 1 year ago
upt.1 README.md, man and help updated 1 year ago

README.md

upt - tempo de atividade do sistema

Recriação do uptime em Bash para fins didáticos.

Uso

upt [OPÇÕES]

Opções

-d   Exibe tempos separados por vírgulas.
-p   Exibe prefixo antes do tempo de atividade.
-s   Data e hora do início da atividade.
-h   Exibe ajuda e sai.

Dependências

  • Bash 5+
  • GNU date (coreutils)

Instalação

Clone este repositório:

git clone https://git.blauaraujo.com/blau_araujo/upt.git

Como root, entre no diretório onde o upt foi clonado e execute:

make install

Uninstall

Como root, entre no diretório onde o upt foi clonado e execute

make uninstall