Upload
plato
View
28
Download
1
Embed Size (px)
DESCRIPTION
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 - PowerPoint PPT Presentation
Citation preview
1 / 12
COP 3503 FALL 2012SHAYAN JAVED
Programming Fundamentals using Java
1
2 / 12
Tools
3 / 12
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
4 / 12
Linux Command Line
Bash scripting:
Bash is a Unix Shell
Write small scripts to automate common operations
Run script:
./script.sh
5 / 12
Text Editors
For Linux:
Gedit.
More complex/powerful: emacs/vim (higher learning curve)
6 / 12
Text Editors
For Windows:
Notepad++
Use an editor which allows syntax highlighting, viewing line numbers, search/replace, etc.
7 / 12
Text Editors
For Mac OS X:
I don’t know
(though you could probably use Linux-based editors)
8 / 12
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
9 / 12
Connecting remotely to CISE
Windows: Use PuTTy
Linux/Mac: Use “ssh” from the command line:
ssh storm.cise.ufl.edu
OR
10 / 12
Connecting remotely to CISE
To transfer files:
Windows: WinSCP
Mac: CyberDuck
Linux: SFTP/SCP
More info: http://www.cise.ufl.edu/help/access/remote/
11 / 12
Back Ups
Very important: Backup your work constantly
Cloud backup:
Dropbox iCloud (Macs) Ubuntu One (Ubuntu)
12 / 12
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.