Linux console access command – Brocade Virtual ADX Installation and Deployment Guide (Supporting ADX v03.1.00) User Manual

Page 63

Advertising
background image

List of to be supported Linux commands on Virtual ADX CLI

TABLE 2

Linux Command

Description

grep

Used to search text. It searches the given file for the line
which contains the matching string or words.

more

Command to view the contents of a text file, one full
screen at a time.

less

Program similar to more, but allows both backward and
forward movement in the file.

cat

Reads and display the contents of a file

curl

A client to get documents and files from a server or send
documents to a server, using any of the supported
protocols (HTTP, HTTPS, FTP, GOPHER, DICT,
TELNET, LDAP or FILE).

The operands are as per Linux application commands.

Example :

Virtual ADX# grep -i "RS_COUNT" tmpl/predef/GenericLB.xml

<variableName>RS_COUNT</variableName>

<repeater count="RS_COUNT">

<repeater count="RS_COUNT">

Linux console access command

Accessing Linux console: Execute the linux-console command in privileged more to enter into the

Linux console. When the Linux console mode is accessed, an informational syslog is logged and an
informational banner is displayed.

Virtual ADX# linux-console

Entering Linux console mode (Session ID: 1)...

[root@VirtualADX ADX]#

Terminate a Linux console session: Execute the following command to terminate an ongoing Linux

console session.

Virtual ADX# linux-console terminate 1

Syntax: linux-console terminate session-id

session-id is the Session ID of the Linux console as displayed in the output from the show linux-
console active-sessions
command.

Terminate a Linux CLI execution: Execute the following command to terminate an ongoing Linux

CLI execution.

Virtual ADX# linux-cli terminate 1

Syntax: linux-cli terminate session-id

session-id is the Session ID of the Linux CLI as displayed in the output from the show linux-cli
active-sessions
command.

Linux console access command

Brocade Virtual ADX Installation and Deployment Guide

63

53-1003241-01

Advertising