Use the available remote shell commands to investigate Mac endpoints.
NoteWhen specifying a file location, be aware that UNC paths are not
supported.
|
Command
|
Description
|
Syntax
|
Example
|
Supported on
|
||
cat |
Output the content of the selected file (max size 1MB)
|
cat <file_location> |
|
|
||
cd |
Change the current working directory
|
cd [path]
|
cd /Users
|
|
||
clear |
Clear screen
|
clear |
clear
|
|
||
cp |
Copy a file or directory to specific destination
|
cp <source_object> <destination_object>
[--force] |
|
|
||
env |
List environment variables
|
env |
env
|
|
||
fileinfo |
List detailed file properties
|
fileinfo
<file_location_and_extension> |
|
|
||
get |
Collect a specific file and upload to Trend Vision One
Maximum file size: 4 GB
|
get <file_location_and_extension> |
|
|
||
help |
Display help information
|
help |
help
|
|
||
ipconfig |
Display network configuration information
|
ipconfig |
ipconfig
|
|
||
kill |
Terminate a running process
|
kill <PID> |
kill 1234
|
|
||
ls |
List contents of the directory
|
ls [path]
|
ls
|
|
||
memdump |
Create a process memory dump available as an encrypted archive from the
Trend Vision One console
|
memdump --pid <pid> |
memdump --pid 1234
|
|
||
mkdir |
Create a new directory
|
mkdir <path> |
|
|
||
mv |
Move a file or directory to specific destination
|
mv <source_object> <destination_object>
[--force] |
|
|
||
netstat |
List network statistics and active connections
|
netstat |
netstat
|
|
||
ps |
List running process information
|
ps |
ps
|
|
||
pwd |
Display current directory
|
pwd |
pwd
|
|
||
rm |
Delete a file or directory (and all sub-directories)
|
rm <source_object> [--force] |
|
|
||
run |
Execute a previously uploaded script
|
run <script_name_and_extension> [arguments] |
run demo.sh 1 "22 33"
44
|
|
||
service list |
List service information
|
service list |
service list
|
|
||
systeminfo |
List system information
|
systeminfo |
systeminfo
|
|
||
user info |
List account properties
|
user info <username> |
user info john_doe
|
|
||
user list |
List local user accounts
|
user list |
user list
|
|
||
zip |
Compress a file or directory in a zip archive and optionally
encrypt the archive with a password
|
zip <source_object1> [<source_object2...>
<source_objectn>] <destination_object> [--password <password>]
[--force] |
|
|