Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 47 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
47
Dung lượng
465 KB
Nội dung
Unix Tutorial for FreeSurfer Users What is Unix/Linux? An operating system (like Windows and OS X) Linux is the free, modiable, and redistributable version of Unix Why use it? What is Unix/Linux? An operating system (like Windows and OS X) Linux is the free, modiable, and redistributable version of Unix Why use it? Getting Started Communicate with operating system through a “shell” or terminal window. For Linux: Double click Terminal icon on Desktop For Macs: Double click on hard drive Applications > Utilities > X11 (double click) Applications > Utilities > Terminal Warm Up Type: and hit enter. Warm Up Type: and hit enter. Should see !" #$%& #!!' Warm Up Type: and hit enter. Should see Type: and hit enter. !" #$%& #!!' Warm Up Type: and hit enter. Should see Type: and hit enter. Should see !" #$%& #!!' #!!' (&)&* ( +#,$ "-'+!++ +#+,+$+"++- + +'#!#+###,#$ #" ##-##',! Directories Unix uses a hierarchical le system (think folders in Windows) Directories Unix uses a hierarchical le system (think folders in Windows) Home is like “My Computer” [...]...Directories • Unix uses a hierarchical file system (think folders in Windows) Home is like “My Computer” Like “My Document s” Directories • Unix uses a hierarchical file system (think folders in Windows) Home is like “My Computer” Like “My Document s” Like “My Photos” Directories • Unix uses a hierarchical file system (think folders in Windows) Home... Unix uses a hierarchical file system (think folders in Windows) Home is like “My Computer” Like “My Document s” Like “My Photos” picture.jpg Location Type: and hit enter Should see pwd /home/nmrclass OR /Users/ YourName shows “present working directory” or current location as a path similar to: /MyComputer/MyDocuments/MyPhotos Opening a Directory • Not double clicking • Type command to “open” • Commands... directory”: move into a folder ls ls “list”: see contents of directory Navigating Directories cd “change directory”: move into a folder ls ls “list”: see contents of directory Desktop matlab tmp TUTORIAL_ DATA Anatomy of a Command command -option1 –option2 command help file Anatomy of a Command command -option1 –option2 command help Try: ls help file Directory Contents • List contents of directory . Unix Tutorial for FreeSurfer Users What is Unix/ Linux? An operating system (like Windows and OS X) Linux is the free, modiable, and redistributable version of Unix. #$%& #!!' #!!' (&)&* ( +#,$ "-'+!++ +#+,+$+"++- + +'#!#+###,#$ #" ##-##',! Directories Unix uses a hierarchical le system (think folders in Windows) Directories Unix uses a hierarchical le system (think folders in Windows) Home is like “My Computer” Directories Unix. Started Communicate with operating system through a “shell” or terminal window. For Linux: Double click Terminal icon on Desktop For Macs: Double click on hard drive Applications > Utilities >