User:Amy Suo Wu/dummies, the sequel: Difference between revisions

From XPUB & Lens-Based wiki
(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...")
 
No edit summary
Line 1: Line 1:
==10th Nov
==10th Nov


==28th Oct. tile distort with imagemagick and cronjob ==  
==28th Oct. tile distort with imagemagick and cronjob ==  
[http://pzwart3.wdka.hro.nl/~awu/tile_distort.jpg weather prediction]
[[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][http://pzwart3.wdka.hro.nl/~awu/tile_distort.jpg '''today's weather forecast is........'''] [[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][[image:Rain.png]][[image:Rain.png]]
[[weather distortions]]
 
*[[weather distortions]]
 
 


==21th Oct. I Command line! ==
==21th Oct. I Command line! ==

Revision as of 17:48, 17 November 2011

==10th Nov


28th Oct. tile distort with imagemagick and cronjob

Rain.pngRain.pngRain.pngRain.pngRain.pngRain.pngRain.pngtoday's weather forecast is........ Rain.pngRain.pngRain.pngRain.pngRain.pngRain.png


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