potential unix/linux questions march 25, 2014 dr. bob mathis

15
Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis

Upload: gertrude-morrison

Post on 16-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis

Potential Unix/Linux Questions

March 25, 2014

Dr. Bob Mathis

Page 2: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis

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
Page 4: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis

• 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

• What did Linus Torvalds create?– Fedora– Slackware– Debian– Gentoo– Linux

(Linux)

Page 6: Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• Is it possible to pass input to ssh from a local file?

very much like local execution

ssh username@servername < local_file.txt