Presentation is loading. Please wait.

Presentation is loading. Please wait.

UNIX Command-line Introduction Terence Parr. Navigating  cd  pwd  ls  pushd/pod  cd  pwd  ls  pushd/pod.

Similar presentations


Presentation on theme: "UNIX Command-line Introduction Terence Parr. Navigating  cd  pwd  ls  pushd/pod  cd  pwd  ls  pushd/pod."— Presentation transcript:

1 UNIX Command-line Introduction Terence Parr

2 Navigating  cd  pwd  ls  pushd/pod  cd  pwd  ls  pushd/pod

3 Display file contents  cat  more  head  tail  wc  cat  more  head  tail  wc

4 Copying, renaming  cp source target  mv source target # rename  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  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  ls -l | grep Aug | wc -l  ls > t  cat t

8 Processes  ps  top  kill  ps  top  kill

9 Searching streams  grep

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


Download ppt "UNIX Command-line Introduction Terence Parr. Navigating  cd  pwd  ls  pushd/pod  cd  pwd  ls  pushd/pod."

Similar presentations


Ads by Google