User:Amy Suo Wu/dummies, the sequel

From XPUB & Lens-Based wiki
< User:Amy Suo Wu
Revision as of 17:28, 17 November 2011 by Amy Suo Wu (talk | contribs) (Created page with "==10th Nov ==28th Oct. tile distort with imagemagick and cronjob == [http://pzwart3.wdka.hro.nl/~awu/tile_distort.jpg weather prediction] weather distortions ==21th Oct. I...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

==10th Nov

28th Oct. tile distort with imagemagick and cronjob

weather prediction weather distortions

21th Oct. I Command line!

ps ax = get a list of all processes running on the computer.

grep = search for a string

scp = secure copy
ssh = secure shell


ls = show me in folder
ls -al = all files (also hidden)
cp = copy (e.g cp ../../newmovie.mp4 . means to copy file two folders before here 
../../ is relative
* is wild card.

mv = move folder/file, or rename
mkdir = make directory
cd = change directory
rm = remove file
rm -rf = remove folder
rm -r = remove recursively. delete all contents incl folder

grep = find a string. (crawls for words in file)
grep "blah" "*"

find
man = manual

watch = timer. can do it to any file
-surveilling the file. command: e.g. watch cat poo.txt 3(e.g. txt) 
-This runs the command every 3 seconds.


./ = execute

sed = search and replace
cat = concatinate and print files (shows content of file and outputs in binary form)
echo = is echo
less = 


| = pipeline
> = output
>> = adding files.

ctrl + c


example:
ls -al ~
mv *.jpg ~/pics/
rm -rf pics
grep “bla” *
find -name “*bla*”
mkdir test
echo bla > bla.txt
echo blabla >> bla.txt
cat /var/log/auth.log |less