120 likes | 243 Views
This course introduces the essentials of programming fundamentals using Java, focusing on the Linux command line. Students will learn basic command line operations, file manipulation, and the essentials of Bash scripting for automating tasks. Key tools covered include various text editors like Gedit, emacs, and vim for Linux, and Notepad++ for Windows. Connecting to remote servers via ssh, file transfers, and ensuring backup strategies using cloud services will also be emphasized. Gain hands-on experience with Eclipse and NetBeans, boosting your coding practice.
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.