Exam Sheet - Unix Code Chmod 750 Changes the permission...

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

View Full Document Right Arrow Icon
Unix Code Chmod 750 Changes the permission eachline is a number Dos2unix (File) Move files from Unix to Windows you get symbols .m^M will get rid of them Diff -Shows the differences between files (line by line) Env - Macros that have been defined Echo echo “ standing” echo –e ‘\tgood” Finger- who is on server Finger | sort | more Finger agolman Grep -volume */* Looks for all files that have volume in it Grep- volume */* | grep cylinder Gets volume and cylinder History - Lots of commands you had done mv- ~/106/*m -moves all files to the current directory Man = manual ; hit q to quit More - gives you the page down (scroll) Ps - Current process rm IcingCyl.m~ -removes the file rm –R *.*- removes all files Script – copies everything into type script ; %exit to finish Don’t do script plus a file name Or Script Print Sorts- by first two columns Source . alias (vi)- Create shortcut commands Environment variable Is shortcut to a long file directory Wc = word count Which- matlab Which program Who- Whose on strauss Who | sort | more Binary Conversions Base is called radix 1 0 0 1 1 1 1 2 6 2 5 2 4 2 3 2 2 2 1 2 0 =79 . 1 0 0 1 1 1 1 = .6171875 10 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 Convert Whole Numbers to Binary 192 - binary Divide by 2, keep remainder, Use answer and divide by 2 again. Collect the remainders backwards
Background image of page 1

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

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

This note was uploaded on 05/14/2008 for the course CISC 106 taught by Professor Mcgeary during the Spring '08 term at University of Delaware.

Page1 / 2

Exam Sheet - Unix Code Chmod 750 Changes the permission...

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