1 / 10

UNIX Command-line Introduction

UNIX Command-line Introduction. Terence Parr. Navigating. cd pwd ls pushd/pod. Display file contents. cat more head tail wc. Copying, renaming. cp source target mv source target # rename. Special Directories and Files.

ashleigh
Download Presentation

UNIX Command-line Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. UNIX Command-line Introduction Terence Parr

  2. Navigating • cd • pwd • ls • pushd/pod

  3. Display file contents • cat • more • head • tail • wc

  4. Copying, renaming • cp source target • mv source target # rename

  5. Special Directories and Files • A shortcut for you home directory, /home/username, is ~username. • ~parrt is my home: /home/parrt. • / is the root directory; there is no drive specification in UNIX like PC • ~/.bash_profile inits shell session

  6. Getting help • man command

  7. Everything is a stream • ls -l | grep Aug | wc -l • ls > t • cat t

  8. Processes • ps • top • kill

  9. Searching streams • grep

  10. For more… • http://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html

More Related