Difference between revisions of "Bright cmsh:Basic commands"
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
<syntaxhighlight> | <syntaxhighlight> | ||
| − | + | alias ......................... Set aliases | |
| + | category ...................... Enter category mode | ||
| + | cert .......................... Enter cert mode | ||
| + | cloud ......................... Enter cloud mode | ||
| + | color ......................... Manage console text color settings | ||
| + | connect ....................... Connect to cluster | ||
| + | delimiter ..................... Display/set delimiter | ||
| + | device ........................ Enter device mode | ||
| + | disconnect .................... Disconnect from cluster | ||
| + | events ........................ Manage events | ||
| + | exit .......................... Exit from current object or mode | ||
| + | export ........................ Display list of aliases current list formats | ||
| + | groupingsyntax ................ Manage the default grouping syntax | ||
| + | help .......................... Display this help | ||
| + | history ....................... Display command history | ||
| + | jobqueue ...................... Enter jobqueue mode | ||
| + | jobs .......................... Enter jobs mode | ||
| + | list .......................... List state for all modes | ||
| + | main .......................... Enter main mode | ||
| + | modified ...................... List modified objects | ||
| + | monitoring .................... Enter monitoring mode | ||
| + | network ....................... Enter network mode | ||
| + | nodegroup ..................... Enter nodegroup mode | ||
| + | partition ..................... Enter partition mode | ||
| + | process ....................... Enter process mode | ||
| + | profile ....................... Enter profile mode | ||
| + | quit .......................... Quit shell | ||
| + | quitconfirmation .............. Manage the status of quit confirmation | ||
| + | rack .......................... Enter rack mode | ||
| + | refresh ....................... Refresh all modes | ||
| + | run ........................... Execute cmsh commands from specified file | ||
| + | session ....................... Enter session mode | ||
| + | softwareimage ................. Enter softwareimage mode | ||
| + | unalias ....................... Unset aliases | ||
| + | user .......................... Enter user mode | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | |||
== Other Useful command == | == Other Useful command == | ||
Revision as of 12:41, 17 July 2013
Basic Usage
Bright can be run through several command line tools. The most important one is CMSH. CMSH is an easy to use tool.
to start the tool simply run the command:
cmsh
The tool can be navigated by entering the catergory or comand into the command line. To see the availble options type help:
alias ......................... Set aliases
category ...................... Enter category mode
cert .......................... Enter cert mode
cloud ......................... Enter cloud mode
color ......................... Manage console text color settings
connect ....................... Connect to cluster
delimiter ..................... Display/set delimiter
device ........................ Enter device mode
disconnect .................... Disconnect from cluster
events ........................ Manage events
exit .......................... Exit from current object or mode
export ........................ Display list of aliases current list formats
groupingsyntax ................ Manage the default grouping syntax
help .......................... Display this help
history ....................... Display command history
jobqueue ...................... Enter jobqueue mode
jobs .......................... Enter jobs mode
list .......................... List state for all modes
main .......................... Enter main mode
modified ...................... List modified objects
monitoring .................... Enter monitoring mode
network ....................... Enter network mode
nodegroup ..................... Enter nodegroup mode
partition ..................... Enter partition mode
process ....................... Enter process mode
profile ....................... Enter profile mode
quit .......................... Quit shell
quitconfirmation .............. Manage the status of quit confirmation
rack .......................... Enter rack mode
refresh ....................... Refresh all modes
run ........................... Execute cmsh commands from specified file
session ....................... Enter session mode
softwareimage ................. Enter softwareimage mode
unalias ....................... Unset aliases
user .......................... Enter user modeOther Useful command
The alias command can be useful to allow users to use the normal linux commands. For example to use the ls command instead of help run the command:
[root@bright-head ~]# cmsh
[bright-head]% alias ls help