CSE15LLecture514thOct2013

Each tme you log in all of these things can be done

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ount of words/lines/chars –  grep - searches for lines with a given string –  more –  sort - sorts lines alphabeTcally or numerically Examples of filtering •  •  •  •  •  ls -la | more cat file | wc man ksh | grep “history” ls -l | grep “dkl” | wc who | sort > current_users UNIX Tutorial •  hAp://www.ee.surrey.ac.uk/Teaching/Unix/ •  Google will give you many links PATH and Some Important Environment Variables •  Environment variables are a way of passing informaTon from the shell to programs when you run them. –  echo $OSTYPE •  Some other common environment variables: –  USER (your login name) –  HOME (the path name of your h...
View Full Document

This document was uploaded on 03/02/2014.

Ask a homework question - tutors are online