Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Global System Commands

Description

Displays general system information.

Commands

Table 1 describes the global system commands.

Table 1: Global System Commands
Commands Description
show process

Display the status of active processes.

show process top

Display the system summary information and the list of processes.

networkstat

Display network-related and diagnostic information.

list <file-path>

Display the files in a directory.

exit

Exit the CLI session.

currentdir <file-path>

Display the full path name of the current directory from the root folder.

remove <file-path>

Remove a file within a directory.

Run this command only for the files located in the /home/cliadmin and /var/log folders.

clear

Clear the terminal screen.

ping <IP-address>

Verify the network connection and troubleshoot connectivity issues.

show file <file-path>

Display the contents of a file.

To view the list of "<resource name>", use "<command>".

remotecopy

Copy files between hosts in a network.

Run this command to copy files between a local host and a remote host. Enter the command in this format: scp [options] [[user@]host1:]source_file_or_directory [[user@]host2:]destination. The system allows file copying only from the following directories.:

  • /home/cliadmin/

  • /var/log/

  • /var/crash/

  • /etc/repomanager/

ssh

Run commands remotely.

Run this command to apply tools for the command output available in the host server such as awk in Linux and findstr in Windows.

reboot

Reboot the VM.

shutdown

Shut down the VM.

date

Show the system date and time zone.

traceroute

Trace the path packets taken to the destination using tracepath.

periodic

Run a command periodically.

tail

Tail a file with a specific number of lines or Stream data.

changepasswd

Change the password of cliadmin user.

Enter the password that meets the following requirements:

  • The password should be at least 8 characters long and not more than 32 characters.

  • The password must include at least three of the following:

    • Numbers (0-9)

    • Uppercase letters (A-Z)

    • Lowercase letters (a-z)

    • Special characters (~!@#$%^&*()_-+={}[];:"'<,>.?/|\)

find <directory-path> <file-name>

Search for a file within a directory.

show version

Display the version of VM and the reason for the last boot.

The last boot reason will only be shown if the VM was rebooted or shut down through the CLI.

Required Privilege Level

CLI Administrator

Sample Output

show process topnetworkstatlistcurrentdirpingshow fileremotecopysshshow processchangepasswd

Release Information

Command introduced in Juniper Security Director Release 24.4.1.