120 likes | 239 Views
COP 3503 FALL 2012 Shayan Javed. Programming Fundamentals using Java. Tools. Linux Command Line. Know the basics of the Linux command line Directories/files/compiling/manipulating text files/searching/etc. Reference: http:// files.fosswire.com/2007/08/fwunixref.pdf
E N D
COP 3503 FALL 2012ShayanJaved Programming Fundamentals using Java
Linux Command Line • Know the basics of the Linux command line • Directories/files/compiling/manipulating text files/searching/etc. • Reference: http://files.fosswire.com/2007/08/fwunixref.pdf • Practice, practice, practice
Linux Command Line • Bash scripting: • Bash is a Unix Shell • Write small scripts to automate common operations • Run script: ./script.sh
Text Editors • For Linux: • Gedit. • More complex/powerful: emacs/vim (higher learning curve)
Text Editors • For Windows: • Notepad++ • Use an editor which allows syntax highlighting, viewing line numbers,search/replace, etc.
Text Editors • For Mac OS X: • I don’t know • (though you could probably use Linux-based editors)
A Note on IDEs… • Eclipse is excellent for writing Java programs • Try to avoid using it – get used to compiling and debugging from the command line/text editor • NetBeans is excellent for creating GUIs
Connecting remotely to CISE • Windows: Use PuTTy • Linux/Mac: Use “ssh” from the command line: ssh storm.cise.ufl.edu OR ssh username@storm.cise.ufl.edu
Connecting remotely to CISE • To transfer files: • Windows: WinSCP • Mac: CyberDuck • Linux: SFTP/SCP • More info: http://www.cise.ufl.edu/help/access/remote/
Back Ups • Very important: Backup your work constantly • Cloud backup: • Dropbox • iCloud (Macs) • Ubuntu One (Ubuntu)
Pastebin.com • Whenever you want to email code, use http://pastebin.com • Choose syntax highlighting for Java • Generate link, send to me or TAs. Can edit code/add comments directly.