ITIS 2110
Today’s Notes NFS in the lab Lecture: ▪ Linux II ▪ vi Lab 2
_Spring/ITIS2110/2110LabSchedule.htm _Spring/ITIS2110/2110LabSchedule.htm
NFS allows the users home directory to be available no matter which workstation in the lab they log onto The users home directory must always be available to keep Linux running Contains critical configuration information ▪ Do a ls –a to see all the configuration files for a user (starting with a.) NFS allows the users home directory on a network drive! This is a problem when the workstation’s NICs are disconnected for experiments Special setup for the 302 lab: When logging on a template of the user’s home directory is copied to the local workstation ▪ This includes the Desktop (and others) User’s home directories are deleted every midnight on the workstations! Special case: network_storage directory is kept on the file server ▪ Data there should follow you to each workstation you log on ▪ Should not be deleted by the system
Objective More Linux Basics Introduce to vi
Whenever possible text data must be captured as text, not with a screenshot e.g. to document the contents of a directory: ▪ ls –l > targetfile.txt ▪> creates or replaces data in targetfile.txt ▪targetfile.txt will have the listing normally sent to the screen or ▪ ls –l >> targetfile.txt ▪>> appends data to targetfile.txt ▪targetfile will have the listing added to the previous contents of the file
Your Lab ID is the same as your 49er ID The PW is different: a + your 800 id a Change the password ASAP ▪ passwd ▪ Follow the instructions Note: some PWs were created without the leading “a”
Lecture: Linux overview and Commands ▪ Linux Basics II Linux Basics II ▪ Note: The use of the command line is nicely summarized in LA Ch 5 Editing ▪ vi vi Lab 2110Lab2Linux.docx 2110Lab2Linux.docx