TM
2011.05.31 13:56

openvms command

조회 수 17523 추천 수 0 댓글 0

VMS: Quick Guide to OpenVMS Commands [ID 73239.1]

  수정 날짜 27-SEP-2002     유형 BULLETIN     상태 PUBLISHED  


Purpose:
========

The purpose of this article is to present an introduction to basic 
OpenVMS commands.


Scope & Application:
====================

This article is intended for use by people with little or no knowledge of 
OpenVMS and who need to carry out basic tasks.


Description:
============

  o OpenVMS is not case sensitive.

  o All directories have the extension .DIR.

  o Wildcard is an * (examples below).

  o <> are used for examples of some of the optional switches.

  o OpenVMS files have version numbers, so old versions typically remain 
    (and take up disk space) until they are purged (see the PURGE command 
    below).

  o OpenVMS has an easy online HELP system available at the command
    prompt.  Just type "HELP" at the prompt.


COMMAND                               EXPLANATION
-------                               -----------

ASSIGN DISK$NAME:[TOOLS.DEV161] <ORACLE_HOME>
                                      To set a LOGICAL to a value. 
                                      Example: ORACLE_HOME

BACKUP                                Used for file copies and backups.

CREATE/DIR [.newdir]                  Creates a new subdirectory 'newdir'.

DELETE filename.extension;*           Delete all occurences of the file in
                                      the current directory.   
 
DIRECTORY </page>                     List files in the current directory. 
                                      /page for a page at a time. Shorten
                                      to "DIR".

DIR myfilename.extension              Searches the current directory for 
                                      the file 'myfilename.extension'.

DIR *.dir                             Lists all subdirectories.

DIR [...]myfilename.extension         Searches the current and all 
                                      subdirectories for the file
                                      'myfilename.extension'.

DIR/OUTPUT=myfile.out                 Outputs the information to a file.  

DIR/DATE/OWN/SIZE                     This is like ls -l on Unix.

HELP                                  Equivalent to Unix 'man' but
                                      more useful.
                                      This is the MOST USEFUL command
                                      *ANYWHERE* on OpenVMS.

LOGOUT                                To log off the system.

MOUNT                                 Make a tape device available. 

NOW :== "SHOW TIME"                   To define NOW as the symbol for the 
                                      SHOW TIME command.

PRINT/QUEUE=<printer> <file>          Prints a file to a printer.

PURGE [...]filename.extension         Deletes all old versions of the file 
                                      in the current directory and all 
                                      subdirectories.  The latest file   
                                      version remains.

RECALL </all>                         Recall the commands you have used.
                                    
RECALL 12                             Uses a command from the RECALL list.

SEARCH filename*s.extension*s hello   Search and display file(s) that contain 
                                      the string 'hello'.

SEARCH [...]*.LIS hello               List all files with the .LIS file
                                      extension in both the current directory
                                      and all its subdirectories that contain
                                      'hello'.  The line(s) in the files that
                                      contain 'hello' are printed to the screen.

SET DEF disk$name:[topdir.nextdir1.another]   
                                      Changes the directory.  You typically 
                                      specify just the relative directory
                                      location.

SET DEF [.nextdir1]                   Puts you in subdirectory 'nextdir1'.

SET DEF [-]                           Moves you up one directory.

SET DEF [-.subdir]                    Moves you up one directory and then puts
                                      you in subdirectory subdir.

SET DEF SYS$LOGIN                     This is like cd on Unix.

SET HOST 0/LOG=screen.out             This starts up a second connection
                                      to the same machine and captures 
                                      all the screen input/output to 
                                      the file screen.out.  This is a 
                                      good way to check what commands were 
                                      typed and what errors and/or
                                      warnings occurred.

SHOW DEFAULT                          Show the current directory.  
                                      Shorten to "SHOW DEF".

SHOW DEVICE <device name>             Display devices and their settings.

SHOW LOGICAL <*log_name*>             To show 'environment' variable settings 
                                      that contain the string log_name.
                                      Example: SHOW LOGICAL *ORACLE*

SHOW SYMBOL *F45GEN*                  Show a symbol definition. Check 
                                      the actual executable being used.

SHOW SYSTEM                           Show the OpenVMS version and 
                                      processes summary.

TYPE filename.extension </page>       Outputs the contents of a file to 
                                      the screen. 

WRITE SYS$OUTPUT F$GETSYI("HW_MODEL") If this returns a number > 1024, then
                                      you are on an Alpha OpenVMS machine
                                      rather than a VAX OpenVMS machine.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 Q&A Oracle관련 게시물만 Sean 2014.04.09 84839
140 TM 엔지니어필수품 file perfstat 2011.03.03 14113
139 TM RAC10g R2 patch(10.2.0.1->10.2.0.5) file 윤현 2011.03.02 10714
138 TM oracle client 와 database 간 상호 호환성(version) 1 담벼락 2011.01.24 23072
137 TM Automatic Storage Management file 담벼락 2010.12.31 10628
136 TM 10g Transportable Tablespace 에 대한 세미나 자료 입니다 file 송기성 2010.12.29 9204
135 TM Replication 세미나 자료 file 고구마 2010.12.29 11200
134 TM SystemState 세미나자료 file 고구마 2010.12.29 11006
133 TM Database Replay 담벼락 2010.12.27 9501
132 TM ORA-1578 조치를 위한 event 10231 1 이성철 2010.12.22 8440
131 TM (10g) 자동 통계정보 수집(AUTOMATIC OPTIMIZER STATISTICS COLLECTION) 담벼락 2010.12.16 16368
130 TM 오라클 디렉토리 변경 송기성 2010.12.16 22829
129 TM UPDATABLE SNAPSHOT 구축하기 고구마 2010.08.23 15430
128 TM replication table 다른 tablespace 로 옮기기 고구마 2010.08.23 13613
127 TM Flashback Query 승현짱 2010.05.30 8670
126 TM analyze connection failover options 유주환 2010.05.19 8858
125 TM 어플리케이션 페일오버와 로드밸런싱 유주환 2010.05.19 8836
124 TM fine-grained_auditing 1 유주환 2010.05.19 8586
123 TM library_cache_lock,_library_cache-orapybubu 유주환 2010.05.19 8862
122 TM fga와_vpd를_이용한_오라클_데이터베이스_보안_관련_문제와_답변 유주환 2010.05.19 10401
121 TM 과도한 CPU 및 UNDO REDO 많이 사용하는 세션 찾기 1 고구마 2010.05.19 23585
Board Pagination Prev 1 2 3 4 5 6 7 8 Next
/ 8