Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by...
-
Upload
bennett-douglas -
Category
Documents
-
view
223 -
download
1
Transcript of Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by...
![Page 1: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/1.jpg)
Intro to Linux/Unix (user commands)
Box
![Page 2: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/2.jpg)
What is Linux?
• Open Source Operating system
• Developed by Linus Trovaldsa the U. of Helsinki in Finland since 1991.
• Under GNU GPL, its source code is free for everyone to download and use.
• One of the most popular, esp for a server markets
![Page 3: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/3.jpg)
• Source code can be modified to fit your need.
• Quite portable – good for new hardware products
• Supports various hardware platforms. Majority on x86
• True multi-tasking operating system.
• Being immunized against all kinds of viruses.
![Page 4: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/4.jpg)
Login
• Login at terminal/console, X-window
• Remote terminal – ssh• Putty – windows, openssh.org
![Page 5: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/5.jpg)
Putty login screen
![Page 6: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/6.jpg)
Login to systems
• IBM P5/575 supercomputer - bluedawg.loni.org• Obtain login via https://
www.loni.org/systems/accounts/account_request.php
• Class Cluster System – 138.47.51.229• Your login is your tech e-mail (w/o number)
and password = engr530. • ars cmo crc dgh jcg jcm jsb kag sva vmh
![Page 7: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/7.jpg)
Parallel computing Machines
![Page 8: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/8.jpg)
Navigate around and file/dir commands
• List a directory – ls
• Get more help – man %command
• Change directory – cd
• Forward slash in Linux/Unix
• Create directory – mkdir
• Remove file or dir – rm
• List a file content – cat , more
![Page 9: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/9.jpg)
Create/edit a file
• Vi
• Emacs
• Any of you favorite editor
![Page 10: Intro to Linux/Unix (user commands) Box. What is Linux? Open Source Operating system Developed by Linus Trovaldsa the U. of Helsinki in Finland since.](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649e7a5503460f94b7a345/html5/thumbnails/10.jpg)
Compile and run your program
• gcc – gnu c compiler
• g++ - c++
• mpicc – mpi c compiler
• Default executable – a.out
• Run your program on Linux cluster• Make sure your $PATH is set• ./a.out – normal program• Mpi – mpirun or qsub (pbs)…