GREP SEARCH STRING USING BACKTICK

$ 4.2.36 7 507—> grep `whoami` algorithm.c to jeffrin@rocketmail.com $ 4.2.36 8 508—> $ 4.2.36 8 508—> whoami jeffrin $ 4.2.36 9 509—> $ 4.2.36 3 503—> grep ls ls2.wav Binary file ls2.wav matches $ 4.2.36 4 504—> grep `ls` ls2.wav grep: 12: Is a directory grep: 2008: Is a directory grep: 2010: Is a …

SEARCH AND REPLACE USING SED

commandline session $ 4.2.36 13 513—> cat math.html <html> <body> <msup> <mfenced> <mi>a</mi> <mo>+</mo> <mi>b</mi> </mfenced> <mn>2</mn> </msup> </body> </html> $ 4.2.36 14 514—> $ sed “s/html/HTML/g” math.html > math-new.html bash: $: command not found $ 4.2.36 15 515—> sed “s/html/HTML/g” math.html > math-new.html $ 4.2.36 16 516—> cat math-new.html <HTML> <body> <msup> <mfenced> <mi>a</mi> …

DOCUMENTATION

BEAUTIFULWORK is like a blog and has different methods of expression of knowledge. THERE ARE LEARNING STYLES EARLY BIRD Here you can see a GNU/Linux or related command in an overall round up which touches the possibility for the command in different levels. COCOA

UNCOMPRESS vmlinuz to vmlinux

commandline session root@debian:/boot# od -A d -t x1 vmlinuz-3.2.0-3-amd64 | grep ‘1f 8b 08 00′ 0018096 00 ff e0 1f 8b 08 00 00 00 00 00 02 03 ec fd 7b root@debian:/boot# dd if=vmlinuz bs=1 skip=18099 | zcat > vmlinux dd: opening `vmlinuz’: No such file or directory gzip: stdin: unexpected end of file …

BASH_ALIASES tinkering

commandline session $ 4.2.36 6 506—> echo $BASH_ALIASES $ 4.2.36 7 507—> echo ${BASH_ALIASES[0]} $ 4.2.36 8 508—> echo ${BASH_ALIASES[1]} $ 4.2.36 9 509—> echo ${BASH_ALIASES[2]} $ 4.2.36 10 510—> alias lst ls bash: alias: lst: not found bash: alias: ls: not found $ 4.2.36 11 511—> alias ls lst bash: alias: ls: not found …