Linux & Applications Sean GavinWayne State University

19
Linux & Applications Sean Gavin Wayne State University • multi-user environment -- log in: user name and password -- you never turn the computer on or off

description

Linux & Applications Sean GavinWayne State University. multi-user environment -- log in : user name and password -- you never turn the computer on or off. Linux. Linux with KDE graphic user interface navigation – where are my files? - PowerPoint PPT Presentation

Transcript of Linux & Applications Sean GavinWayne State University

Page 1: Linux & Applications Sean GavinWayne State University

Linux & ApplicationsSean Gavin Wayne State University

• multi-user environment-- log in: user name and password -- you never turn the computer on or off

Page 2: Linux & Applications Sean GavinWayne State University

Linux

• Linux with KDE graphic user interface

• navigation – where are my files?

• command line interface – listing, moving, finding, copying … my files

• applications – web browsing, text viewing, editing … my files

Page 3: Linux & Applications Sean GavinWayne State University

graphic user interface

•KDE •GNOME

makes the desktop look like a windows desktop – point and click

Page 4: Linux & Applications Sean GavinWayne State University

home – directory browser

search for files

help

shell – terminal for entering text commands

start menu – like windows

icons

Page 5: Linux & Applications Sean GavinWayne State University
Page 6: Linux & Applications Sean GavinWayne State University
Page 7: Linux & Applications Sean GavinWayne State University

Command Line Interface

• Shell Icon – window with a “prompt” rhic15:sean> ls

• type keyword commands – execute programs

• command “ls” lists files in a directory

• file names have format name.xxx (no blank spaces!!)• xxx – extension indicates the files function sean.tex < word processor

(latex)sean.cpp, sean.f < C++ or Fortran programmomLetter.txt < plain text (asci)web_page.htm < web document (html)

• no blank spaces, case sensitive

Page 8: Linux & Applications Sean GavinWayne State University
Page 9: Linux & Applications Sean GavinWayne State University

Favorite Unix Commands

• ls list files > ls > ls *.txt(list files with extension .txt)

• ls –l list files with size, etc. > ls –l *.cpp• ls –a list all files > ls –a • lpr prints files > lpr sean.txt (default printer)

> lpr –Pmono1200 sean.txt (specify printer)• cd change directory > cd MyDirectory

> cd ( home directory) • mkdir make new directory > mkdir MyNobel• rm remove file > rm wrongStuff.txt• rmdir remove directory > rm WrongStuff (delete contents first)• cp copy file > cp old.txt new.txt (keeps old.txt)• mv move file > mv old.txt new.txt (kills old.txt)• more types file on screen > more money.txt• pwd print working directory > pwd

Page 10: Linux & Applications Sean GavinWayne State University

FTP – Moving Files

Page 11: Linux & Applications Sean GavinWayne State University
Page 12: Linux & Applications Sean GavinWayne State University

Running Programs from Command Line

can type program name at the prompt to start application:> netscape & web browser> ghostview pic.ps & postscript file viewer> gv pic2.eps & a better postscript viewer> acroread taxReturn.pdf & acrobat pdf file viewer

compile and execute programs that you have written

text editors: emacs, xemacs

note: also find common programs are on the start menu

Page 13: Linux & Applications Sean GavinWayne State University
Page 14: Linux & Applications Sean GavinWayne State University
Page 15: Linux & Applications Sean GavinWayne State University
Page 16: Linux & Applications Sean GavinWayne State University
Page 17: Linux & Applications Sean GavinWayne State University

Summary

Unix – many choices, infinite possibilitiesThe setup at BNL, Cornell, Fermi will be different

• navigation in KDE graphic user interface

• command line interface – ls, cd, mv, cp, rm

• applications – netscape, ghost view, xemacs

Page 18: Linux & Applications Sean GavinWayne State University
Page 19: Linux & Applications Sean GavinWayne State University