Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user1@labdi:~> echo -e "==== INICIO\n Revisión del sistema: $(hostname)\n Fecha: $(date)\n Usuarios:\n $(who)" >> registro.txt
- user1@labdi:~> cat registro.txt
- ==== INICIO\n- Revisión del sistema: labdi\n- Fecha: vie feb 28 19:37:15 CET 2020\n- Usuarios:\n- user1 tty7 2020-02-28 17:55 (:0)
- user1 pts/0 2020-02-28 19:37 (:0)
- ==== INICIO\n Revisión del sistema: labdi\n Fecha: vie feb 28 19:40:29 CET 2020\n Usuarios:\n user1 tty7 2020-02-28 17:55 (:0)
- user1 pts/0 2020-02-28 19:37 (:0)
- ==== INICIO \n Revisión del sistema: labdi \n Fecha: vie feb 28 19:41:56 CET 2020 \n Usuarios: \n user1 tty7 2020-02-28 17:55 (:0)
- user1 pts/0 2020-02-28 19:37 (:0)
- -e==== INICIO \n Revisión del sistema: labdi \n Fecha: vie feb 28 19:42:35 CET 2020 \n Usuarios: \n user1 tty7 2020-02-28 17:55 (:0)
- user1 pts/0 2020-02-28 19:37 (:0)
- ==== INICIO
- Revisión del sistema: labdi
- Fecha: vie feb 28 19:42:54 CET 2020
- Usuarios:
- user1 tty7 2020-02-28 17:55 (:0)
- user1 pts/0 2020-02-28 19:37 (:0)
- ==== INICIO
- Revisión del sistema: labdi
- Fecha: vie feb 28 19:43:18 CET 2020
- Usuarios:
- user1 tty7 2020-02-28 17:55 (:0)
- user1 pts/0 2020-02-28 19:37 (:0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement