potential unix/linux questions march 25, 2014 dr. bob mathis
TRANSCRIPT
![Page 1: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/1.jpg)
Potential Unix/Linux Questions
March 25, 2014
Dr. Bob Mathis
![Page 2: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/2.jpg)
What Do You Want?
• We can’t do everything, but I’d like to address any issues you have.
• What’s happening in your current job or in the job you’re looking forward to?
![Page 3: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/3.jpg)
![Page 4: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/4.jpg)
• What is the core of Linux Operating System?– Shell– Kernel– Command– Script– Terminal
(Kernel)
![Page 5: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/5.jpg)
• What did Linus Torvalds create?– Fedora– Slackware– Debian– Gentoo– Linux
(Linux)
![Page 6: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/6.jpg)
• Linux was initially developed for Intel X86 architecture but has been ported to other hardware platforms.
(Agree)
![Page 7: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/7.jpg)
• Is it legal to edit the Linux kernel?
(Yes, it ‘s under the General Public License)
![Page 8: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/8.jpg)
• What is the basic difference between UNIX and Linux Operating System?
(UNIX is not Free and Open Source Software, Linux is.)
![Page 9: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/9.jpg)
• Choose the odd one out.– HP-UX– AIX– OSX– Slackware– Solaris
(Slackware is a Linux version. The others are individually developed company UNIX variants.)
![Page 10: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/10.jpg)
• Linux is which kind of operating system?– Multi User– Multi Tasking– Multi Process– All of the above– None of the above
(All of the above.)
![Page 11: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/11.jpg)
• The syntax of Linux commands is:– command [options] [arguments]– command options [arguments]– command [ options] arguments– command options arguments
( Command [options] [ arguments] )
![Page 12: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/12.jpg)
• Chose the odd one out.– vi– vim– cd– nano
(cd is not an editor, it’s for changing a directory.)
![Page 13: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/13.jpg)
• What’s the difference between telnet and ssh?
– Both are used to communicate and control remote systems
– ssh encrypts transmissions, but telnet uses plain text so it is less secure.
![Page 14: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/14.jpg)
• How do you copy a file using ssh?
Secure CopY scp <text_file_to_copy> <your_username@remote_host: /path/to/remote_directory
![Page 15: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis](https://reader036.vdocuments.us/reader036/viewer/2022083008/56649e665503460f94b612e3/html5/thumbnails/15.jpg)
• Is it possible to pass input to ssh from a local file?
very much like local execution
ssh username@servername < local_file.txt