Your SlideShare is downloading. ×
Unix
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Unix

277
views

Published on

Presentation for the ACM meeting on 9/20/11

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
277
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. UnixNick  Radford
  • 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. Foundation of Mac OS X
  • 4. Change DirectoryUse it to change directories. $  cd  <path>Can use relative or absolute paths. $  cd  /foo/bar $  cd  ../baz
  • 5. List Current Directory$  pwd
  • 6. List Files in Current Directory$  ls
  • 7. List Files in Current DirectoryUse ls  -­‐a to list all files in the current directory.
  • 8. List Files in Current DirectoryUse ls  -­‐o to list get more information about the files.
  • 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. What’s currently running?$  top
  • 11. Stopping processes$  kill  <pid>$  killall  <name>
  • 12. Find text in a file$  grep  <pattern>  <file>
  • 13. Find a file in the filesystem$  find  <path>  <expression>
  • 14. Not sure how to use something?Pass the -­‐h or -­‐-­‐help flag to the program.
  • 15. Not sure how to use something?Use the man pages!    $  man  <program>
  • 16. Bret  Moore  President Hao  Hu  Vice  PresidentBen  Syzmanski  SecretaryBrandon  Moore  Treasurer Nick  Radford  Webmaster