I want to store the output of 2 simple queries in a variable.
I will concatenate these variables later and send them to myself by email.
One is the serial port detailed information.
The other is the users in the system./port print detail
Flags: I - inactive
0 name="serial0" used-by="Serial Console" device="" channels=1 baud-rate=auto
data-bits=8 parity=none stop-bits=1 flow-control=none
How can I request these from the system in an rsc script and store them in 1-1 variables. If possible, so that you don't have to write anything to a file./user print detail
Flags: E - expired, X - disabled
0 ;;; system default user
name="admin" group=full address="" last-logged-in=aug/06/2023 18:44:19
1 X name="teszt" group=read address=""