Linux & Applications Sean GavinWayne State University
description
Transcript of Linux & Applications Sean GavinWayne State University
![Page 1: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/1.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/3.jpg)
graphic user interface
•KDE •GNOME
makes the desktop look like a windows desktop – point and click
![Page 4: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/5.jpg)
![Page 6: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/6.jpg)
![Page 7: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/8.jpg)
![Page 9: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/10.jpg)
FTP – Moving Files
![Page 11: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/11.jpg)
![Page 12: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/13.jpg)
![Page 14: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/14.jpg)
![Page 15: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/15.jpg)
![Page 16: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/16.jpg)
![Page 17: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/18.jpg)
![Page 19: Linux & Applications Sean GavinWayne State University](https://reader034.fdocuments.us/reader034/viewer/2022051821/56815da5550346895dcbd46a/html5/thumbnails/19.jpg)