Exporting UNIX input
To export UNIX input from the command line, use the following syntax:
FindSessions /i=”InstallationName” /export=”UnixInput” /path=”folder”
For example, to export the UNIX input for a specific user and save the output in the C:\Temp\Input
folder, you would type a command like this:
FindSessions /i=”MyInstallation” /user=”tai-u1” /export=”UnixInput” /path=”C:\Temp\Input”
The command exports UNIX input to a text file. For example:
"UnixInputData","Role","Ticket" "[1/20/2015 4:13:38 PM] K: PS1=NetShell:<CR>","<None>","<None>" "[1/20/2015 4:13:38 PM] K: stty kill ^u erase ^h<CR>","<None>","<None>" "[1/20/2015 4:13:38 PM] K: TERM=dumb<CR>","<None>","<None>" "[1/20/2015 4:13:38 PM] K: set TERM=dumb<CR>","<None>","<None>" "[1/20/2015 4:13:40 PM] K: cat /etc/passwd<CR>","<None>","<None>" "[1/20/2015 4:13:40 PM] K: echo $?<CR>","<None>","<None>" "[1/20/2015 4:13:40 PM] K: cat /etc/group<CR>","<None>","<None>" "[1/20/2015 4:13:40 PM] K: echo $?<CR>","<None>","<None>"
When you use the /export=UnixInput
option, you can also use the command line options /role
and /ticket
to export sessions based on specific role or trouble-ticket information. For details about using these options, see Using Find Sessions.