$file a.out a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped $base64 a.out > ascii.txt $tail -n 5 -f ascii.txt X19lcnJub19sb2NhdGlvbkBAR0xJQkNfMi4yLjUAX19ic3Nfc3RhcnQAX19nY292X3dyaXRlX3N1 bW1hcnkAX19nY292X3JlYWRfY291bnRlcgBzdHJjcHlAQEdMSUJDXzIuMi41AF9lbmQAZmNsb3Nl QEBHTElCQ18yLjIuNQBzdGRlcnJAQEdMSUJDXzIuMi41AGFjY2Vzc0BAR0xJQkNfMi4yLjUAZndy aXRlQEBHTElCQ18yLjIuNQBfZWRhdGEAZnByaW50ZkBAR0xJQkNfMi4yLjUAZmNudGxAQEdMSUJD XzIuMi41AG9wZW5AQEdMSUJDXzIuMi41AG1rZGlyQEBHTElCQ18yLjIuNQBtYWluAF9pbml0AA== ^C $tail -n 5 -f a.out @ @ @. @> @N @^ @n That was a peice from a.out may …
Category Archives: Uncategorized
system engineering
Software engineering occurs as a consequence of a process called system engineering.Instead of concentrating solely on software, system engineering focus on a variety of elements, analyzing,designing and organizing those elements into a system that can be a product,a service or a technology for the transformation of information and control. The system engineering process is called …
microscopic organisms
Many of the microscopic organisms that swarm and multiply in our ponds are clearly visible with an ordinary school microscope. A closer look at microscopic organisms may challenge existing ideas about the differences between plants and animals and reinforce key ideas about the importance of each in ecosystems. Reference/source : http://www.practicalbiology.org/areas/introductory/cells-to- systems/microscopic-organisms/ $nospace workethics.txt Remove …
comm – compare two sorted files line by line
$comm sorta.txt sortb.txt d g comm: file 1 is not in sorted order e s x comm: file 2 is not in sorted order g s n $cat sorta.txt d g e s $cat sortb.txt x g s n $ $cat sorta.txt a b c d $cat sortb.txt a f g h $comm sorta.txt sortb.txt …
Continue reading “comm – compare two sorted files line by line”
nl – number lines of files
$cat workethics.txt Work ethics in QA Fashion $nl workethics.txt > newfile $cat new new newfile $cat newfile 1 Work 2 ethics 3 in 4 QA 5 Fashion $ nl – number lines of files Write each FILE to standard output, with line numbers added. With no FILE, or when FILE is -, read standard input. …
shuf – generate random permutations.
$cat workethics.txt Work ethics in QA Fashion $shuf workethics.txt Work Fashion in QA ethics $shuf workethics.txt ethics QA in Fashion Work $ shuf – generate random permutations. Write a random permutation of the input lines to standard output. Reference/Source : Debian Manual for “shuf”.
fold — wrapping
$fold -w 3 what is your name wha t i s y our na me $fold -b 3 fold: 3: No such file or directory $fold -b3 what is your name wha t i s y our na me $fold -s3 what is your name wha t is you r nam e $ fold – …
cut –help
$cat workethics.txt Work ethics in QA Fashion $cut -c1-5 workethics.txt Work $cut -c1 workethics.txt W $cut -f1 workethics.txt Work ethics in QA Fashion $cut -b1 workethics.txt W $cut -b2 workethics.txt o $cut -b0 workethics.txt cut: fields and positions are numbered from 1 Try `cut –help’ for more information. cut – remove sections from each line …
octal dump.
$cat workethics.txt Work ethics in QA Fashion$ $od workethics.txt 0000000 067527 065562 062440 064164 061551 020163 067151 050440 0000020 020101 060506 064163 067551 000156 0000031 $od -N 21 workethics.txt 0000000 067527 065562 062440 064164 061551 020163 067151 050440 0000020 020101 060506 000163 0000025 $od -N 22 workethics.txt 0000000 067527 065562 062440 064164 061551 020163 067151 …
cat — tac
$cat x00 A for Apple. B for Baby. $cat x01 C for Cat. D for Donkey. $tac x00 x01 B for Baby. A for Apple. D for Donkey. C for Cat. $ tac – concatenate and print files in reverse