pinky – lightweight finger

$pinky Login Name TTY Idle When Where jeffrin Jeffrin Jose *tty7 00:28 2010-09-27 15:33 :0 jeffrin Jeffrin Jose *pts/0 2010-09-27 15:40 :0.0 jeffrin Jeffrin Jose pts/1 2010-09-27 16:00 :0.0 $pinky jeffrin Login Name TTY Idle When Where jeffrin Jeffrin Jose *tty7 00:28 2010-09-27 15:33 :0 jeffrin Jeffrin Jose *pts/0 2010-09-27 15:40 :0.0 jeffrin Jeffrin Jose …

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 …

gcov code coverage

$vi hey.c $gcc -fprofile-arcs -ftest-coverage hey.c $./a.out Hey 🙂 $gcov hey.c File ‘hey.c’ Lines executed:100.00% of 3 hey.c:creating ‘hey.c.gcov’ $cat hey.c.gcov -: 0:Source:hey.c -: 0:Graph:hey.gcno -: 0:Data:hey.gcda -: 0:Runs:1 -: 0:Programs:1 -: 1:#include 1: 2:main() -: 3:{ 1: 4:printf(” Hey 🙂 \n”); 1: 5:} $ The “.gcov” files can be examined using a normal editor. …