![]() |
![]() |
Unix Basics Commands
| man | Complete explanation of a command. Does not provide information for ?within-lab? commands listed in blue. ex: man ls ex: man cd |
| g | Find directory ex: g 9888356 ex: g VerPr_c |
| cd | Move your shell to the specified folder/directory ex: cd /raid0/structural/MR6/9888356 |
| pwd | Tells you which directory your shell is in. ex: pwd |
| ls | Shows list of files and directories in current directory or the directory specified. ex: ls ex: ls /raid0/structural/MR6/9888356 |
| mkdir | Creates the folder/directory specified ex: mkdir gene ex: mkdir helen |
| rmdir | Removes an empty directory. (Use rm to remove contents) ex: rmdir gene ex: rmdir helen |
| brains2 | graphical user interface for viewing and working with MR & PET images. |
| nedit | graphical user interface for editing text files. ex: nedit notes & |
| & | Puts the preceding command in the ?background? so your shell is usable. Can also be accomplished by <Ctrl>z bg |
| mv | Relocate file/directory to another location or to change name. ex: mv file.txt project43.txt ex: mkdir project43 ; mv file.txt project43 |
| ; | Separate two commands on the same line. |
| rm | Delete a file. ex: rm file.txt ex: rm project43/file.txt |
| lp | Send information to the default printer. ex: lp < file.txt ex: man rm | lp |
| < > | Send information in the direction indictated |
| | | Connect output from one program to the input of another. |
| view_worsley -study VerPr_c -sub 5-3 | |
| ./view_rand 5-3_5-3 | |
| df | Shows disk space total/used/free. |
| du | Shows size of directories. ex: du /raid0/homes/gene/project43 |
| ksnapshot | Linux tool for grabbing images from the screen. |
| snapshot | SGI tool for grabbing images from the screen. |
© The University of Iowa 2005. All rights reserved.
Latest update May 7, 2005 Webpages maintained by Hans J. Johnson. E-mail the webmaster
MB