
approx (Mon Mar 31 21:39:42 IST 2014) real 0m0.388s user 0m0.048s sys 0m0.000s real 0m0.025s user 0m0.020s sys 0m0.004s real 0m0.029s user 0m0.020s sys 0m0.008s real 0m0.029s user 0m0.024s sys 0m0.004s real 0m0.024s user 0m0.020s sys 0m0.000s
BEAUTY AND PLAY

approx (Mon Mar 31 21:39:42 IST 2014) real 0m0.388s user 0m0.048s sys 0m0.000s real 0m0.025s user 0m0.020s sys 0m0.004s real 0m0.029s user 0m0.020s sys 0m0.008s real 0m0.029s user 0m0.024s sys 0m0.004s real 0m0.024s user 0m0.020s sys 0m0.000s
$true $true $? $echo $? 0 $false $echo $? 1 $echo $? 0 $echo $? 0 $false ; true $echo $? 0 $true ; false ; echo $? 1 $true ; false ; echo $? 1 $true ; false ; echo $? 1 $true ; false ; echo $? ; echo $? 1 0 $true ; false ; echo $? ; echo $? 1 0 $echo $? 0 $echo $@ $echo $@ $tru true truncate trust $true $echo $@ $echo @ @ $
$cat colors Asian Paints. Chapel grey -- hall-- color family : brown 8441 tree bark -- kitchen. -- color family : brown 8566 oyster grey -- both bedrooms -- color family: brown 8473 $ $cat colors Asian Paints. Chapel grey -- hall-- color family : brown 8441 tree bark -- kitchen. -- color family : brown 8566 oyster grey -- both bedrooms -- color family: brown 8473 $grep bark colors tree bark -- kitchen. -- color family : brown 8566 $grep kitchen color colors grep: color: No such file or directory colors:tree bark -- kitchen. -- color family : brown 8566 $grep "kitchen color" colors $grep "kitchen*color" colors $grep "*kitchen*color" colors $grep "*kitchen*color*" colors $grep '*kitchen*color*' colors $grep `*kitchen*color*` colors bash: *kitchen*color*: command not found ^C $grep [kitchen color] colors grep: Unmatched [ or [^ $grep [kitchen*color] colors Asian Paints. Chapel grey -- hall-- color family : brown 8441 tree bark -- kitchen. -- color family : brown 8566 oyster grey -- both bedrooms -- color family: brown 8473 $grep kitchen*color colors $grep *kitchen*color colors $grep *kitchen*color* colors $grep *kitchen*color* -f colors grep: *kitchen*color*: No such file or directory $grep *kitchen*color* colors $grep kitchen colors tree bark -- kitchen. -- color family : brown 8566 $grep -e kitchen colors tree bark -- kitchen. -- color family : brown 8566 $grep -e kitchen*color colors $grep -e *kitchen*color* colors $

Sun Mar 30 17:49:05 IST 2014 real 0m0.398s user 0m0.032s sys 0m0.008s real 0m0.019s user 0m0.016s sys 0m0.000s real 0m0.023s user 0m0.020s sys 0m0.000s real 0m0.024s user 0m0.020s sys 0m0.000s real 0m0.024s user 0m0.020s sys 0m0.000s
#!/usr/bin/ruby
=begin
bubble sort in php by detour@metalshell.com
Generate random numbers then sort them.
Ported to Ruby by Jeffrin Jose T
Licensed : GPL
=end
array_size = 100
x = 0
y = 0
z = 0
hold = 0
ran = Array.new(array_size)
while x < array_size
ran[x] = rand(1..1000)
x +=1
end
x = 0
while x < array_size
y = 0
while y < array_size
if ran[x] < ran[y]
hold = ran[x]
ran[x] = ran[y]
ran[y] = hold
end
y +=1
end
x +=1
end
=begin
while z < array_size
puts ran[z]
z +=1
end
=end
$who jeffrin tty7 2014-03-30 00:04 (:0) jeffrin pts/0 2014-03-30 00:06 (:0) $'who' jeffrin tty7 2014-03-30 00:04 (:0) jeffrin pts/0 2014-03-30 00:06 (:0) $`who` bash: jeffrin: command not found $ls -a > a.txt $ls -A > A.txt $diff a.txt A.txt 1,2d0 < . A.txt $cmp a.txt A.txt a.txt A.txt differ: byte 1, line 1 $diff -u a.txt A.txt --- a.txt 2014-03-30 00:13:17.268486656 +0530 +++ A.txt 2014-03-30 00:13:27.764559759 +0530 @@ -1,5 +1,3 @@ -. -.. 1 ahiliation.github.io a.out @@ -7,6 +5,7 @@ apache2_2.4.7-1_amd64.deb .aptitude a.txt +A.txt .bash_history .bash_logout .bash_profile $

Fri Mar 28 18:17:40 IST 2014 real 0m0.004s user 0m0.000s sys 0m0.000s real 0m0.004s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.004s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s

Mon Mar 24 20:31:48 IST 2014 real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s
/*
bubblesort ported to c by
Jeffrin Jose T <ahiliation@yahoo.co.in>
from bubble.php by
detour@metalshell.com
License : GPL.
*/
#include<stdio.h>
#include<stdlib.h>
main()
{
int array_size=400;
int ran[1000];
int x,y,hold;
for(x = 0; x < array_size; x++)
ran[x]= rand();
for(x = 0; x < array_size; x++) {
for(y = 0; y < array_size; y++) {
if(ran[x] < ran[y]) {
hold = ran[x];
ran[x] = ran[y];
ran[y] = hold;
}
}
}
/* for(x = 0; x < array_size; x++)
printf("\n %d \n",ran[x]); */
}

Sun Mar 23 21:34:32 IST 2014 real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.001s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s