Editing
Scanco User Instructions
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==List of basic commands== <pre> $ VUE !Start the session manager. Press enter after to regain prompt. $ DEC !Open a new DEC terminal $ UCT !Open the micro-CT control panel. $ UCT_SAMPLE !Start µCT Samples. $ UCT_MEASUREMENT !Start µCT Tomography. $ UCT_EVALUATION !Start µCT Evaluation Program. $ UCT_3D !Start µCT Ray. $ UCT_BACKUP !Start µCT Disk-Utility. $ CD UD !Change location to the data directory. $ CD UR !Change location to the projects directory. $ CD SYS$SCRATCH !Change location to the scratch directory. $ CD UCT_RESULTS !Change location to the results directory. $ DIR UE !List files in the evaluation directory. $ DIR UU !List files in the templates directory. $ DIR COM !List files in the commands directory. $ UCT_LIST !Extract results from the database. $ AIX -L !View the header of an AIM file. $ CTHEADER !View the header of an RSQ or ISQ file. $ EVE !Start the text editor. $ DISKS !Show the current disk usage (all hard drives). $ LOGOUT !End a session. For remote sessions, logout from the main (initial) login terminal. </pre> ===How to move to a different directory=== Use the SET DEFAULT command. You can use an absolute directory path or a relative directory path. <pre> $ SET DEFAULT disk:[dir.subdir] !Moves to specified path. $ SET DEFAULT [.subdir] !Moves one level into subdirectory subdir. </pre> Use the CD (i.e., change directory) command (this calls the script $ @SCOM:CD.COM). <pre> $ CD subdir !Moves into subdirectory subdir. $ CD subdir1 subdir2 !Moves into subdirectory subdir1, then into subdir2. $ CD .. !Moves up one level (i.e., out of one directory). </pre> What if you don't know the directory on the disk? For example, how can you change to DISK5 if you don't know what user is on that disk? You can enter the following: <pre> $ dir disk5:[000000].dir </pre> But you will need to be logged in as <code>system-user</code> in order to use that command. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to list the files in a directory=== Use the DIRECTORY command, which may be abbreviated to DIR. <pre> $ DIR !List everything in the current directory. $ DIR disk:[dir.subdir] !Lists everything in the specified directory. $ DIR disk:[dir.subdir...] !Lists everything in the specified directory and subdirectories. $ DIR/COL=1 *.aim !Lists all files with the extension .aim in a single column. $ DIR /VERSIONS=1 !Show only the newest version of each file in the directory. $ DIR/SINCE=TODAY !Lists all files created today. $ DIR [...*.aim] !The "..." indicates to do so recursively (i.e., counting all files in all subdirectories). $ DIR/SIZE !Lists each file and its size. $ dir/size/grand_total [.subdir...] !List the total size of all files in the SUBDIR directory. $ HELP DIR !More information on the DIRECTORY command. </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to copy files=== Use the COPY or BACKUP command. <pre> $ COPY file1.ext disk:[dir.subdir1]file2.ext !Make a copy of file1.ext to another location and call it file2.ext $ COPY *.aim;* disk:[dir.subdir1] !Copy all .aim files (including all versions) to another location keeping the same name. $ HELP COPY !More information on the COPY command. </pre> <pre> $ BACKUP/VERIFY [.subdir1...]*.*;* [.subdir2...] !Copy entire directory SUBDIR1, including all subdirectories and files, into SUBDIR2. $ BACKUP/VERIFY [.subdir1...]*.*;* []subdir1.sav/SAVE !Copy entire directory SUBDIR1, including all subdirectories and files, into a save set. The save set could be transferred and unpacked on another OpenVMS machine. $ HELP BACKUP !More information on the BACKUP command. </pre> Or to copy a complete directory structure: <pre> $ backup/log/verify dna7:[xtremect.data...]*.*;* disk7:[xtremect2.external...] /by=parent </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to delete files=== Use the DELETE command, which may be abbreviated to DEL. <pre> $ DEL myfile.txt; !Delete the most recent version of myfile.txt. $ DEL myfile.txt;* !Delete all versions of myfile.txt. $ HELP DELETE !More information on the DELETE command. </pre> [[Image:Bones2.jpg|20px]] <b>Warning:</b> Extreme caution! <pre> $ DEL *.*;* !Delete everything in the current directory! </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to create a directory=== Use the CREATE/DIR command. <pre> $ CREATE/DIR [.subdir] !Creates a subdirectory named subdir.dir in the current directory. $ CREATE/DIR disk:[dir.subdir] !Creates the subdirectory subdir at the specified path. </pre> Or if you are creating a directory on a new disk (log in as user <code>system</code>): <pre> $ create/dir/log/vol=1 disk7:[xtremect2.abc] /own=xtremect2 </pre> If the owner of the new directory is not specified (qualifier '/own=<owner>), it will be assigned to the user as which the command has been entered. [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to move location of a directory=== Use the RENAME command. <pre> $ SET FILE/PROTECTION=O:RWED RESULTS.DIR $ RENAME RESULTS.DIR [-.-.-] !Moves the directory up three levels </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to rename files and directories=== Use the RENAME command. <pre> $ SET FILE/PROTECTION=O:RWED olddir.dir !Sets protections so you can rename the directory. $ RENAME oldfile.ext newfile.ext !Renames oldfile.ext to newfile.ext. </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to check the queue=== Use the SHOW QUEUE command, which may be abbreviated to SH QUE. <pre> $ SHOW QUEUE !Shows all the queues, there are many! $ SH QUE *FAST !Shows all queues whose names end with "fast", these are used for evaluations. $ SH QUE *SLOW !Shows all queues whose names end with "slow", these are used for reconstructions. $ SH QUE *FAST/ALL !By default you are only shown queue entries for the user you are logged in as. To show jobs for all users, use the /ALL qualifier. $ SH QUE *FAST/BY=EXE/ALL !Show only jobs that are currently executing for all users. </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']] ===How to get queue information=== Use the SHOW ENTRY command to obtain information about batch jobs in the queues. <pre> $ SHOW ENTRY !Shows all the batch jobs for your user, there may be lots! $ SHOW ENTRY 251 !Shows information for batch job number 251. $ SHOW ENTRY 251/FULL !Shows detailed information for batch job number 251. $ SHOW ENTRY/ALL !Shows all the batch jobs for all users. </pre> [[Image:Redirect.jpg|15px]] [[#top|''Return to Contents'']] or [[Main_Page|''Return to Main Page'']]
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information