Download presentation
Presentation is loading. Please wait.
1
Unix Environment Basics CSCI-1302
Lakshmish Ramaswamy
2
Organizational Matters
Tutor – Tapan Patwardhan Office Hours: Tue & Th 2:15pm-4:15pm & Wed 1:00pm-3:30pm; CS Lounge (Tentative) TA – TBA Rule – Subject line should start with CSCI 1302: Always CC me
3
Getting Account on Atlas
All the assignments to be done on Atlas You will all receive accounts on Atlas Go to system CS support today afternoon/tomorrow to collect your account information
4
Accessing Atlas from Windows
Download and install “putty” Available freely at Open putty client and login using your username and password
5
Directory Structure in Unix
Files organized into directories Hierarchical structure You will be logging on to your “home” directory
6
File & Directory Operations in Unix
“mkdir” “cd” “ls” “rm” “mv” “cat”
7
Access Rights in Unix Read Write Execute Permission for self
Permission for group members Permissions for everyone “chmod” command
8
Path Variable Executables kept in various places (directories)
path variable tells the OS where to search for commands you type in Incorrect/incomplete path results in “command not found” Use “echo” command to see what your variable is set to
9
Setting the Path You will be using java 1.5
Java is located at /usr/local/jdk1.5.0/bin Use the following command to set your path variable correctly set path=( /usr/local/jdk1.5.0/bin /usr/local/java/j2sdk1.4.1/bin /opt/sfw/bin /usr/local/bin /usr/bin /opt/sfw/bin .) Include the command in your .cshrc file source .cshrc java –version should show “1.5.0”
10
Editors in Unix pico vim emacs
11
Compiling and executing java programs
javac firstprogram.java java firstprogram First assignment
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.