1 / 17

Working Remotely

Working Remotely. Clif Presser cpresser@gettysburg.edu. Links. Software by course: http://cs.gettysburg.edu/~cpresser/resources/software.html Resources from today’s colloquium http:// cs.gettysburg.edu /~ cpresser /resources/. Outline. Skills Getting the software. Transferring files.

naif
Download Presentation

Working Remotely

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Working Remotely Clif Presser cpresser@gettysburg.edu

  2. Links • Software by course: • http://cs.gettysburg.edu/~cpresser/resources/software.html • Resources from today’s colloquium • http://cs.gettysburg.edu/~cpresser/resources/

  3. Outline • Skills • Getting the software. • Transferring files. • Terminal access. • GUI on the network.

  4. Good Skills to Learn • Operating a computer via terminal. • Compiling and running programs outside of a development environment. • Keyboard shortcuts. • Changing environment variables. • Juggling.

  5. Java Development • Java Development Kit (Oracle) • Command line tools • Integrated Development Environment • Eclipse • Netbeans • Dr. Java • XCode

  6. Good Text Editors • Emacs (Windows and Mac) • TextWrangler (Mac) • Notepad2 (Windows)

  7. Unix-like Tools Windows • Cygwin • Mingw Mac • Applications -> Utilities -> Terminal

  8. Transferring Files • Samba (Windows Shares) • H-Drive: • smb://studenthome.ms.gettysburg.edu/username$ • CS Files: • smb://dijkstra.cc.gettysburg.edu/username • Use College password. Domain: GETTYSBURG

  9. Secure Transfer Ssh(Windows) Fugu (Mac) CS: dijkstra.cc.gettysburg.edu H-Drive: ftp.gettysburg.edu Port: 222 (not the default) sftp: command line version

  10. Using the Command Line • Navigating • ~/ your home directory • ls list files in the current directory • ls -l • ls -a • cd change the directory • cd .. • cd = cd ~ • pwd reports present working directory

  11. Using the Command Line • Other commands • more and less (read a text file) • SPACE – forward one page • ENTER – forward one line • q – quit • cp: copy • mv: move (rename) • grep: search a file for text • apropos: search commands • man: get help on a command

  12. Command Line Editing • Left/Right Arrows to edit • <tab> for completion • Ctrl-a Ctrl-e beginning and end • Ctrl-k kill (cut) • Ctrl-y yank (paste) • !<letters> Use to repeat a command.

  13. Command Line Development • Editors • nano • emacs -nw • Compile • javacMyFile.java • g++ MyFile.C • Execute • java MyFile • a.out

  14. Connecting Remotely • ssh • Hosts: gbcsN.cc.gettysburg.edu • N=1..22 • Port: 222 • Commands: • ssh gbcs3.cc.gettysburg.edu –p 222 –l user • ssh user@gbcs2.cc.gettysburg.edu:222

  15. Displaying Remotely (X11) • X Server: your screen • X Client: program running at the lab. • Software: Xming, cygwin • ssh tunnel: • ssh user@gbcs5.cc.gettysburg.edu -p 222 –X

  16. Last Notes A word of warning. Ask for help. exit(0)

  17. SlideIndexOutOfBoundsException

More Related