UNIX STUDY GUIDE

UNIX STUDY GUIDE - = replaces two… echo = prints out...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
UNIX STUDY GUIDE cd / = change directory ls = see whats in current directory |more = print out results one page at a time q = quit ls –l = shows more info about each file (restrictions) more file.ext = show content of file mv (file name) (new file name) = changes name mv (file name) (/ / /file name) = moves to given location path / / / = defines path cp (file name) (new file name) = copies file (rename and/or copy) chmod (number current, group, all users) (file name) = sets permissions/resitrictions 0 = _ _ _ 1 =_ _x 2 =_ x _ 3 = _ w x 4 = r _ _ 5 =r _ x 6 = r w _ 7 =r w x cal month year = shows calendar cat = adds file onto end of another > = write into file (file being written into is on the right), change standard output < = read from file, change standard input lp = line printer rm (file) = remove file who = who else is logged onto system ; = separate commands Wildcards * = random ? = replaces one
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ?? = replaces two… echo = prints out text & = runs program in background kill (process number) = stops program from running ctrl c or d = gets prompt jobs = shows processes wc = word count sleep (number) = system sleeps for given time echo $shell = what shell ur using ps = tells what processes are running sort = sort and/or merge text gcc – lm = links to math library date = shows date man (command) = shoes details of command pg (file) = view file page at a time mkdir (name) = makes directory pwd = print working directory bg %n = brings process n to background fg %n = brings process n to foreground /? = prints out ?, same for other symbols, or use ‘ ‘ grep (search quarry) (file(s)) = search file for word ctrl – c = interupt process ps = process status stop %n = stops background process of n kill -9 %n = last ditch effort to kill process n...
View Full Document

This note was uploaded on 04/02/2008 for the course ECE 175 taught by Professor Grubbs during the Spring '08 term at Arizona.

Page1 / 2

UNIX STUDY GUIDE - = replaces two… echo = prints out...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online