UnixNick	  Radford
History of Unix•Created	  in	  1969	  by	  a	  group	  of	  AT&T	  Developers	    at	  Bell	  Labs.•Used	  mostly	  on	  s...
Foundation of Mac OS X
Change DirectoryUse it to change directories.  $	  cd	  <path>Can use relative or absolute paths.  $	  cd	  /foo/bar  $	  ...
List Current Directory$	  pwd
List Files in Current Directory$	  ls
List Files in Current DirectoryUse ls	  -­‐a to list all files in the current directory.
List Files in Current DirectoryUse ls	  -­‐o to list get more information about the files.
Make DirectoryUse mkdir	  to create a new directory.  $	  mkdir	  <path	  to	  directory>  $	  mkdir	  /foo/batUse -­‐p fla...
What’s currently running?$	  top
Stopping processes$	  kill	  <pid>$	  killall	  <name>
Find text in a file$	  grep	  <pattern>	  <file>
Find a file in the filesystem$	  find	  <path>	  <expression>
Not sure how to use something?Pass the -­‐h or -­‐-­‐help flag to the program.
Not sure how to use something?Use the man pages!	  	  $	  man	  <program>
Bret	  Moore      	  President          Hao	  Hu   	  Vice	  PresidentBen	  Syzmanski      	  SecretaryBrandon	  Moore    ...
Upcoming SlideShare
Loading in …5
×

Unix

358 views

Published on

Presentation for the ACM meeting on 9/20/11

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
358
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Unix

  1. 1. UnixNick  Radford
  2. 2. History of Unix•Created  in  1969  by  a  group  of  AT&T  Developers   at  Bell  Labs.•Used  mostly  on  servers,  workstations  and   mobile  devices.
  3. 3. Foundation of Mac OS X
  4. 4. Change DirectoryUse it to change directories. $  cd  <path>Can use relative or absolute paths. $  cd  /foo/bar $  cd  ../baz
  5. 5. List Current Directory$  pwd
  6. 6. List Files in Current Directory$  ls
  7. 7. List Files in Current DirectoryUse ls  -­‐a to list all files in the current directory.
  8. 8. List Files in Current DirectoryUse ls  -­‐o to list get more information about the files.
  9. 9. Make DirectoryUse mkdir  to create a new directory. $  mkdir  <path  to  directory> $  mkdir  /foo/batUse -­‐p flag to create all directories in given path. $  mkdir  -­‐p  /path/that/does/not/exist/yet
  10. 10. What’s currently running?$  top
  11. 11. Stopping processes$  kill  <pid>$  killall  <name>
  12. 12. Find text in a file$  grep  <pattern>  <file>
  13. 13. Find a file in the filesystem$  find  <path>  <expression>
  14. 14. Not sure how to use something?Pass the -­‐h or -­‐-­‐help flag to the program.
  15. 15. Not sure how to use something?Use the man pages!    $  man  <program>
  16. 16. Bret  Moore  President Hao  Hu  Vice  PresidentBen  Syzmanski  SecretaryBrandon  Moore  Treasurer Nick  Radford  Webmaster

×