DOC PREVIEW
TRINITY CSCI 1320 - Future of Computing and Linux

This preview shows page 1-2-3-4-5 out of 16 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 16 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16Future of Computing and Linux1-13-2011Opening DiscussionHave you come up with any other questions about the course?Minute essay comments:Why no creepy military tech?Harvard ArchitectureWhere is Scala used? Why Scala?If computers take over everything, how will non-computer people make money?How long until self-driving cars will be in Texas?What is CES?More CommentsHow far will we get into coding?Cutting Edgehttp://www.youtube.com/watch?v=6zXOW6v0c8sComputing PowerGPUCPUMobileThe Power of Exponential GrowthGPUCPUMobileCost/GFLOPhttp://en.wikipedia.org/wiki/FLOPS#Hardware_costsLinuxGo ahead and log in.Linux is just another OS, like Windows or Mac OS.Linux is primarily used in servers. Efforts are being put into making it a desktop OS.It has a GUI, but we will focus on doing things through the command line.Bring up a terminal.Change your password with passwd.Command LineYou are likely used to the point and click interface of a GUI.To run a program you double click on it or a file associated with it. Any other information has to be given after the program opens.With the command line you type in the name of the program you want to run. You can also specify any other information you want through command line arguments.Files and DirectoriesWhat you call folders were originally directories.Commands:pwd – See current directory.ls – List the contents of a directory.mkdir/rmdir – Make and remove directories.cp/mv/rm – Copy, move, remove files.less/more/cat – See contents of files.TipsTab completion for file/directory names.! - for last matching command.Ctrl-r to search your history.The man command for manual entries. Use the -k option to search.PermissionsDo ls with -l option to see permissions.Sets of rwx for user, group, and others.Use whoami and groups to find identity.Use chmod and chown to change permissions or ownership.RemoteUse ssh to login into one machine from another.Use scp to copy files from one machine to another.The website has a link to Putty which will give you these abilities from Windows. For Windows, consider running a virtual Linux install.Otherdu – Lists disk usagegrep – Searches for something inside of files.find – Find files.head – List the first several lines of a file.tail – List the last several lines of a file.top – Look at what is running on a machine.w – Look at who is logged into a machine.I/O RedirectionYou can send a programs output to a file using > or >>.You can make a program use a file as input using <.You can do more interesting things by sending the output of one program to another with |.Minute EssayHave you ever used a command-line interface before? What do you think of them based on what you have seen today?Try connecting to one of the Xena machines from your room. For


View Full Document

TRINITY CSCI 1320 - Future of Computing and Linux

Documents in this Course
Functions

Functions

10 pages

Functions

Functions

10 pages

Graphics

Graphics

10 pages

Graphics

Graphics

11 pages

Loops

Loops

4 pages

Loops

Loops

3 pages

Strings

Strings

9 pages

Functions

Functions

10 pages

Loops

Loops

11 pages

Graphics

Graphics

11 pages

Graphics

Graphics

12 pages

Sorting

Sorting

11 pages

Sorting

Sorting

10 pages

Arrays

Arrays

10 pages

Loops

Loops

18 pages

Load more
Download Future of Computing and Linux
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Future of Computing and Linux and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Future of Computing and Linux 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?